22 lines
461 B
Plaintext
22 lines
461 B
Plaintext
|
= DHT11 =
|
||
|
|
||
|
The DHT11 is a very cheap humidity/temp sensor, made by ASAIR.
|
||
|
|
||
|
== Pinout ==
|
||
|
|
||
|
Then the module is facing you,
|
||
|
|
||
|
For three pins the pinout is
|
||
|
|
||
|
| GND | VCC | DAT |
|
||
|
|
||
|
This is because on the breakout boards, a 10K pullup resistor is on Pin 2 of
|
||
|
the sensor module.
|
||
|
|
||
|
== Data ==
|
||
|
|
||
|
Data is sent using a single bus line. This bus line sends info in the following
|
||
|
manner.
|
||
|
|
||
|
| Humidity int (8b) | Humidity decimal (8b) | Temp int (8b) | Temp decimal (8b) | Parity |
|