Main Site Documentation

DHT11 Temperature and Humidity Sensor

#1 or

Does it support plain “one-wire” ? Is it possible to use it with the GHI OneWire class ?


I have looked in many places and I am not able to know if that sensor uses Maximm/dalas “one wire” protocol! :wall:


Looking at the arduino code here: it does not use the onewire protocol. As far as I know, all onewire devices have an address, and surely the DHTxx doesn’t.



You mean SHT11 not DHT11.
Check out :wink:


@ Joe There are two DHT11 single wire (D- robotics) and SHT11 two wire ( sensirion )

I think there’s drivers for both…

Cheers Ian


Guys, I found the SHT11 stuff on Fezzer, but I am interested in the DHT11. It does use a one wire protocol - no clock pin. A search for DHT11 on Fezzer does return any hits.

Some web posts declare that it would be impossible to do this on a managed C# device (on a Netduino) - of course, I expect that we can do it with Fez. It needs 50us timing, but surely we can find a way.

I will keep working on it, but does anyone have any code working?


OK, I am working on this. I do think it will be possible to read the signal fast enough using a trick or two (I mean an appropriate algorithm ;)). I will post details when I get it running, but if anyone has working code in the mean time I would love to see it.


A driver is now available here :