Module for DHT22 temperature/humidity sensor

Showroom for MicroPython related hardware projects.
Target audience: Users wanting to show off their project!
br0t
Posts: 3
Joined: Tue Dec 05, 2017 1:23 pm

Re: Module for DHT22 temperature/humidity sensor

Post by br0t » Wed Dec 06, 2017 10:16 am

I have found your library while searching for a solution, thanks for sharing it. I will give the AM2320 a try!

br0t
Posts: 3
Joined: Tue Dec 05, 2017 1:23 pm

Re: Module for DHT22 temperature/humidity sensor

Post by br0t » Fri Dec 08, 2017 8:58 am

I am getting results back from the AM2320 sensor using your library :)

However it is very unstable, e.g. for measuring every 10 seconds this is a typical result:

Code: Select all

22.4,
32.7,

0.0,
32.0,

0.0,
32.0,

0.0,
32.0,

0.0,
32.0,

[Errno 110] ETIMEDOUT
[Errno 110] ETIMEDOUT
[Errno 110] ETIMEDOUT
...
First value is temperate, second is humidity. So the temperature sometimes gives m 0 degrees which is obviously wrong. And then at some point I only get back the timeout error there. @mcauser: Any ideas what I could do to make this more stable/reliable? I tried reinitializing the sensor everytime before measuring, but that did not improve anything yet. Also tried another sensor thinking the first was borked, but no changes.

Post Reply