DHT22 Humidty and Temperature sensor
14 January, 2014 - 20:18
I had to tweak the roomnode2 sketch a little but heres the code for the DHT22 Temp and Humidty Sensor which has slight improvments on the DHT11
Dont forget to get a decent DHT22 lib for Arduino, i used Ben Adams - https://github.com/nethoncho/Arduino-DHT22
- Ultra low cost
- 3 to 5V power and I/O
- 2.5mA max current use during conversion (while requesting data)
- Good for 20-80% humidity readings with 5% accuracy
- Good for 0-50°C temperature readings ±2°C accuracy
- No more than 1 Hz sampling rate (once every second)
- Body size 15.5mm x 12mm x 5.5mm
- 4 pins with 0.1" spacing
- Low cost
- 3 to 5V power and I/O
- 2.5mA max current use during conversion (while requesting data)
- Good for 0-100% humidity readings with 2-5% accuracy
- Good for -40 to 125°C temperature readings ±0.5°C accuracy
- No more than 0.5 Hz sampling rate (once every 2 seconds)
- Body size 15.1mm x 25mm x 7.7mm
- 4 pins with 0.1" spacing
Attachment | Size |
---|---|
roomNode2_dht22.zip | 4.9 KB |