Main Site Documentation

Driver - DHT11 - Temperature and Humidity sensor


[title]DHT11 - Temperature and Humidity sensor[/title]
The DHT11 is a simple and cheap temperature + humidity sensor, using a proprietary single wire protocol. This is not compatible with OneWire.

Due to timing issue, to avoid RLP complexity, I am using here 2 separate datapins (must be interrupt pins !) linked together in harware at high impedance in order to be able to generate and read the necessary signals (please read the DHT11 notice attached).

The DHT22, a sensor in the same family but a little more accurate and accepting negative temperature is using a similar protocol, but the dataflow is a little different. Please refer to the other sensor driver specific for this sensor, elsewere on this site.

Please report bugs to f1iqf@


Can I use this sensor with the fez connect and a JST3AA wire