tzapu / DeepSleepDHT22

Battery Powered ESP8266 WiFi Temperature and Humidity Logger
http://tzapu.com/minimalist-battery-powered-esp8266-wifi-temperature-logger/
MIT License
136 stars 39 forks source link

DHT22 connections - maybe a pull-up? #2

Open zoomx opened 7 years ago

zoomx commented 7 years ago

I read the post about the stop or break of DHT22 after a while (how much? Days Weeks? Hours?)

Maybe it is due to a pull-up that is not present on data line? Here https://github.com/d2r2/go-dht for example there is a 5k pull-up. All DHT modules have a pull-up on data line.

tzapu commented 7 years ago

hi, a few days, tried pullups, still went tits up i had to turn off power completly to dht when sleeping to have it working for longer periods of time so now using both pins on the esp01. it s not really worth it as it s still quite powe hungry