You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for providing this library. I found an issue: At the end of the start signal you wait for 40us before you release the pin, but the DHT11 (at least mine) pulls down the pin already after some 12us leading to a brief period of short circuit, which is not good.
Actually it would be sufficient to pull the pin actively high for 1 or 2us and leave the rest to the pull-up resistor.
I atteched a scope screen shot of the issue. We see the signal pulled high to 5V, then after 12us the DHT11 tries to pull it low, but the Arduino is still driving, so some intermediate voltage builds up (here 3V). After 42us - here's that number again ;-) - the Arduino releases the pin and the line is pulled further down by the DHT11, which is still driving.
Maybe you may want to fix this.
Thanks, Gerhard
The text was updated successfully, but these errors were encountered:
Hi,
thanks for providing this library. I found an issue: At the end of the start signal you wait for 40us before you release the pin, but the DHT11 (at least mine) pulls down the pin already after some 12us leading to a brief period of short circuit, which is not good.
Actually it would be sufficient to pull the pin actively high for 1 or 2us and leave the rest to the pull-up resistor.
I atteched a scope screen shot of the issue. We see the signal pulled high to 5V, then after 12us the DHT11 tries to pull it low, but the Arduino is still driving, so some intermediate voltage builds up (here 3V). After 42us - here's that number again ;-) - the Arduino releases the pin and the line is pulled further down by the DHT11, which is still driving.
Maybe you may want to fix this.
Thanks, Gerhard
The text was updated successfully, but these errors were encountered: