Digital Logic and Microcontrollers Group 7 Assignment Final
Digital Logic and Microcontrollers Group 7 Assignment Final
The DHT11 and DHT22 are popular humidity and temperature sensors due to their simplicity, low
cost, and effectiveness. Both sensors have integrated digital output, making them easy to use with
microcontrollers like Arduino, Raspberry Pi, and ESP32.
1. Temperature Measurement:
2. Humidity Measurement:
3. Data Communication:
Applications
1. Weather Stations: These sensors are used to collect environmental data such as
temperature and humidity for personal weather stations.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 1
3. Greenhouses: Used to maintain optimal growing conditions by tracking temperature and
humidity.
5. Health Monitoring Devices: Used in systems where maintaining a specific humidity and
temperature is crucial.
Advantages
Limitations
• DHT11: Limited range and lower accuracy make it unsuitable for high-precision
applications.
• DHT22: Slower sampling rate means it's not ideal for real-time or fast-changing
environments.
Diagram
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 2
The DS18B20 is a digital temperature sensor that provides precise measurements and is widely
used in embedded systems. Unlike analog sensors, the DS18B20 outputs temperature as a digital
value, eliminating the need for analog-to-digital conversion.
How It Works
2. 1-Wire Protocol:
o This sensor communicates using the 1-Wire protocol, which requires only a single
data line (plus ground) to transmit information. This simplifies wiring and allows
multiple sensors to share the same data line.
3. Digital Output:
Specifications
Feature Specification
Temperature Range -55°C to +125°C
Accuracy ±0.5°C (between -10°C and +85°C)
Resolution Configurable from 9 to 12 bits
Power Supply 3.0V to 5.5V
Interface 1-Wire Protocol
Applications
2. Industrial Systems: Monitors machinery to ensure they operate within safe temperature
ranges.
Advantages
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 3
• Multiple Sensors on One Bus: The unique 64-bit serial number for each sensor allows
multiple DS18B20 sensors to be connected to the same data line.
Limitations
• Slow Sampling Rate: Reading temperatures at maximum resolution can take up to 750ms.
• Limited Temperature Range: While adequate for most applications, it may not suit extreme
industrial conditions beyond its range.
Diagram
The LM35, LM335, and LM34 are all analog temperature sensors produced by Texas
Instruments, known for their simplicity, accuracy, and direct analog output proportional to
temperature. They differ mainly in their calibration and output format.
1. LM35
LM35 is a precision temperature sensor with an analog voltage output linearly proportional to
the temperature in Celsius (°C).
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 4
How It Works
• For example:
Specifications
Feature Value
Temperature Range -55°C to +150°C
Output 10 mV/°C
Accuracy ±0.5°C (at room temp)
Power Supply 4V to 30V
Applications
• HVAC systems
2. LM335
LM335 is similar to the LM35 but outputs a voltage proportional to the absolute temperature in
Kelvin (K).
How It Works
• To convert to Celsius
• For example,
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 5
Specifications
Feature Value
Temperature Range -40°C to +100°C
Output 10 mV/K
Accuracy ±1°C
Power Supply 4V to 30V
Applications
3. LM34
How It Works
• For example:
Specifications
Feature Value
Temperature Range -50°F to +300°F
Output 10 mV/°F
Accuracy ±1°F
Power Supply 4V to 30V
Applications
Common Features
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 6
2. Low Power Consumption: Ideal for battery-powered devices.
Comparison Table
2. Signal Conditioning: Amplifies and scales the output voltage based on the sensor type.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 7
D. K-Type Thermocouple with MAX6675 Amplifier
K-Type Thermocouple is a widely used temperature sensor known for its ability to measure very
high and low temperatures. It generates a voltage based on the Seebeck Effect, where two
dissimilar metals (Chromel and Alumel in the K-type) produce a voltage when exposed to a
temperature gradient.
The MAX6675 Amplifier is a dedicated integrated circuit designed to amplify and convert the
thermocouple’s analog signal into a digital output, making it easier to interface with
microcontrollers.
How It Works
K-Type Thermocouple
1. Seebeck Effect:
o The thermocouple consists of two different metals joined at one end (the hot
junction).
o A voltage proportional to the temperature difference between the hot and cold
junctions is generated.
2. Voltage Output:
o The voltage generated is very small (in the range of microvolts per degree Celsius).
o For example:
▪ At 0°C: 0 mV
▪ At 100°C: ~4.1 mV
▪ At 500°C: ~20.6 mV
MAX6675 Amplifier
1. Signal Amplification:
o The MAX6675 amplifies the thermocouple’s tiny voltage output for accurate reading.
3. Digital Conversion:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 8
o The MAX6675 converts the amplified signal into a 12-bit digital value.
Specifications
K-Type Thermocouple
Feature Specification
Temperature Range -200°C to +1350°C
Material Chromel (+) and Alumel (-)
Accuracy ±1.5°C (typical)
Voltage Output ~41 µV/°C
MAX6675 Amplifier
Feature Specification
Temperature Range 0°C to 1024°C
Resolution 0.25°C
Interface SPI
Power Supply 3.0V to 5.5V
Applications
1. Industrial Monitoring:
2. HVAC Systems:
3. Scientific Research:
4. 3D Printing:
Advantages
2. Accuracy:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 9
o The MAX6675 provides precise temperature readings with compensation.
3. Digital Output:
4. Durable:
Limitations
1. Accuracy Limitation:
• The MAX6675 is restricted to 0°C–1024°C, while the K-Type thermocouple itself can
handle a broader range.
Diagram
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 10
E. BME280 (Pressure, Temperature, and Humidity Sensor)
BME280 is a highly integrated environmental sensor that measures pressure, temperature, and
humidity in a compact package. It is widely used in IoT, weather monitoring, and environmental
sensing applications due to its low power consumption, high accuracy, and versatility.
How It Works
1. Pressure Measurement:
o Changes in pressure cause tiny deflections in the diaphragm of the sensor, altering
the resistance. This change is converted into a precise pressure value.
2. Temperature Measurement:
3. Humidity Measurement:
o The sensor detects water vapor in the air by measuring changes in the dielectric
constant of the sensor's substrate.
4. Data Communication:
o The sensor communicates via I2C or SPI, making it easy to integrate with
microcontrollers.
Specifications
Feature Specification
Pressure Range 300 hPa to 1100 hPa
Temperature Range -40°C to +85°C
Humidity Range 0% to 100% RH
Accuracy (Pressure) ±1 hPa
Accuracy (Temp) ±0.5°C
Accuracy (Humidity) ±3% RH
Interface I2C or SPI
Power Consumption 3.6 µA (in sleep mode)
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 11
Applications
2. Altimeters:
3. IoT Devices:
4. GPS Navigation:
5. Aviation:
Advantages
1. Highly Integrated:
2. Compact Size:
3. Power-Efficient:
4. Versatile Communication:
Limitations
1. Environmental Constraints:
o ±1 hPa is sufficient for most applications but may not be suitable for precision
measurements like barometry.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 12
3. Temperature Compensation Dependency:
o Requires accurate temperature data for optimal pressure and humidity readings.
Diagram
• I2C Mode:
• SPI Mode
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 13
F. BMP388 Altimeter (Pressure, Altitude, Temperature Sensor)
The BMP388 is a high-precision barometric pressure sensor designed for measuring atmospheric
pressure, altitude, and temperature. Manufactured by Bosch, it is widely used in drones, weather
stations, IoT devices, and navigation systems. With its small size, low power consumption, and high
accuracy, the BMP388 is an excellent choice for portable and embedded systems.
How It Works
1. Pressure Measurement:
o The BMP388 uses a piezo-resistive sensing element to measure air pressure. The
element detects pressure changes by measuring small deformations in its
diaphragm and converts them into a voltage.
2. Temperature Measurement:
o The sensor incorporates a built-in temperature sensor, which not only provides
ambient temperature readings but also compensates for temperature effects on
pressure measurements.
3. Altitude Calculation:
o Based on the relationship between atmospheric pressure and altitude, the BMP388
calculates the altitude above sea level
4. Communication:
o The BMP388 supports I2C and SPI interfaces, making it easy to interface with most
microcontrollers.
Specifications
Feature Specification
Pressure Range 300 hPa to 1250 hPa
Temperature Range -40°C to +85°C
Pressure Resolution 0.08 Pa
Altitude Resolution 0.2 meters
Temperature Accuracy ±0.5°C
Pressure Accuracy ±0.5 hPa
Interface I2C (up to 3.4 MHz) / SPI (up to 10 MHz)
Applications
2. Weather Stations:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 14
3. Navigation Systems:
5. Scientific Experiments:
Advantages
1. High Accuracy:
4. Dual Interfaces:
Limitations
1. Temperature Dependency:
2. Environmental Constraints:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 15
GND GND Ground.
SCL A5 (Uno), D21 (Mega) I2C clock.
SDA A4 (Uno), D20 (Mega) I2C data.
1. Weather Forecasting:
3. Smart Devices:
Diagram
G. MQ Sensors
MQ sensors are a series of gas sensors that detect the presence and concentration of various gases
in the air. These sensors are widely used in safety systems, environmental monitoring, and
industrial applications due to their affordability, ease of use, and versatility.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 16
How They Work
MQ sensors use a metal oxide semiconductor (MOS) to sense gas concentration. The operational
principle is as follows:
1. Sensing Element:
o In the presence of gas, the resistance of this layer changes depending on the gas
concentration.
2. Gas Detection:
3. Output:
Specifications
Feature Specification
Operating Voltage 5V
Output Analog and Digital (via Comparator)
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 17
Preheat Time 20–60 seconds
Response Time < 10 seconds
Operating Temperature -20°C to +50°C
Lifespan ~2 years
Applications
2. Breath Analyzers:
4. Fire Safety:
5. Industrial Monitoring:
Advantages
2. Simple Integration:
Limitations
2. Environmental Sensitivity:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 18
3. Calibration Requirement:
4. Limited Lifespan:
Connections
• Typical Threshold: Adjust the potentiometer to set the digital output threshold.
Diagram
The FC-37 and YL-83 Rain Sensors are simple and effective tools for detecting rain or water
presence. These sensors are widely used in weather monitoring systems, automatic wipers, smart
irrigation systems, and outdoor IoT projects. The sensor consists of a rain detection module and a
control module with an onboard comparator.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 19
How It Works
o The rain detection plate is a PCB with conductive traces. When water droplets fall
on it, they form a conductive path between the traces, decreasing resistance.
2. Signal Generation:
o The change in resistance modifies the voltage output, which is interpreted as rain
presence and intensity.
3. Control Module:
o The sensor control module uses an LM393 comparator to generate a digital output
(HIGH/LOW) based on a threshold set using a potentiometer.
o The module also provides an analog output for precise monitoring of water intensity.
Specifications
Feature Specification
Operating Voltage 3.3V - 5V
Output Digital (HIGH/LOW) and Analog (0-5V)
Dimensions ~30mm x 50mm
Operating Temperature -40°C to +85°C
Control Module Chip LM393 Comparator
Applications
1. Weather Stations:
3. Smart Irrigation:
4. IoT Projects:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 20
Advantages
2. Dual Outputs:
3. Adjustable Sensitivity:
Limitations
1. Corrosion:
2. Limited Precision:
3. Environmental Sensitivity:
Connections
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 21
Diagram: FC-37/YL-83 Rain Sensor
1. Home Automation:
2. Vehicle Safety:
3. Agriculture:
The YL-69 and HL-69 Soil Moisture Sensors are affordable and effective tools for monitoring soil
moisture levels. These sensors are widely used in agriculture, gardening, and environmental
monitoring projects. The sensor consists of a moisture-detection probe and a control module with
an onboard comparator.
How It Works
o The probe has two electrodes that are inserted into the soil.
o When the soil is moist, it conducts electricity better, resulting in lower resistance.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 22
o When the soil is dry, resistance increases.
2. Signal Generation:
o The control module converts the resistance into a corresponding voltage signal.
3. Control Module:
o Equipped with an LM393 comparator to provide both analog and digital outputs.
Specifications
Feature Specification
Operating Voltage 3.3V - 5V
Output Analog (0-5V) and Digital (HIGH/LOW)
Probe Dimensions ~60mm x 20mm
Control Module Chip LM393 Comparator
Operating Temperature 10°C - 50°C
Applications
2. Environmental Monitoring:
3. IoT Projects:
4. Greenhouses:
Advantages
1. Affordable:
2. Dual Outputs:
3. Easy to Integrate:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 23
o Works seamlessly with microcontrollers like Arduino or Raspberry Pi.
Limitations
1. Corrosion:
2. Environmental Sensitivity:
3. Limited Lifespan:
Connections
1. Probe:
2. Control Module:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 24
o Combine with other sensors to measure environmental conditions
3. Smart Greenhouses:
o Automate climate and soil moisture control for optimal plant health
Diagram
A PIR (Passive Infrared) Motion Sensor detects motion by sensing changes in infrared radiation in
its environment. PIR sensors are widely used in security systems, home automation, lighting
systems, and other applications where motion detection is required.
How It Works
1. Infrared Radiation:
o When motion occurs, a change in IR levels between the two slots generates a signal.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 25
3. Signal Processing:
o The output signal is amplified and filtered, producing a HIGH (motion detected) or
LOW (no motion) digital output.
Specifications
Feature Specification
Operating Voltage 4.5V – 20V (commonly 5V)
Output Digital (HIGH/LOW)
Detection Range ~5m – 12m (depending on model)
Detection Angle ~110° to 120°
Delay Time Adjustable (0.3s to 5min, typical)
Trigger Modes Single Trigger / Continuous Trigger
1. Pyroelectric Sensor:
2. Fresnel Lens:
4. Potentiometers:
Applications
1. Security Systems:
2. Automatic Lighting:
3. Energy Conservation:
4. Home Automation:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 26
• Trigger smart devices when motion is detected.
5. Robotics:
Advantages
Limitations
1. Environmental Sensitivity:
2. No Object Identification:
Connections
Trigger Modes
o The sensor sends a HIGH signal once when motion is detected, then LOW after the
delay time.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 27
o Ideal for simple on/off actions.
o Useful for continuous actions like keeping a light on while someone is in a room.
Adjustments
1. Sensitivity:
2. Delay Time:
o Set the time the output stays HIGH after detecting motion.
1. Motion-Activated Lights:
3. Energy-Saving Systems:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 28
B. HC-SR04 Ultrasonic Sensor
The HC-SR04 Ultrasonic Sensor is a widely used sensor for measuring distance. It employs
ultrasonic waves to calculate the distance to an object by measuring the time taken for a sound
wave to travel to and from the object. This sensor is commonly used in robotics, obstacle
detection, automation, and IoT projects.
How It Works
1. Ultrasonic Waves:
o The sensor emits high-frequency sound waves (40 kHz) through its transmitter.
2. Reflection:
3. Echo Detection:
o The sensor's receiver detects the returning wave and calculates the time taken for
the round trip.
4. Distance Calculation:
Specifications
Feature Specification
Operating Voltage 5V
Operating Current <15mA
Operating Frequency 40 kHz
Measurement Range 2 cm – 400 cm
Accuracy ±3 mm
Trigger Pulse Width 10 µs
Output Digital pulse proportional to distance
Operating Temperature -15°C to +70°C
Applications
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 29
1. Robotics:
2. Automation Systems:
3. IoT Projects:
4. Parking Assistance:
5. Security Systems:
Advantages
1. Non-Contact Measurement:
2. Affordable:
3. Wide Range:
4. Simple Interfacing:
Limitations
1. Environmental Sensitivity:
2. Hard Surfaces:
3. Dead Zone:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 30
Interfacing HC-SR04 with Arduino
Connections
1. Trigger Pin:
2. Echo Pin:
3. Calculation:
1. Temperature:
o The speed of sound changes with temperature. For more accurate measurements,
compensate for ambient temperature
2. Surface Type:
3. Positioning:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 31
3. Parking Sensors:
Diagram
The MPU6050 is a 6-axis IMU (Inertial Measurement Unit) sensor that combines a 3-axis
accelerometer and a 3-axis gyroscope in a single module. It is widely used in motion-tracking
applications, including robotics, drones, gaming devices, and wearable technology. The sensor can
measure acceleration, angular velocity, and with proper processing, calculate orientation.
How It Works
1. Accelerometer:
2. Gyroscope:
o Measures angular velocity (rate of rotation) in degrees per second (°/s) along three
axes: X, Y, and Z.
o Onboard processor for motion fusion algorithms, reducing the need for external
computation.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 32
4. I²C Communication:
o Data is transmitted via the I²C protocol for easy integration with microcontrollers.
Specifications
Feature Specification
Operating Voltage 3.3V – 5V
Communication Protocol I²C (default address: 0x68)
Accelerometer Range ±2g, ±4g, ±8g, ±16g
Gyroscope Range ±250, ±500, ±1000, ±2000 °/s
Power Consumption ~3.6mA
Sampling Rate Up to 1 kHz
Operating Temperature -40°C to +85°C
Applications
1. Drones:
2. Robotics:
3. Wearables:
4. Gaming Devices:
5. Gesture Recognition:
Advantages
2. High Sensitivity:
3. Integrated DMP:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 33
o Offloads computational work from the microcontroller.
Limitations
1. Temperature Drift:
2. Noise Sensitivity:
3. Complex Calibration:
Connections
1. Self-Balancing Robot:
2. Drone Stabilization:
3. Gesture-Controlled Devices:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 34
Diagram
The DS1307 and DS3231 are popular Real Time Clock (RTC) modules that keep track of time and
date even when the main system is powered off. They use a backup battery to retain data and are
widely used in applications requiring accurate and consistent timekeeping.
Core Features
1. Timekeeping:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 35
o Tracks seconds, minutes, hours, day, date, month, and year.
3. Communication:
Applications
1. Data Logging:
2. Automation:
3. Clocks:
4. Reminder Systems:
5. Wearables:
Specifications
DS1307
Feature Specification
Operating Voltage 4.5V–5.5V
Time Format 12-hour/24-hour
Battery Backup Yes (CR2032 coin cell)
I²C Address 0x68
Power Consumption ~500 nA during battery backup
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 36
DS3231
Feature Specification
Operating Voltage 2.3V–5.5V
Temperature Accuracy ±3°C (typical)
Alarm Capability Yes, two programmable alarms
Temperature Sensor Integrated
I²C Address 0x68
Advantages
1. DS1307:
2. DS3231:
Limitations
1. DS1307:
2. DS3231:
Connections
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 37
1. Smart Irrigation:
2. Data Logger:
3. Alarms:
4. Event-Based Systems:
Diagrams
A load cell is a transducer that converts force (or weight) into an electrical signal. The signal is
typically very small, requiring amplification and conversion into a digital format. This is achieved
using the HX711 amplifier module, which is a precise 24-bit ADC (Analog-to-Digital Converter)
designed for weight measurement.
The combination of a load cell and HX711 is widely used in electronic weighing scales, industrial
force measurement systems, and IoT projects requiring weight or pressure sensing.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 38
How It Works
1. Load Cell:
o The resistance change causes a small voltage difference, which is the raw signal.
2. HX711 Amplifier:
o Converts the amplified analog signal into a digital signal using a 24-bit ADC.
Specifications
Load Cell:
Feature Specification
Material Aluminum or Steel
Rated Load Varies (e.g., 5kg, 10kg, 50kg, etc.)
Sensitivity ~2mV/V
Excitation Voltage 5V to 10V
Output Resistance 350Ω
HX711 Amplifier
Feature Specification
Operating Voltage 2.6V–5.5V
ADC Resolution 24-bit
Input Channels 2 (A and B)
Gain Options 32, 64, 128
Interface Serial (Clock and Data)
Applications
1. Weighing Scales:
2. Force Measurement:
3. IoT Applications:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 39
4. Process Automation:
Advantages
1. High Accuracy:
2. Compact Design:
Limitations
1. Environmental Factors:
2. Sensitivity to Noise:
o Shielded cables and proper grounding are required for reliable readings.
3. Calibration Requirement:
Connections
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 40
Diagram
1. Smart Scale:
2. Robotics:
3. Quality Control:
The FPM10A is a compact fingerprint sensor module capable of capturing, storing, and matching
fingerprints. It is widely used in security systems like door locks, safes, and attendance systems.
The module integrates a fingerprint scanner and an onboard DSP (Digital Signal Processor) to
process captured images.
How It Works
1. Image Capture:
o The sensor scans the ridges and valleys of a finger to create a high-resolution image.
2. Feature Extraction:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 41
o The module processes the image to extract unique features called minutiae.
3. Storage:
4. Matching:
o During verification, the module compares the newly scanned fingerprint with stored
templates to determine a match.
Features
1. Onboard Processing:
o The FPM10A handles image processing, feature extraction, and template matching
internally, reducing the workload on the microcontroller.
2. Storage Capacity:
3. Communication:
o Supports UART (TX/RX) for interfacing with microcontrollers like Arduino, ESP32, or
Raspberry Pi.
Specifications
Feature Specification
Operating Voltage 3.6V–6V
Current Consumption <100mA
Interface UART (TTL Logic)
Image Resolution 500 DPI
Storage Capacity 1000 fingerprints
Verification Speed <1 second
Module Size 56mm x 20mm x 21.5mm
Applications
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 42
2. Attendance Systems:
3. IoT Security:
4. Embedded Devices:
Advantages
1. High Security:
3. Ease of Integration:
Limitations
1. Environmental Sensitivity:
2. Limited Memory:
Connections
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 43
Applications in Real-Life Projects
1. Smart Lock:
3. Personalized Gadgets:
IV. DISPLAYS
A. OLED Display
An OLED (Organic Light Emitting Diode) display is a type of flat-panel display that uses organic
compounds to emit light when electricity is applied. Unlike traditional LCDs (Liquid Crystal
Displays), OLEDs do not require a backlight, as each pixel emits its own light. This results in better
contrast, thinner panels, and lower power consumption. OLEDs are used in a wide range of
applications, including smartphones, TVs, wearables, and embedded systems.
How It Works
1. Organic Materials:
o The display is composed of organic compounds that emit light when current passes
through them.
2. Pixels:
o Each pixel in an OLED display consists of a combination of red, green, and blue
OLED materials, allowing for full-color display capabilities.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 44
3. Electrodes:
o OLED displays use two electrodes: one is transparent (for the top layer), and the
other is opaque (for the bottom layer), facilitating current flow through the organic
materials.
4. Emitting Light:
o When voltage is applied, the organic materials emit light directly, allowing each pixel
to glow without the need for an external backlight.
o More complex and used in high-definition displays like smartphones, TVs, and large
screens. AMOLED uses thin-film transistors (TFTs) to control each pixel individually,
allowing for faster refresh rates and better image quality.
Feature Specification
Display Size 0.96 inches
Resolution 128x64 pixels
Color Depth Monochrome (Black and White)
Communication I²C (or SPI, depending on module)
Operating Voltage 3.3V–5V
Power Consumption Low power, typically <20mA
Dimensions 27.5mm x 27.5mm x 4mm
Applications
1. Wearables:
o OLEDs are commonly used in fitness trackers and smartwatches due to their low
power consumption and compact size.
2. Embedded Systems:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 45
o Used in Arduino-based projects, IoT devices, and robotics to display sensor data,
status, or feedback to users.
o In smartphones, TVs, and laptops for their vibrant colors, deep blacks, and energy-
efficient properties.
4. Automotive:
o OLEDs are becoming popular for dashboards, infotainment systems, and heads-up
displays in vehicles.
o OLEDs can achieve true blacks since pixels turn off completely, offering high
contrast ratios compared to LCDs.
o Since OLED pixels emit light only when required, they consume less power,
especially when displaying darker images.
o OLED displays can be made thinner and more flexible than LCDs, allowing for
curved or foldable screens.
o OLED displays have wider viewing angles than traditional LCDs, with no color
distortion or brightness loss.
1. Cost:
o OLED technology is more expensive than traditional LCDs, which can increase the
overall cost of the device.
2. Burn-in Issue:
o Prolonged display of static images may cause pixel burn-in, leading to permanent
ghost images on the screen. This is less of an issue in smaller, low-power
applications like embedded systems, but it’s more of a concern in larger displays.
3. Lifespan:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 46
o OLED displays, particularly blue OLEDs, tend to have a shorter lifespan compared
to LCDs.
1. Weather Station:
2. Sensor Display:
3. Clock:
o Build a simple digital clock that shows current time using an RTC (Real-Time Clock)
module and display it on the OLED.
4. Smart Devices:
Diagram
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 47
B. 8x8 Dot Matrix
An 8x8 Dot Matrix Display is a type of visual output device that consists of 64 individual LEDs
arranged in a grid of 8 rows and 8 columns. These LEDs can be individually controlled, allowing the
display of various patterns, characters, and even basic graphics. Dot matrix displays are commonly
used in embedded systems, clocks, scrolling text displays, and various other applications where a
visual output is needed.
How It Works
1. Grid Layout:
• The display consists of 64 LEDs arranged in an 8x8 matrix, which can represent text,
simple images, or animations by illuminating specific LEDs.
• Each LED is controlled via a row and column, and the combination of active row and
column determines which LED lights up.
2. Multiplexing:
• Since all 64 LEDs cannot be powered at once (due to power limitations), the display
uses a technique called multiplexing.
3. LED Drivers:
• To control the individual LEDs, driver ICs (such as the MAX7219) are used. These
chips handle the multiplexing and simplify the control of the matrix.
4. Controlling Pixels:
Feature Specification
Matrix Size 8x8 (64 LEDs)
Voltage 5V (Typically)
Interface Common interfaces: SPI, I2C
LED Color Typically Red, Green, or RGB
Control IC MAX7219 (for SPI-based control)
Current Consumption ~100mA for full brightness
Dimensions 32mm x 32mm x 6mm (depends on model)
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 48
Applications
1. Scrolling Text:
3. Games:
4. Simple Graphics:
• Show basic graphics, logos, or symbols using the individual dots in the matrix.
5. Indicators:
• Use as status indicators for devices or machines (e.g., battery level, temperature,
etc.).
1. Flexible Display:
• Capable of displaying text, symbols, and basic graphics, offering flexibility in visual
output.
2. Compact Size:
• The 8x8 matrix is relatively small and compact, making it suitable for embedded
systems and small projects.
3. Low Cost:
• Dot matrix displays are inexpensive compared to larger, more complex displays like
OLED or TFT.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 49
Limitations
1. Low Resolution:
• With only 64 LEDs, the display resolution is low, limiting the complexity of the
content that can be shown.
2. No Color Display:
• Typically limited to a single color (red, green, or RGB), which may not be suitable for
applications requiring full-color images.
3. Limited Control:
• Without the use of multiplexing or driver ICs, controlling the entire matrix can be
complex and may require a lot of wiring and pins.
One of the most common ways to control a 8x8 dot matrix is by using a MAX7219 driver IC, which
simplifies the control of the LEDs by reducing the number of connections required. The MAX7219
uses SPI to communicate with the Arduino, making it easy to control multiple matrices.
1. Message Board:
• Use multiple 8x8 matrices to create a scrolling text display, useful for public
information boards.
2. Digital Clocks:
• Display time using the 8x8 matrix, with each digit represented by a block of LEDs.
3. Home Automation:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 50
• Use the matrix to show the status of various home automation devices, like lights,
temperature, or system statuses.
4. Games:
• Create basic games like Pong or Snake by controlling the LED matrix as a pixel grid.
Diagram
A Liquid Crystal Display (LCD) is a type of flat-panel display technology that uses liquid crystals to
produce visible images. These liquid crystals do not emit light by themselves but instead
manipulate light passing through them to create images. LCDs are widely used in various electronic
devices like calculators, clocks, TVs, computer monitors, and embedded systems due to their low
power consumption, thin form factor, and versatility.
How It Works
• At the core of an LCD is a layer of liquid crystals, which are molecules that align
differently when an electric current is applied. These molecules control the passage
of light through the display.
2. Backlight:
• LCDs require an external light source (backlight) since the liquid crystals do not emit
light. The backlight is typically provided by LEDs placed behind or along the edges of
the display.
3. Polarizers:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 51
• LCDs use two polarizing filters (one at the front and one at the back) to control the
direction of light passing through the display. The liquid crystals align themselves to
either block or allow light to pass depending on the applied voltage.
4. Display Segments:
1. Character LCDs:
2. Graphical LCDs:
• Graphical displays have a matrix of pixels (e.g., 128x64, 240x128) and can display a
wider variety of images, text, and custom graphics.
• Used in devices requiring more complex outputs, like handheld gaming devices,
digital cameras, and advanced embedded systems.
Feature Specification
Display Size 16 characters per line x 2 lines
Resolution 16x2 (32 characters in total)
Interface Parallel (or I²C via adapter)
Operating Voltage 5V
Backlight Color Typically Green or Blue
Dimensions 80mm x 36mm x 12mm
Current Consumption ~20mA (depends on backlight setting)
Control IC HD44780 or compatible
Applications
1. Embedded Systems:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 52
o LCDs are frequently used to display information like sensor readings, system
statuses, and user interfaces in embedded systems.
2. Consumer Electronics:
3. Data Displays:
o Used in applications that require continuous display of data, such as digital meters,
stock tickers, or weather stations.
4. Industrial Equipment:
o LCDs are used in machines, power meters, and other industrial equipment for
displaying operational data, error messages, and system statuses.
o LCDs consume less power compared to other displays like OLED or CRT, especially
in character displays, where only a small part of the screen needs to be lit.
o The flat nature of LCDs makes them ideal for portable and space-constrained
applications.
3. High Visibility:
o LCDs can be easily viewed in bright conditions with a proper backlight, making them
ideal for outdoor and daylight use.
4. Cost-Effective:
o LCD technology is widely used and inexpensive, making it affordable for a wide
range of applications.
Limitations
o LCDs generally have a limited viewing angle, and the display may appear washed
out when viewed from extreme angles.
2. Requires Backlight:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 53
o Unlike OLED, which emits light on its own, an LCD requires a backlight, which
increases its power consumption, particularly in large screens.
o LCDs typically have a lower contrast ratio compared to OLEDs, especially in bright
scenes or dark rooms, due to their reliance on backlighting.
o LCDs generally have slower response times than OLED or LED displays, which may
be noticeable in fast-moving visuals.
1. Digital Thermometer
o Use a temperature sensor (like the DHT11 or LM35) to display temperature readings
on the LCD.
2. Clock:
o Display the current time using a Real-Time Clock (RTC) module connected to an
LCD.
o Show system statuses like light, temperature, humidity, and power usage on an LCD
display in a home automation project.
4. Sensor Display
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 54
o Display data from sensors (e.g., humidity, distance, or pressure) in real-time on an
LCD for monitoring.
Diagram
V. COMMUNICATION MODULES
The MFRC522 is a popular RFID (Radio Frequency Identification) reader and writer module that
operates at a frequency of 13.56 MHz. It is commonly used in embedded systems to read and write
RFID tags, allowing for applications like access control, inventory management, and contactless
payment systems. The MFRC522 is cost-effective, easily interfaced with microcontrollers (like
Arduino), and widely available in the maker and DIY electronics community.
How It Works
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 55
o The MFRC522 communicates using RFID technology that operates on the 13.56
MHz frequency band. RFID tags contain a chip and an antenna, and when the tag is
brought near the RFID reader, it communicates wirelessly with the reader.
2. Antenna:
o The MFRC522 module uses an antenna to transmit and receive signals. When an
RFID tag comes into range, the antenna generates a magnetic field that powers the
tag and facilitates communication between the tag and the reader.
3. Modulation:
o The MFRC522 uses Amplitude Shift Keying (ASK) modulation to communicate with
RFID tags. The RFID tag responds by changing the magnetic field, which is detected
by the reader's antenna.
4. Data Transfer:
o The reader sends and receives data in digital form, allowing it to read unique IDs
from RFID tags and, depending on the application, store or process this data.
Feature Specification
Operating Frequency 13.56 MHz
Interface SPI (Standard), I2C (with additional module)
Operating Voltage 3.3V to 5V
Current Consumption 13.5mA (idle), up to 30mA (active)
Range Up to 5 cm (depends on tag and environment)
Protocol ISO/IEC 14443 A/MIFARE
Data Storage Unique ID for each tag
Control IC MFRC522
Applications
o RFID is commonly used in access control systems, where RFID tags (in the form of
cards, key fobs, or wristbands) are used to grant access to secure areas.
2. Inventory Management:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 56
o RFID tags can be placed on items, and the MFRC522 can be used to track inventory
by reading the tags when items are scanned.
3. Cashless Payments:
o RFID readers are used in contactless payment systems, allowing users to pay by
simply tapping their RFID-enabled card or device.
4. Attendance Systems:
o RFID is often used in schools and workplaces for attendance systems where an
RFID tag (student ID or employee card) is scanned to record presence.
5. Library Systems:
o RFID tags are placed in books, and the MFRC522 is used to track books during
check-out and return.
1. Low Cost:
o The MFRC522 module is inexpensive and widely available, making it accessible for
hobbyists, students, and developers.
2. Ease of Use:
o The MFRC522 is easy to interface with microcontrollers like Arduino, with available
libraries and sample code.
o The module uses SPI for fast and efficient data transfer, ensuring quick reading and
processing of RFID data.
4. Compact Size:
o The module is small and lightweight, making it suitable for use in embedded
systems and portable applications.
Limitations
Short Range:
• The typical operating range is about 5 cm or less, which limits its use in applications
requiring a longer read distance.
• The MFRC522 is designed to work with ISO 14443-A RFID tags and certain MIFARE tags,
limiting compatibility with other RFID standards.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 57
Power Consumption:
• Although the MFRC522 is low-power, it still requires a constant power supply to function
and may not be ideal for battery-powered projects unless carefully managed.
The MFRC522 module can easily be interfaced with an Arduino using SPI communication. The
following shows the wiring and a simple example for reading an RFID tag:
o Use the MFRC522 to create a simple door-lock system that only unlocks when the
correct RFID card is scanned.
o Develop a library system where RFID tags on books are scanned for check-in and
check-out, logging user information and book status.
o Implement systems where user preferences are stored and retrieved based on the
scanned RFID tag, like smart home settings.
4. Inventory Tracking:
o Use RFID tags for inventory management, allowing a system to automatically track
products by scanning the tags.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 58
Diagram
The GSM module is a device that allows microcontrollers (like Arduino or Raspberry Pi) to
communicate over a cellular network, enabling them to send and receive SMS messages, make and
receive voice calls, and even connect to the internet using mobile data. One of the most commonly
used GSM modules is the SIM900 or SIM800, which provides a low-cost way to integrate cellular
communication into various projects.
GSM modules are widely used in projects that require remote communication, such as home
automation systems, vehicle tracking, remote weather stations, and security systems.
How It Works
• The GSM module communicates with a mobile network (cellular tower) via SIM
cards. Once the module is powered and a valid SIM card is inserted, it can access
mobile networks to send SMS messages, make calls, or access mobile data
services.
2. Serial Communication:
3. AT Commands:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 59
• The GSM module uses AT commands (Attention commands) to interface with the
microcontroller. These commands are used to control the module’s functions, such
as sending SMS, checking signal strength, and dialing a number.
4. Power Requirements:
• GSM modules require a power supply of 3.4V to 4.4V, depending on the module. A
separate power supply is often used to avoid power fluctuations from the
microcontroller.
Feature Specification
Operating Voltage 3.4V to 4.4V
Communication Interface UART (Serial), sometimes USB or SPI
Frequency Band 850 MHz, 900 MHz, 1800 MHz, 1900 MHz (Quad-band)
Data Communication GPRS (General Packet Radio Service)
SMS Send and receive SMS (Text messages)
Call Functionality Make and receive voice calls
Power Consumption ~60-250mA (depends on activity, e.g., sending SMS)
Standby Current ~1-2mA
Control Interface AT Commands (via Serial Communication)
Size ~30mm x 25mm
Applications
1. Remote Communication:
o SMS Alerts: The GSM module is used in systems like alarm systems to send SMS
alerts when triggered. It can also be used in weather stations to send periodic
updates.
2. Home Automation:
o GSM modules are used in GPS tracking systems for vehicles. The GSM module
sends real-time location data via SMS or GPRS to a central server or a mobile phone.
4. Security Systems:
o GSM modules are used in security systems where, in case of intrusion, the system
sends an SMS alert or makes a phone call to a predefined number to notify the user.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 60
5. Health Monitoring:
o In remote health monitoring systems, the GSM module sends patient data (like
heart rate, temperature) via SMS to healthcare providers for quick monitoring and
action.
1. Global Connectivity:
o GSM is widely available across the world, making it a reliable choice for global
communication projects, especially in remote or rural areas where Wi-Fi may not be
available.
2. Cost-Effective:
o GSM modules are generally inexpensive, and using a simple prepaid SIM card in a
GSM module makes it a low-cost communication solution.
o The ability to send SMS, make calls, and even use mobile data enables a wide
variety of uses, from simple alerts to complex remote communication systems.
1. Coverage Dependence:
o The data transfer rate for GSM (especially GPRS) is relatively slow compared to other
technologies like Wi-Fi or LTE.
3. Power Consumption:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 61
4. SIM Card Management:
o GSM modules require a SIM card, which introduces additional costs, and some
modules might have restrictions on the types of SIM cards they can work with.
The GSM module can be interfaced with an Arduino using Serial Communication (UART). Here’s
how to connect and use the GSM module to send an SMS:
1. Security System:
o GSM can be used in a home security system to send SMS alerts in case of intrusion,
motion detection, or fire alarm activation.
2. Weather Monitoring:
o A GSM module in a weather station can send SMS alerts when the temperature,
humidity, or other parameters reach critical levels.
3. Automated Alerts:
o Use GSM to create an automated alert system for medical, industrial, or agricultural
purposes. For example, an SMS notification when a machine fails or when crops
require attention.
4. Remote Control:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 62
Diagram
C. Keypad Module
The keypad module is a commonly used input device that allows users to provide numerical or
textual input to an embedded system. It typically consists of an array of buttons arranged in rows
and columns, with each button representing a unique key press. The most common keypad
configurations are 3x4 (3 rows and 4 columns) and 4x4 (4 rows and 4 columns), but they can vary
based on the design.
Keypads are used in various applications, including security systems, calculators, and any project
requiring user input, such as PIN entry systems or menu navigation interfaces.
How It Works
1. Matrix Configuration:
o The keypad operates as a matrix where each key is located at the intersection of a
row and a column. When a key is pressed, it connects one specific row and one
column, creating a unique combination that can be detected by the microcontroller.
o A typical keypad has multiple rows and columns. The microcontroller scans the
rows and columns to detect which key is pressed.
▪ Each row is set as an output pin, and each column is set as an input pin.
▪ The microcontroller sends a signal through each row, one by one, and
checks the state of the columns to identify the pressed key.
3. Keypad Encoding:
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 63
o Each key press generates a unique combination of row and column signals, which is
then converted into a corresponding value (like a number or character).
o For example, in a 4x4 keypad, pressing the first key in the first row and first column
(key "1") will produce a specific signal corresponding to that key.
4. Connection to Microcontroller:
o The keypad is usually connected to a microcontroller through digital I/O pins, where
the microcontroller continuously checks the state of each key, scanning the rows
and columns to detect key presses.
Feature Specification
Number of Keys 3x4 (12 keys), 4x4 (16 keys)
Connection Interface Digital I/O pins (for row and column scanning)
Operating Voltage 3.3V to 5V
Current Consumption Low current consumption
Keypad Type Membrane or mechanical switch-based
Keypad Material Typically rubber or conductive membrane
Size Varies, typically around 5x5 cm for 4x4
Applications
o Keypads are widely used in security systems where users need to enter a PIN code
to gain access to restricted areas or devices.
2. ATM Machines:
o ATM machines use keypads for users to enter their PIN codes and perform banking
transactions.
o In home automation, keypads are used to control devices such as lights, fans, and
alarms, based on user input.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 64
o Keypads are used in industrial machinery for inputting values like parameters or
settings.
1. Compact Design:
o Keypads are compact and take up minimal space, making them ideal for
applications where space is a concern.
o Keypad modules typically consume very little power, making them suitable for
battery-powered applications.
3. Easy Integration:
4. Durability:
o Membrane keypads are durable and can withstand frequent use, especially in
industrial and security applications.
5. Versatility:
1. Limited Input:
o While keypads are useful for simple input, they are not ideal for more complex input
systems, such as typing long text or entering detailed information.
2. No Feedback:
o Keypads typically don't provide feedback to the user (e.g., visual or auditory), so
additional components like LEDs or displays are often needed.
o Mechanical keypads may wear out over time, especially if they are frequently
pressed, leading to reduced reliability.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 65
Keypad modules are typically interfaced with microcontrollers using digital I/O pins for row and
column scanning. For a 4x4 keypad, 8 pins (4 for rows and 4 for columns) are required. There are
also libraries available for Arduino (like Keypad library) to simplify the process of detecting key
presses.
Diagram
The GPS module is a device that receives signals from satellites in Earth's orbit and calculates its
position (latitude, longitude, altitude) and time. GPS modules are widely used in navigation
systems, location tracking, and various outdoor applications. They typically include an integrated
receiver capable of detecting signals from the GPS satellite network.
GPS modules are used in a wide variety of applications, from personal navigation (in vehicles or on
foot) to more complex use cases like tracking (e.g., vehicle tracking, drone navigation) and
geographic information systems (GIS).
How It Works
1. Satellite Communication:
o The GPS module communicates with multiple GPS satellites, each broadcasting its
position and time. By receiving signals from at least 4 satellites, the GPS module
can triangulate its position.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 66
2. Triangulation Process:
o The GPS module uses the principle of triangulation to calculate the position. Each
satellite sends a signal that includes the satellite’s position and the exact time the
signal was sent.
o The module calculates the time it took for the signal to reach the receiver and
multiplies it by the speed of light to determine the distance to each satellite.
o Using the distances from multiple satellites, the GPS module can calculate its
latitude, longitude, and altitude.
o GPS modules typically output data in the NMEA (National Marine Electronics
Association) format. The NMEA format provides location data, including latitude,
longitude, altitude, time, and other relevant information.
4. Accuracy:
o The accuracy of GPS modules depends on various factors such as signal strength,
satellite coverage, and the environment (e.g., urban areas with tall buildings may
cause signal interference). Typically, GPS can provide accuracy within 5-10 meters
under good conditions, but more advanced systems (like differential GPS) can
achieve sub-meter accuracy.
Feature Specification
Operating Voltage 3.3V to 5V
Communication Interface UART (Serial), I2C, or SPI
Signal Acquisition Time Typically 30-60 seconds (Cold Start)
Accuracy 5-10 meters (under ideal conditions)
Update Rate 1 Hz (1 update per second) or higher in some models
Antenna Built-in or external antenna
Satellite Channels 20-60 channels (depends on the model)
Size Varies; typically around 3-5 cm for small modules
Power Consumption ~20mA to 50mA depending on activity
Applications
1. Navigation Systems:
o GPS modules are extensively used in automotive navigation systems, portable GPS
devices, and smartphone navigation apps to provide real-time directions and route
planning.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 67
2. Location Tracking:
o Used in vehicle tracking, asset tracking, and personal tracking. GPS data can be
sent over the internet to track locations in real-time.
3. Geotagging:
o GPS modules are used in cameras and smartphones for geotagging, which involves
embedding location data into photos and videos.
o GPS is an essential tool for creating maps, conducting land surveys, and generating
GIS data.
5. Drones:
o Drones use GPS modules for autonomous navigation, waypoints, and geo-fencing
(limiting the drone's flight area).
6. Agricultural Applications:
7. Emergency Services:
1. Global Coverage:
o GPS works anywhere in the world, as long as there is a clear line of sight to the sky.
There is no dependency on local networks, Wi-Fi, or cellular coverage.
2. High Precision:
o GPS modules provide accurate positioning, typically within 5 to 10 meters, and are
essential for many outdoor navigation applications.
o GPS modules are designed to operate on low power, making them suitable for
battery-operated devices and remote sensing systems.
4. Easy Integration:
o GPS modules are easy to integrate with microcontrollers and other embedded
systems via UART, I2C, or SPI, and are supported by a variety of libraries in platforms
like Arduino and Raspberry Pi.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 68
Limitations of GPS Modules
1. Signal Blockage:
o GPS modules require an unobstructed view of the sky to receive signals from
satellites. In environments with poor visibility, like underground or inside buildings,
GPS performance is severely degraded.
o When the GPS module is first powered on or loses its signal (e.g., after a restart), it
can take longer to acquire a position fix. This is known as cold start (can take from
30 seconds to several minutes). Once it acquires a fix, the GPS module can provide
position updates more quickly (warm start or hot start).
4. Accuracy Variations:
o In urban environments or areas with signal interference, GPS accuracy can degrade
due to multipath effects (signal reflections off buildings) and poor satellite
geometry.
A GPS module can be easily interfaced with an Arduino using serial communication (UART). Here's
how it generally works:
• The data sent from the GPS module is in NMEA format. To parse and display the GPS data
(latitude, longitude, altitude, speed), you can use libraries like TinyGPS++ or Adafruit GPS
in Arduino.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 69
Automotive Navigation:
• Used in car GPS systems to provide turn-by-turn directions and real-time tracking of the
vehicle’s location.
• Used in wearable devices to track the location of individuals, such as children or pets, for
safety purposes.
Drone Navigation:
• Drones use GPS for autonomous navigation, creating flight paths, and returning to home
locations.
• GPS is used in remote sensing systems for geographical data collection, such as weather
stations, environmental monitoring, and wildlife tracking.
Diagram
A. Buzzer Module
A buzzer is an audio signaling device that produces sound in response to electrical input. It is
commonly used in electronic projects to provide feedback, alerts, or notifications. Buzzers are
available in two types: active buzzers and passive buzzers, each having distinct characteristics.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 70
Types of Buzzers
1. Active Buzzer:
o An active buzzer has a built-in oscillator circuit, which allows it to produce sound
as soon as power is applied. It requires only a DC voltage to operate and can
generate a sound without requiring an external signal. It often emits a continuous
tone when powered.
2. Passive Buzzer:
How It Works
1. Active Buzzer:
2. Passive Buzzer:
o A passive buzzer can produce different tones by adjusting the frequency of the
driving signal. For instance, a higher frequency will generate a higher-pitched sound,
while a lower frequency will produce a deeper sound. This can be useful for
generating melodies or alerts with varying tones.
Feature Specification
Type Active or Passive
Operating Voltage 3V to 5V (typical)
Frequency Range (Active) Fixed frequency (usually 2-5 kHz)
Frequency Range (Passive) Can vary based on the input signal
Current Consumption ~10-30 mA for active, ~20-40 mA for passive
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 71
Sound Level 60-100 dB depending on size and type
Size Typically, between 10mm and 30mm diameter
Connection Usually connected through GPIO pins
Response Time Instantaneous (depends on type)
Applications
o Buzzers are often used in security systems, fire alarms, and smoke detectors to
provide an auditory warning. They are also used in systems to alert users of specific
conditions, such as low battery or errors.
3. Interactive Systems
o Buzzers are commonly used in keypad systems, quiz boards, and game shows to
provide audio feedback when a correct or incorrect answer is given.
4. Control Feedback
5. Automated Systems
1. Simple Operation:
o Buzzers are easy to integrate into projects and typically require minimal control
signals, especially active buzzers, which only need power to function.
o Buzzers, especially active ones, consume very little power, making them ideal for
battery-operated devices.
3. Cost-Effective
o Buzzers are relatively inexpensive components, making them ideal for a wide variety
of applications.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 72
4. Audible Feedback
o Buzzers provide clear, audible feedback that can be heard in noisy environments,
making them suitable for alarms or notifications.
o Buzzers typically produce simple tones or beeps. While this is sufficient for alerts or
notifications, they are not suitable for high-quality sound or music.
2. Audible Range
o The sound from a buzzer may not carry well over long distances, especially in
environments with a lot of ambient noise or for low-power buzzers.
o Active buzzers usually emit a fixed tone and cannot produce a wide range of sounds.
For more complex audio outputs, a passive buzzer or other audio devices are
required.
• Active Buzzer
o Connect one pin of the active buzzer to a digital output pin on the Arduino (e.g., Pin
9).
• Passive Buzzer
o Connect one pin of the passive buzzer to a PWM-capable digital output pin (e.g., Pin
3) on the Arduino.
• Active Buzzer: To turn on the buzzer, set the corresponding Arduino pin to HIGH. To turn it
off, set the pin to LOW.
• Passive Buzzer: To control the tone, use tone() and noTone() functions in Arduino for
generating a specific frequency. For example, tone(9, 1000); will play a 1kHz tone on pin 9.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 73
Diagram
A servo motor is a type of motor that is used for precise control of angular position, velocity, and
acceleration. Unlike a standard DC motor, a servo motor is designed for precise movement,
typically controlled by sending a specific pulse signal. Servo motors are widely used in applications
such as robotics, automation, remote-controlled vehicles, and mechanical systems that require
exact positioning
How It Works
1. Motor Structure:
• The servo motor is typically controlled by a Pulse Width Modulation (PWM) signal.
The PWM signal varies the duty cycle (the length of time the signal is high in each
cycle), which determines the position of the motor’s shaft.
• The typical range of PWM control is from 0 to 180 degrees for most servos, though
some high-torque or continuous rotation servos may have different ranges.
3. Position Control:
• The servo motor adjusts its shaft position based on the received PWM signal. The
motor will continuously correct itself until it reaches the target position as
determined by the PWM signal. This feedback loop allows for accurate and stable
positioning.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 74
4. Torque and Speed:
• Servo motors offer high torque at low speeds and can hold a position under load.
However, the torque decreases as the speed increases. They are typically used for
applications requiring accurate control over a small range of motion rather than
continuous rotation.
• These are the most common type, and they provide precise angular control. They
typically have a limited rotation range (usually 0° to 180°), making them ideal for
tasks like positioning robotic arms or controlling the rudder of an RC plane.
• These motors allow for continuous rotation in either direction. By adjusting the
pulse width, you can control the speed and direction of the motor. These servos are
often used in applications like driving robots or moving wheels.
• High-torque servos are designed for applications that require higher strength to turn
a load. These are often used in robotics or automation where a larger amount of
force is required.
• Digital Servos provide faster response times and more precise control compared to
analog servos, as they use microcontrollers to provide feedback. Digital servos are
generally more expensive but offer better performance for high-precision tasks.
Feature Specification
Voltage 4.8V to 6V (commonly)
Torque Varies (usually 1-20 kg·cm for standard servos)
Speed Varies (typically 0.1-0.2 sec/60°)
Control Signal Pulse Width Modulation (PWM)
Range of Motion 0° to 180° (standard servos)
Current Consumption ~100-500mA (depends on load and torque)
Size Typically ranges from 20mm to 50mm in diameter
Type Standard, Continuous, High-Torque
Applications
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 75
1. Robotics:
• Servo motors are commonly used in robotics for controlling the movement of arms,
grippers, and legs. They allow for precise control of angles, making them ideal for
robotic systems requiring high precision.
2. Remote-Controlled Vehicles:
• In RC planes, helicopters, cars, and boats, servos control the movement of control
surfaces like rudders, ailerons, and elevators. They are also used for steering and
throttle control.
3. Camera Gimbals:
4. Automation Systems:
• Servo motors are used in CNC machines, conveyor belts, and automated assembly
lines where precise control of movement is necessary.
5. Mechanical Systems:
• Servo motors are used to control various mechanical parts, such as adjusting valves
in fluid control systems or positioning solar panels for maximum efficiency.
• Servo motors are highly accurate, with feedback mechanisms ensuring they can
maintain a precise position and move exactly where they are commanded to.
• Servo motors provide high torque at low speeds, making them suitable for
applications where strong force is required to position a load.
• Servo motors are typically small and lightweight, making them ideal for applications
where size and weight are critical factors.
4. Feedback Mechanism:
• Servo motors come with built-in feedback, which ensures that the motor can self-
correct to achieve the desired position, making them highly reliable for positioning
applications.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 76
Limitations of Servo Motors
• Most standard servo motors have a limited range of motion (0° to 180°), so they
cannot rotate continuously. For continuous rotation, specialized servo motors are
needed.
2. Torque Limitation:
• While servos are known for providing high torque at low speeds, their torque
decreases significantly with speed. They are not suitable for applications that
require continuous high-torque rotation.
3. Power Consumption:
4. Cost:
Diagram
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 77
C. Stepper Motor
A stepper motor is a type of DC motor that moves in discrete steps, with each step representing a
fixed angle of rotation. Unlike standard DC motors, which rotate continuously when powered,
stepper motors offer precise control over position without the need for feedback systems. This
makes them ideal for applications requiring accurate and repeatable motion, such as in robotics,
3D printers, and CNC machines.
How It Works
1. Step Angle:
o A stepper motor moves in defined increments, or steps, typically ranging from 0.9°
to 1.8° per step. The exact angle per step depends on the design of the motor. For
example, a 1.8° stepper motor will make 200 steps to complete one full rotation
(360° ÷ 1.8° = 200 steps).
2. Electromagnetic Coils:
o Stepper motors are driven by electromagnetic coils that are energized in a specific
sequence. These coils are arranged around a central rotor, and when energized, they
create magnetic fields that attract or repel the rotor, causing it to step forward or
backward.
3. Modes of Operation:
o Full-Step: In full-step mode, two coils are energized at a time, and the motor steps
in full increments (e.g., 1.8° per step).
o Half-Step: In half-step mode, the current is applied in a way that the motor takes
half the number of steps per full rotation, increasing resolution and smoothness.
o Stepper motors are controlled by pulses sent to the motor driver. Each pulse
corresponds to one step, and by sending a series of pulses, the motor rotates a
specific number of steps. The speed and direction of rotation are determined by the
frequency and sequence of the pulses.
o These motors use permanent magnets in the rotor. They are typically used in low-
torque applications, offering good performance at low speeds.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 78
2. Variable Reluctance Stepper Motors (VR)
o These motors use a rotor made of soft iron, with no permanent magnets. They are
simpler in construction and are often used in high-speed applications but have
lower torque at low speeds.
o These motors combine the features of both permanent magnet and variable
reluctance types, offering a good balance of torque and performance. They are the
most common type used in practical applications due to their high torque and
accuracy.
Feature Specification
Voltage 3.6V to 12V (commonly)
Step Angle 0.9°, 1.8°, or fractional (microstepping)
Current per Phase 1A to 2A (depends on the motor)
Holding Torque Typically 10 to 100 N·cm (depends on motor)
Speed Range Varies based on motor and driver
Shaft Diameter Typically 5mm to 8mm
Weight 100g to 500g (depends on size and torque)
Driver Requirement Requires a stepper motor driver for operation
Applications
1. 3D Printers:
o Stepper motors are widely used in 3D printers to control the movement of the
extruder and print bed. The precise control over step angles ensures accurate
positioning of the printhead.
2. CNC Machines:
o Stepper motors are used in CNC machines (computer numerical control) for
controlling the position of the cutting tool, enabling highly accurate cutting,
engraving, and milling operations.
3. Robotics:
o In robotic systems, stepper motors are used to control limbs, grippers, and wheels,
providing precise movements in joint actuators and steering systems.
4. Camera Gimbals:
o Stepper motors are used in camera gimbals to stabilize and adjust the orientation
of the camera, providing smooth and precise control over positioning.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 79
5. Automated Systems:
o Stepper motors are used in automated machines for tasks such as material
handling, conveyor belts, and process control systems where precise rotation and
positioning are required.
6. Medical Equipment:
o Stepper motors are used in medical devices like infusion pumps, surgical robots,
and prosthetic devices where accurate movement is critical.
1. Precise Control:
o Stepper motors provide precise, incremental movement, making them ideal for
applications that require accurate positioning, such as robotics and CNC machines.
2. Open-Loop Control:
o Stepper motors provide high torque even at low speeds, making them ideal for
applications where slow and steady movement is needed.
4. Reliability:
1. Efficiency:
o Stepper motors tend to be less efficient compared to other motors (e.g., DC motors)
because they consume more power to hold a position, even when stationary.
o The torque of a stepper motor typically decreases at higher speeds, limiting its use
in applications requiring both high speed and high torque.
o Stepper motors can experience loss of steps or stalling at higher speeds or under
heavy load, requiring careful control to prevent skipping or misalignment.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 80
4. Heat Generation:
o Stepper motors can generate significant heat during operation, especially under
heavy loads or when driven continuously, requiring adequate cooling or thermal
management.
To control a stepper motor, you typically need a stepper motor driver (e.g., A4988, ULN2003)
between the motor and the Arduino to handle the higher currents required by the motor.
• Stepper Motor:
o Connect the motor's coil wires (typically four wires for bipolar motors) to the motor
driver.
o Connect the control pins (step, direction, enable) of the motor driver to the digital
pins on the Arduino (e.g., pins 2, 3, and 4).
• Power:
o Connect the motor power supply to the motor driver, ensuring it matches the
motor's rated voltage (often 5V to 12V).
Diagram
D. RELAY
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 81
turn closes or opens the contacts. Relays are used to isolate low-voltage circuits from high-voltage
circuits and are commonly found in automotive, home automation, and industrial applications.
How It Works
1. Electromagnetic Coil:
o The relay contains a coil of wire that, when energized, generates a magnetic field.
The coil is typically powered by a low-voltage signal (such as from a microcontroller
or an external circuit).
o Attached to the coil is an armature, a moving metal piece that is attracted to the
magnetic field created when the coil is energized. The armature is connected to a
set of contacts that open or close based on the movement of the armature.
3. Switching Mechanism:
o Normally Open (NO) Contacts: When the relay coil is not energized, the contacts
remain open. When the coil is energized, the armature pulls the NO contacts
together, closing the circuit and allowing current to flow.
o Normally Closed (NC) Contacts: When the relay is not energized, the contacts are
closed. Energizing the coil pulls the armature, opening the NC contacts and
breaking the circuit.
4. Types of Relays:
o SPST (Single Pole Single Throw): This is the simplest type, with a single contact
that opens or closes the circuit.
o SPDT (Single Pole Double Throw): A more complex relay with one input (common)
and two outputs (NO and NC). It can switch between two circuits, allowing the
output to change between two different states.
o DPDT (Double Pole Double Throw): A relay with two independent switches, each
with NO and NC contacts, allowing it to control two separate circuits
simultaneously.
Relay Specifications
Feature Specification
Coil Voltage 5V, 12V, 24V, or other standard values
Contact Voltage Typically 110V AC or 240V AC
Current Rating 10A to 30A (depends on relay model)
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 82
Coil Resistance 50Ω to several kΩ (depends on the relay)
Contact Configuration NO, NC, SPST, SPDT, DPDT
Switching Speed Typically 10 to 20 milliseconds
Mechanical Life 10 million operations (depends on model)
Electrical Life 100,000 to 1 million operations
Operating Temperature -40°C to 85°C (depending on the relay model)
Applications
1. Home Automation:
o Relays are widely used in home automation systems to control lights, fans, or other
appliances using microcontrollers (like Arduino or Raspberry Pi). They allow you to
control high-power devices with low-power signals.
2. Automotive:
o Relays are found in car electrical systems, such as for controlling headlights, horns,
air conditioning systems, and other high-current components. A low-current control
circuit is used to switch the relay, which then activates a high-current circuit.
3. Industrial Control:
o Relays are essential in industrial control systems for switching large machines,
motors, or actuators. They help isolate the control circuit from high-power
components, improving safety and reliability.
4. Safety Systems:
o Relays are used in safety-critical applications where they control circuit breakers,
emergency shutdown systems, and alarms. Their ability to provide electrical
isolation between control and power circuits is vital for ensuring safe operation.
5. Telecommunication Systems:
Advantages of Relays
1. Electrical Isolation:
o One of the key advantages of a relay is electrical isolation between the control and
switching circuits. This ensures that high-voltage components do not interfere with
low-voltage control signals, protecting sensitive components.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 83
o Relays can control high-power circuits (up to 30A or more) using low-power control
signals, making them ideal for switching devices like motors, heaters, and lights.
3. Versatile Switching:
o Relays are available with various contact configurations (NO, NC, SPDT, DPDT),
allowing them to be used in a wide range of applications, from simple on/off
switching to more complex tasks.
o A relay can be used to control high-power circuits without the need for complex
circuitry, making them a simple and cost-effective solution for switching.
Limitations of Relays
2. Mechanical Wear:
o Mechanical relays have moving parts, which can wear out over time and limit the
number of operations. This makes them less ideal for high-frequency switching.
o When the contacts open or close, especially under high current, they can produce
sparking or electrical noise, which can lead to component degradation and
interference in sensitive circuits.
4. Power Consumption:
o The coil in a relay consumes power while energized. While it is generally low (in the
range of a few milliwatts to a few watts), it still requires constant energy when the
relay is in operation.
To control a relay with an Arduino, you need a relay module (which includes a driver circuit) to
handle the higher current needed by the relay coil.
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 84
Relay Module GND -> GND (Arduino) Ground connection
Relay Module IN -> Digital Pin (e.g., Pin 7) Control pin for activating the relay
Relay Contacts Connect to the high-power circuit Controls the high-power device (e.g., a motor or
lamp)
Diagram
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 85
REFERENCES USED IN THIS ASSIGNMENT
HowToMechatronics. (n.d.). DHT11/DHT22 sensors - Temperature and humidity tutorial using Arduino
https://howtomechatronics.com/tutorials/arduino/dht11-dht22-sensors-temperature-and-humidity-tutorial/
PlayWithCircuit. (n.d.). How to interface DHT11 and DHT22 sensors with Arduino Uno
https://playwithcircuit.com/how-to-interface-dht11-and-dht22-sensors-with-arduino-uno/
Utmel. (n.d.). DHT11 vs. DHT22: Datasheet, pinout, and features https://www.utmel.com/components/dht11-vs-
dht22-datasheet-pinout-and-features?id=1148
Ariat Tech. (n.d.). Working principle and application of HX711 load cell amplifier https://www.ariat-
tech.com/blog/working-principle-and-application-of-hx711-load-cell-amplifier.html
DIGITAL LOGIC AND MICRO CONTROLLER | GROUP NO. 7 ASSIGNMENT | NTA LEVEL 7 – 1 2024 86