EC SCHOLAR NET

DHT11/DHT22 Temperature and Humidity Sensor


The DHT11 and DHT22 are widely used digital sensors for measuring temperature and humidity in various electronics projects. Both sensors use a capacitive humidity sensor and a thermistor to measure the moisture and temperature in the air, respectively. They communicate with microcontrollers, like the Arduino, through a single data pin using a simple digital protocol.

The DHT11 is the more basic of the two, providing temperature readings in the range of 0-50°C (32-122°F) with an accuracy of ±2°C, and humidity readings between 20-80% with an accuracy of ±5% RH (Relative Humidity). It is inexpensive and suitable for basic applications where high precision isn't critical.

The DHT22, also known as the AM2302, is more accurate and versatile. It measures temperature from -40 to 80°C (-40 to 176°F) with an accuracy of ±0.5°C, and humidity from 0-100% with an accuracy of ±2-5% RH. It is ideal for projects that require better accuracy and a wider range, but it comes at a slightly higher cost compared to the DHT11.

Both sensors are commonly used in weather stations, home automation, and climate control systems, and are easily interfaced with the Arduino using readily available libraries


EC

© 2025 EC SCHOLAR NET. All Rights Reserved.