DHT does not work
-
hallo
i have a trouble with DHT library
it does not work
and i get this value
280.5 280.5
i hope can help me -
This post is deleted! -
from machine import Pin
from DHT import DHT11dht_pin=Pin('G4', Pin.OPEN_DRAIN)
dht_pin(1)temp, hum = DHT11(dht_pin)
while True:
temp_str = '{}.{}'.format(temp//10,temp%10)
hum_str = '{}.{}'.format(hum//10,hum%10)print(temp_str, hum_str)this is the code is running
-
Hi
I'm having the same issue with DHT11 I ordered dht22 I'll check if it is related to the why DHT11 is being read
Since normal the function stop all concurrence and threads this might be related to this
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login