Modify DHT11 Driver to Work with DHT22 - Incorrect Temperature Reading Issue
Posted: 2024-12-04 9:55
Hi,
I’ve been working on modifying a DHT11 driver to support the DHT22 sensor. While the DHT11 driver works perfectly, after making some changes to adapt it for the DHT22, the temperature readings are significantly off. Specifically, I’m getting very low temperature values (around 1°C), which is far from the expected values I observe when testing the same sensor with Arduino.
Has anyone encountered a similar issue or successfully adapted a DHT11 driver for the DHT22? Any pointers or insights would be greatly appreciated.
I’ve been working on modifying a DHT11 driver to support the DHT22 sensor. While the DHT11 driver works perfectly, after making some changes to adapt it for the DHT22, the temperature readings are significantly off. Specifically, I’m getting very low temperature values (around 1°C), which is far from the expected values I observe when testing the same sensor with Arduino.
Has anyone encountered a similar issue or successfully adapted a DHT11 driver for the DHT22? Any pointers or insights would be greatly appreciated.