Chap5
Chap5
Chap5
Actuators
https://www.youtube.com/watch?v=UX9MPp4cvrM
Introduction
Communication Between Sensors and Actuators
•Sensors collect data and send it to a microcontroller (e.g., ESP32), which processes the data and decides on
actions.
•Commands are then sent to actuators to perform the required tasks.
•This communication can be local (direct connection to a microcontroller) or cloud-based (data processed
remotely, then commands sent back).
Architecture for the integration of sensors and actuators
https://www.researchgate.net/figure/Architecture-for-the-integration-of-sensors-and-actuators_fig1_350027434
Introduction
Importance of Seamless Integration Between Sensors and Actuators in IoT
1. Real-Time Operation
4. Resolution
5. Response Time
Definition: The time taken by the sensor to react to a change in the measured parameter.
Importance: Critical in applications requiring real-time data.
Example: A PIR motion sensor with a response time of 1 second is suitable for detecting quick movements.
Classification of Sensors
1. Physical Sensors : Measure physical quantities such as temperature, light, pressure, or motion.
Examples:
Temperature Sensors:
▪ Measure ambient or object temperature.
▪ Examples: LM35, DHT11/DHT22, thermocouples.
Light Sensors:
▪ Measure light intensity.
▪ Examples: LDR (Light-Dependent Resistor), TSL2561.
Pressure Sensors:
▪Detect changes in pressure levels (air, liquid, etc.).
▪ Examples: BMP180, MPX5010.
Motion Sensors:
▪ Detect movement or vibrations.
▪ Examples: PIR (Passive Infrared), accelerometers.
▪ Use Case: Security systems and fitness trackers.
Classification of Sensors
2. Chemical Sensors : Detect chemical substances or changes in chemical properties.
Exemples:
Gas Sensors::
▪ Measure concentrations of gases like CO, CO2,
methane, or oxygen.
▪ Examples: MQ series (e.g., MQ-2 for smoke
detection, MQ-135 for air quality).
▪ Use Case: Air quality monitoring in smart homes.
pH Sensors:
▪ Measure the acidity or alkalinity of liquids.
▪ Example: E201-C pH electrode.
▪ Use Case: Monitoring water quality in aquariums
or agriculture.
Classification of Sensors
3. Biological Sensors: Monitor biological signals or changes in biological systems.
Examples:
Heart Rate Monitors :
▪ Detect heartbeats using photoplethysmography (PPG).
▪ Examples: MAX30102, pulse oximeters.
▪ Use Case: Fitness tracking in wearable devices.
Glucose Sensors:
▪ Measure blood glucose levels.
▪ Use Case: Diabetes management.
Electroencephalogram (EEG) Sensors:
▪ Measure brain activity.
▪ Use Case: Neurofeedback systems
DHT11/DHT22 Temperature and Humidity Sensor
Temperature Sensors: Measure ambient or object temperature.
The DHT11 and DHT22 sensors are used to measure temperature and relative humidity. These are very
popular among makers and electronics hobbyists. Inside the DHT Sensor If you remove the sensor’s casing,
you will find an NTC thermistor and a humidity sensing component inside.
https://lastminuteengineers.com/dht11-dht22-arduino-tutorial/
Classification of Sensors
DHT11/DHT22 Temperature and Humidity Sensor
The humidity sensing component has two electrodes with a moisture-holding substrate (usually a salt or
conductive plastic polymer) in between. As the humidity rises, the substrate absorbs water vapor, resulting in
the release of ions and a decrease in the resistance between the two electrodes. This change in resistance is
proportional to the humidity, which can be measured to estimate relative humidity.
https://lastminuteengineers.com/dht11-dht22-arduino-tutorial/
Classification of Sensors
DHT11/DHT22 Temperature and Humidity Sensor
The sensor also includes a NTC thermistor for measuring temperature. A thermistor is a type of resistor
whose resistance varies with temperature.
Technically, all resistors are thermistors in the sense that their resistance changes slightly with
temperature, but the change is typically very small and difficult to measure. Thermistors are designed
so that their resistance changes dramatically with temperature (by 100 ohms or more per degree).
The term “NTC” stands for “Negative Temperature Coefficient,” which means that resistance
decreases as temperature rises.
The sensor also includes an 8-bit SOIC-14 packaged IC. This IC measures and processes the analog signal using
stored calibration coefficients, converts the analog signal to digital, and outputs a digital signal containing the
temperature and humidity.
https://lastminuteengineers.com/dht11-dht22-arduino-tutorial/
DHT11/DHT22 Temperature and Humidity Sensor
The DHT11 and DHT22 are very similar, but differ in their specifications. The following table compares some of the most
important specifications of the DHT11 and DHT22 temperature and humidity sensors.
VCC pin provides power to the sensor. Despite the fact that the
supply voltage ranges from 3.3V to 5.5V, a 5V supply is
recommended. With a 5V power supply, the sensor can be
placed up to 20 meters away. With 3.3V supply voltage, the
sensor can be placed up to 1 meter away; otherwise, the line
voltage drop will cause measurement errors.
NC Not connected
https://lastminuteengineers.com/dht11-dht22-arduino-tutorial/
DHT11/DHT22 Temperature and Humidity Sensor
Wiring DHT11 Sensors to an ESP32
https://lastminuteengineers.com/esp32-dht11-dht22-web-server-tutorial/