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: http://sheepdogguides.com/arduino/ar3ne1humDHT11.htm it does not use the onewire protocol. As far as I know, all onewire devices have an address, and surely the DHTxx doesn’t.
@ Joe There are two DHT11 single wire (D- robotics) and SHT11 two wire ( sensirion )
I think there’s drivers for both…
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 : http://code.tinyclr.com/project/289/dht11---temperature-and-humidity-sensor/