

Furthermore, the operating voltage range for both sensors is almost and we can directly power these sensors from the power pins of ESP8266. However, DHT11 has a better sampling period. The following table lists the comparison of both DHT sensors.ģ- 6 V DC( directly powerable from ESP32/ESP8266)ģ-5.5 V DC( directly powerable from ESP32/ESP8266)Īs you can see from the above comparison table that DHT22 offers a wider temperature range and resolution for temperature and humidity.

They are quite similar to each other with some differences in specifications.ĭHT22 is almost similar to the DHT11 but the former measures temperature and humidity with higher accuracy and supports a wider range.

It provides a calibrated digital output with a 1-wire protocol. The DHT11/DHT22 is a sensor which measures relative humidity and temperature sensor.
