Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7995

Python • Re: ModuleNotFoundError: No module named 'adafruit_dht' >>>

$
0
0
Now I am told the DHT11 not found
Could be many reasons
- you need a pullup resistor for DHT11, DHT22 from data pin to VCC 3.3V. See https://learn.adafruit.com/dht/connecti ... txx-sensor Most boards with this sensor will have this resistor attached.
- wrong pin used. There are many ways to number the GPIO pins, some refer to physical pin numbers, some to the processors GPIO pins (nowadays very popular), and others. See https://pinout.xyz/
- bad connections on a breadboard, bad solder joints.
- bad sensor
- bad day

Post a clear image of your setup.

Side topic:
Instead of interfacing the sensor with python, you could use an overlay for dht11 sensor, see https://github.com/Hexxeh/rpi-firmware/ ... ays/README
or check command "dtoverlay -h dht11"
it should create a bunch of files in /sys/bus/iio/devices/ .
I can't upload a picture no matter how small I make it I get the message file to large

Statistics: Posted by jfriberg — Thu Feb 12, 2026 11:58 pm



Viewing all articles
Browse latest Browse all 7995

Trending Articles