DHT library

ScriptBasic
Posts: 14
Joined: Thu Mar 11, 2021 12:46 am

DHT library

Postby ScriptBasic » Wed Mar 24, 2021 8:36 pm

I have been unable to get my DHT11 or DHT22 to work with the Micropython DHT library. I get a ETIMEOUT every time I tried to do a measure() function call.

Is this broken in the latest release?

amarotica
Posts: 11
Joined: Wed Jul 22, 2020 4:56 pm

Re: DHT library

Postby amarotica » Tue Mar 30, 2021 10:44 pm

As far as I know, the DHT sensors communicate via bit-banging, so I don't think it's something that would break with a new release.

One thing you could check (to see if the sensor is sending a response) is to send the 18ms start pulse then read-in the raw data and visually see if there is a response.

https://www.electronicwings.com/sensors-modules/dht11

Who is online

Users browsing this forum: No registered users and 11 guests