This is an old revision of the document!


Table of Contents

DHT11

dht11.jpg
dht11-pinout.jpg

RPi

In the past (2016) the kernel mode for reading the DHT11 did not work but in 2024 it appears to be functional.

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

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies