Skip to content

toitware/toit-dhtxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages