-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
I've been using 1.08 for a long time now (since it was "current") and it is very robust, in the sense that if the DHT22 devices are on long wires, v 1.08 still is able to read the device. I upgraded to DHTlib 1.32, and found that, while it could read a DHT22 on short leads (a few inches) it wouldn't read devices that were many feet away. (Don't judge me, I have my reasons.) I found that uncommenting line 185 in dht.cpp, which is:
digitalWrite(pin, HIGH); // T-go
fixes the problem. This seems to me to be a "low cost" way of enhancing the reliability of reading DHT22's when the lead length is "sub optimal". Please consider making this change to your code.
Thanks,
Bill Dudley
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels