The DHT22 includes a capacitive humidity sensor and a high-precision temperature sensor. The range of the humidity sensor is 0 to 99.9 %RH with ±2% accuracy while the temperature sensor ranges from -40 to 80℃ with ±0.5℃ accuracy. With the help of a built-in 8-bit microcontroller, the DHT22 converts the analog output of those two sensors to the digital signal and outputs both temperature and humidity data via a single pin.
Compared with the DHT11, this product has higher precision and a wider measurement range, but the usage and code are almost the same. Simply put, if you need higher measurement accuracy, this product will be a better choice; if you need a higher price/performance ratio, then Grove - Temperature & Humidity Sensor (DHT11) may be more appropriate
Highlighted Features
- High accuracy and wide range of temperature and humidity measurements:
- Humidity: 0 to 99.9 %RH with ±2% accuracy
- Temperature: -40 to 80°C with an accuracy of ±0.5°C - Ultra-low power consumption: standby current supply as low as 40uA
- The professional choice for relatively demanding applications: outperforms the basic DHT11
- Better compatibility: digital output of sensor data, and I²C interface makes it more versatile
- Starter-friendly: Factory calibrated, easy to use, and backed by detailed wiki and documentation
Applications
- Environmental monitoring
- Thermometer and hygrometer
- Dehumidifier
Hardware Overview
Figure: Device Schematics