winlinvip / SimpleDHT

Simple, Stable and Fast Arduino Temp & Humidity Sensors for DHT11 and DHT22. http://learn.adafruit.com/dht
MIT License
144 stars 61 forks source link

err 101 #21

Closed pouria-niknamvazifeh-mscst closed 6 years ago

pouria-niknamvazifeh-mscst commented 6 years ago

Hi! I'm using the default code with Arduino Uno and a DHT11 but keep getting error code 101. I couldn't figure out a way to fix it.

t-w commented 6 years ago

I had similar issues (https://github.com/t-w/SimpleDHT/issues/2, https://github.com/t-w/SimpleDHT/issues/3). If you haven't resolved this, you can try a version with my patch: https://github.com/t-w/SimpleDHT/tree/mega2560_r3 or slightly different timing in one place on comm. init.: https://github.com/t-w/SimpleDHT/tree/esp8266 (the second might work for more cases, since the error threshold is lower / the code is more tolerant).

If this works for you (and I will have such signals from others) I can open a merge request, to improve the mainline. For the moment the patched version is only very briefly tested.

winlinvip commented 6 years ago

Please file a MergeRequest.

winlinvip commented 6 years ago

Please test 1.0.9