15-01-2024, 00:15
(This post was last modified: 15-01-2024, 01:27 by Palmyweather.)
Today the second order of DHT22 sensors arrived. These are "generic" sensors. The first lot I ordered were "original" or "genuine" DHT22 sensors.
Sadly the results are the same with the second delivery of sensors.
Today's tests included editing the DHT library as previously suggested along with using the original values.
Links to the products I have purchased:
https://www.aliexpress.com/item/1005004445311402.html
https://www.aliexpress.com/item/1005005046929046.html
Sadly I think I will need to end my attempts to use the DHT22 sensor for this project and revert back to SHT10 which I know work.
Thank you for your help along this journey.
Matt
Sadly the results are the same with the second delivery of sensors.
Today's tests included editing the DHT library as previously suggested along with using the original values.
Code:
for (timer = 0; timer < 250; ++timer)
if (digitalRead(pin) != j)
break;
#if DEBUG_DHT
times[i] = timer;
#endif
// if no transition was seen, return
if (timer >= 250) {Links to the products I have purchased:
https://www.aliexpress.com/item/1005004445311402.html
https://www.aliexpress.com/item/1005005046929046.html
Sadly I think I will need to end my attempts to use the DHT22 sensor for this project and revert back to SHT10 which I know work.
Thank you for your help along this journey.
Matt

