Skip to content

v 1.32 less robust than v 1.08 #6

@wfdudley

Description

@wfdudley

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions