mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
18 lines
624 B
Plaintext
18 lines
624 B
Plaintext
The DHT11, DHT21 and DHT22 are relative inexpensive sensors for measuring temperature and humidity.
|
|
|
|
This library can be used for reading both values from these DHT sensors.
|
|
The DHT11 only returns integers (e.g. 20) and does not support neagtive values.
|
|
The DHT22 and 21 are quite similar and provide one decimal digit (e.g. 20.2)
|
|
The hardware pins of the sensors and handshake are identical so ideal to combine in one lib.
|
|
|
|
The library is confirmed to work on:
|
|
|
|
UNO (tested myself)
|
|
2009 (tested myself)
|
|
MEGA2560
|
|
DUE
|
|
attiny85 @8MHz
|
|
Digistump Digix @ 84 MHz
|
|
|
|
More information - http://playground.arduino.cc//Main/DHTLib -
|