DHT11 don't work

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
adrian12310407
Posts: 2
Joined: Fri Feb 03, 2017 7:17 pm

DHT11 don't work

Post by adrian12310407 » Sun Feb 05, 2017 8:48 pm

hallo
a good day
i have a problem
i have this code, this code is using a DHT11
but, the code give me this mistake
OSError: [Errno 110] ETIMEDOUT
i have the last version firmware
this is mi code
>>> import machine
>>> import dht
>>> d = dht.DHT11(machine.Pin(0))
>>> d.measure()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "dht.py", line 13, in measure
OSError: [Errno 110] ETIMEDOUT
>>>
i hope can are help me :( :(

SpotlightKid
Posts: 463
Joined: Wed Apr 08, 2015 5:19 am

Re: DHT11 don't work

Post by SpotlightKid » Mon Feb 06, 2017 8:04 am

Can you describe how you have wired up things?

Also, use a forum search for "DHT11", there are several threads with hints on how to use this module.

adrian12310407
Posts: 2
Joined: Fri Feb 03, 2017 7:17 pm

Re: DHT11 don't work

Post by adrian12310407 » Tue Feb 07, 2017 2:36 am

thanks
I'll do that

Post Reply