Guest
Login
Register
Home
Help
Search
Login
Register
more G-Labs products
This forum is soon going to be read-only.
Please join the new
HomeGenie community on Google+
HomeGenie Forum
General Category
Troubleshooting and Support
DHT-22 Sensor
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: DHT-22 Sensor (Read 1040 times)
September 14, 2015, 10:47:13 PM
Read 1040 times
Michel
Information
Jr. Member
Posts:
42
DHT-22 Sensor
I have connected a DHT-22 sensor to my RPi and readings are ok with program 63. The only problem is that the program refreshes the data every 3 to 10 seconds even if the interval delay is set at 600 seconds.
Any idea ?
Thanks
Logged
September 15, 2015, 05:10:32 AM
Reply #1
dani
Information
Global Moderator
Posts:
535
Re: DHT-22 Sensor
I votre same issue. You must correct the program. Take of thé line with "break;".
But after tell me if sometime you don't get wrong value, in that case I will post a new hgx file for you
Chees
Dani
Logged
September 15, 2015, 01:12:40 PM
Reply #2
Michel
Information
Jr. Member
Posts:
42
Re: DHT-22 Sensor
Thanks Dani, the refresh interval is ok now. But, as you suspected, sometimes the humidity shows 3303.4%.
Logged
September 15, 2015, 02:52:45 PM
Reply #3
dani
Information
Global Moderator
Posts:
535
Re: DHT-22 Sensor
Here is a source code that care of some wrong values.
If you import that program it will create a new ID. So you stop program ID 63 and use the new one.
Cheers
Dani
Logged
September 15, 2015, 09:06:01 PM
Reply #4
Michel
Information
Jr. Member
Posts:
42
Re: DHT-22 Sensor
Hi Dani, I installed your program and everything works perfectly now.
Thanks for your help.
Michel
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
HomeGenie Forum
General Category
Troubleshooting and Support
DHT-22 Sensor