DHT22 AM2302 is a digital sensor that allows to obtain temperature and relative humidity readings, it is low cost and excellent performance, it is integrated by a capacitive humidity sensor and a thermistor to measure the surrounding air, which displays the data through a digital signal on the data pin.
It is used in automatic temperature control applications, air conditioning, environmental monitoring in agriculture, weather stations, home applications, humidity and temperature regulator.
SPECIFICATIONS AND FEATURES
Model: DHT22 AM2302
Operating voltage: 3.3 V to 5.5 V
Current Consumption: 2.5mA
Output signal: Digital
Digital interface: Standard digital single-bus (bidirectional)
Sampling rate: 2 seconds
Resolution: 16 bit
Measuring range Temperature: -40°C to 125°C
Temperature measurement accuracy: <±0.5 °C
Temperature Resolution: 0.1°C
Measuring range Humidity: 0% to 100% RH 0.5°C variation
Humidity measurement accuracy: 2% RH
Resolution Humidity: 0.1% RH
Maximum data cable distance: 20 m
Dimensions: 20mm x 15mm x 8mm
Pins
VCC: Pin (+) Connection to power supply from 3.3V to 5.5V
DATA: Outputs temperature and humidity through serial data
NC: No connection, do not use
GND: Pin (-) Connection to GND or Ground of the power supply
DHT22 is a digital sensor focused on measuring temperature and relative humidity.
It is a low-cost sensor with good performance, it will help you create different temperature and humidity control and monitoring projects.
How to connect the DHT22?
It is only necessary to connect the power VCC pin to 3.3V or 5V, the GND pin to Ground (0V), connect a resistor in Pull-up mode, between the Data pin – VCC and the data pin connect to a digital pin.
it is compatiblewith Arduino / Raspberry Pi / Nodemcu / ESP32 boards or any microcontroller that has digital pins.
It requires a 4.7K or 10k Ohm resistor in Pull-up mode, between the Data pin and VCC.
The following image defines how to connect the DHT22: