-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python lesson 28-DHT11 doesn't work reliably #1
Comments
I think I found the root cause: the pin is not pulled low long enough! Edit: It's weirder than this, now the timing is good, but the DHT11 is not even responding... |
I find that the issue is those two lines: HiPi-Sensor-kit-v4.0/Python/28_humiture.py Lines 29 to 30 in f8d8c8e
Reason: Solution: Replacing the two lines with the above code fixes initialization issues, and the lesson code works reliably! |
This code needs to be reviewed for bad behaviour: https://github.com/Martin-HiPi/HiPi-Sensor-kit-v4.0/blob/f8d8c8ecc70f6f9e8cb72e3602bd26bba3683e8c/Python/28_humiture.py
The text was updated successfully, but these errors were encountered: