About DHT22 (AM2302) Temperature and Humidity SensorDHT22 is very cost effective and low cost humidity and temperature sensor easily

Difference between DHT22 Vs DHT11 Temperature Humidity Sensor
The DHT22 is based on AM2302 sensor is little bit expensive than DHT11 sensor due to
its speed, calibration and accuracy. Its specifications and features are very versatile and advanced. With the accuracy of +-0.5 degree it temperature measurement range is from -40 to +125 degree with high degree of accuracy. On the other hand DHT11 temperature range as comparatively is 0-50 degree with accuracy of +-2 degree. On the other hand DHT22 sensor measures humidity from 0 to 100% degree with accuracy range is 2-5% accuracy and DHT11 measures from 20-80% with accuracy 5%. DHT22 is an advanced version of DHT11 temperature sensor module. Sensor comes with 4 pins but only three pins are used to integrate this.

Features and Specifications of DHT22 Sensor
- DHT22 is a very inexpensive and Low cost sensor
- Power input is 3 to 5V power and I/O
- Only 2.5mA max current used while conversion
- Suitable for reading for 0-100% humidity readings with 2-5% accuracy
- Suitable for -40 to 80°C temperature readings ±0.5°C accuracy
- Module Body size 27mm x 59mm x 13.5mm (1.05″ x 2.32″ x 0.53″)
- Pinout is of 4 pins, 0.1″ spacing
- Weight is just 2.4g
Applications DHT22 (AM2302) Temperature and Humidity Sensor
- Measuring temperature and humidity
- Weather Station Predictions
- Automatic climate control systems
- Environment and Atmospheric Monitoring Applications
- Industrial furnaces
- Medical equipment and devices
How To Interface DHT22 with Microcontrollers AT89C51 P89V51RD1 AT89C51 AT89C52
Its very simple to interface DHT22 with any microcontroller, below given circuit is used to connect it to microcontroller. Its a factory calibrated sensor and data is transferred with serial method using one pin and very easy to setup the connection. The given diagram shows.
Its very simple to interface DHT22 with any microcontroller, below given circuit is used to connect it to microcontroller. Its a factory calibrated sensor and data is transferred with serial method using one pin and very easy to setup the connection. The given diagram shows.

The data pin is connected to the microcontroller input output pin and a 4K pull up resistor is used in order to do so. Single pin is used for measuring humidity and temperature with serial method. If you are interfacing with 8051 microcontrollers then its little bit difficult but because you need to write down the entire code manually. On the other hand if you are using Arduino UNO then ready made libraries are available for this.