arek125 / remote-GPIO-control-server

Control GPIO ports via Android client or www app
MIT License
6 stars 3 forks source link

Problem with DHT11 #8

Closed WaaCat closed 3 years ago

WaaCat commented 3 years ago

Hi. I did all way to use DHT11 sensors on Raspberry Pi 3A+ and Model B. Connection is correct and scripts working good. Unfortunately I have this kind of issue :

pi1 pi2

I checked my way at two models Raspberry and I have this same kind of problem. I'm looking for solution but maybe you know what can be a problem?

arek125 commented 3 years ago

Hi, I face similar problem with DHT Adafruit library but on Pi 4B, there was a problem with hardware detection.

I created fork of that lib with fix for Pi 4B (https://github.com/arek125/Adafruit_Python_DHT),

Not sure if its gona work with Pi 3 but You can try it.

WaaCat commented 3 years ago

OK, I found solution to my problem. Finally i used other sensor DHT11 (module type without LED). Type with LED isn't working and GPIO communication failed. Second step was modification in file : https://github.com/adafruit/Adafruit_Python_DHT/issues/61 . Now all working good.