Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 976 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 976 Bytes

DHTxx

Drivers for the DHT11 and DHT22 (aka AM2302 or RHT03) humidity and temperature sensors.

The DHT22 is a more advanced version of the DHT11, providing more accurate readings.

Both use one wire to communicate with the host. The protocol is similar, but the interpretation of the data is different. As such, the DHT11 and DHT22 drivers are not interchangeable but share a lot of code.

Implementation details

The DHT11 and DHT22 drivers are timing sensitive, and the drivers are therefore implemented using the RMT controller which allows for precise timings.

Compatibility

The driver has been tested on DHT11 and DHT22 sensors.

It should work with other sensors that use the same protocol: DHT12, KY-015, DHT33, AM2320, AM2321, or AM2322.

If you have one of these sensors, please let us know if it works.

Features and bugs

Please file feature requests and bugs at the issue tracker.