Skip to content

tiefpunkt/DHT22_OneWire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHT22 on OneWire

Want to use a larger number of DHT22s with long cable runs inbetween? Hook them up using OneWire.

This project uses a ATtiny25 as an controller between the OneWire bus and the DHT22 sensor. It emulates a DS18B20 OneWire temperature sensor, courtesy to http://www.tm3d.de/index.php/1-wire-device-mit-avr. The humidity value from the DHT22 is stored in the 16bit space in the scratchpad, right after the temperature value, and can be read just like the temperature. A reference arduino sketch will be in this repo as well eventually

DHT22 sensor library from http://www.pgollor.de/cms/?page_id=1013

Circuit

Just a plain ATtiny25. DHT22 connected to pin B1, OneWire Bus connected to B2.

OneWire Master

There's an example Arduino implementation of a OneWire master reading both temperature and humidity, in the directory MasterExample. It requires the OneWire libary from http://www.pjrc.com/teensy/td_libs_OneWire.html.

License

Whatever complies with both parts used. Probably GPL3 (even if I don't like that one).

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages