====DHT11====
{{:interfaces:dht11.jpg?200}} \\
{{:interfaces:dht11-pinout.jpg?200}} \\
Humidity and temperature sensor.
The temperature sensor is reasonably accurate but humidity
is ludicrously inaccurate but can be used to determine humidity
changes?
===RPi===
In the past (2/1/2016) the kernel mode for reading the DHT11 did not work
reliably or at all but in 2024 it appears to be functional but may require
a few retries.
==config.txt==
dtoverlay=dht11,gpiopin=17
==Temperature==
cat /sys/bus/iio/devices/iio:device0/in_temp_input
26000
==Humidity==
cat /sys/bus/iio/devices/iio:device0/in_humidityrelative_input
18000
===Resources===
[[https://cdn-learn.adafruit.com/downloads/pdf/dht.pdf|Arduino guide]]
[[https://www.mouser.com/datasheet/2/758/DHT11-Technical-Data-Sheet-Translated-Version-1143054.pdf|Translated data-sheet]]