The sensor keeps timing out with several different DHT20 libraries. I can see that a device is connected to the I2C port but can’t get any readings out.
hey @Elecrow, with the example code here for example: https://www.elecrow.com/wiki/index.php?title=Crowtail-_DHT20, it keeps logging the temp and humidity with 0 value. I tried with the same library from Github as well and it gives the timeout error. It seemed to be quite a bit newer version that the one downloadable through wiki.
If the DHT20 sensor keeps timing out despite using various libraries, ensure proper wiring and power supply for the sensor, and consider checking for any conflicts with other devices on the I2C bus. Additionally, verify compatibility and configuration settings within the libraries being used.
Comments
Hello @rewie ,
Could you please send us your code to find the cause of the problem?
hey @Elecrow, with the example code here for example: https://www.elecrow.com/wiki/index.php?title=Crowtail-_DHT20, it keeps logging the temp and humidity with 0 value. I tried with the same library from Github as well and it gives the timeout error. It seemed to be quite a bit newer version that the one downloadable through wiki.
Any ideas?
If the DHT20 sensor keeps timing out despite using various libraries, ensure proper wiring and power supply for the sensor, and consider checking for any conflicts with other devices on the I2C bus. Additionally, verify compatibility and configuration settings within the libraries being used.