Start sensing the world around it with the inexpensive DHT11 or DHT22 Digital Temperature & Humidity Sensor. These sensors are pre-calibrated and don’t require extra components, so you can start measuring relative humidity and temperature right away.
One of the greatest features they provide is that both temperature & humidity are measured to the nearest tenth; that is, to one decimal place. Inexpensiveness: you can get new data from it once every second or two.
typical application
DHT11 Vs DHT22/AM2302
We have two versions of the DHTxx sensor series. They look a bit similar and have the same pinout, but have different characteristics.
Here are the details:
- DHT11. DHT11 temperature range is from 0°C to 50°C with +-2 degrees accuracy, while the DHT11 humidity range is from 20 to 80% with 5% accuracy.
- DHT22. DHT22 temperature measuring range is from -40°C to +125°C with +-0.5 degrees accuracy, while humidity measuring range, from 0 to 100% with 2-5% accuracy.
The best thing is that DHT11 and DHT22 sensors are ‘swappable’ – meaning, if you build your project with one you can just unplug it and use another. Your code may have to adjust a little but at least the wiring is the same!
End of post