ESP8266 + ESPeasy + DHT22 Sensors sending wrong numbers
Posted: Sun Aug 07, 2022 4:32 pm
Hello to everybody!
I started my first project with the ESP8266.
In short:
6 times the D1 Mini combined with an DHT22 shield and battery module
(from berrybase.de onlineshop)
All were flashed with - ESP_Easy_mega_20220616_normal_ESP8266_4M1M
All are accessibale with the browser
For all I were able to set the DHT22 and basic config
At the moment all ESPs are powered by different power adapters.
But:
Beyond the correct measured temperature and humidty I got some wrong data by the ESPs. Sometimes and irregular there is data submitted with a value of 25.5 - each for the humidity and/or for the temperature.
For reference - I*ve uploaded two pictures of the transmitted data to thingspeak.
At this point I must admit, that I*ve connected the DHT22 from the GPIO-2 D4 to GPIO-0 D3. I had some issues with my first attempt and got no data. Since I*ve read, that the connection of the DHT to the GPIO-2 can lend to issues I*ve changed the connection to GPIO-0. It wasn't specified to which GPIO I should connect the sensor to.
Maybe this is causing the issue? If so - what might be a good choice for a proper GPIO? With regard to the fact that I may want to add more shields?
Or should I search for another reason, why there is this kind of wrong data occuring.
The wrong numbers are given by all of the modules. So - I think the hardware works fine and this is a general failure or more of a missconception by myself.
Thank you in advance for every hint and idea!
I started my first project with the ESP8266.
In short:
6 times the D1 Mini combined with an DHT22 shield and battery module
(from berrybase.de onlineshop)
All were flashed with - ESP_Easy_mega_20220616_normal_ESP8266_4M1M
All are accessibale with the browser
For all I were able to set the DHT22 and basic config
At the moment all ESPs are powered by different power adapters.
But:
Beyond the correct measured temperature and humidty I got some wrong data by the ESPs. Sometimes and irregular there is data submitted with a value of 25.5 - each for the humidity and/or for the temperature.
For reference - I*ve uploaded two pictures of the transmitted data to thingspeak.
At this point I must admit, that I*ve connected the DHT22 from the GPIO-2 D4 to GPIO-0 D3. I had some issues with my first attempt and got no data. Since I*ve read, that the connection of the DHT to the GPIO-2 can lend to issues I*ve changed the connection to GPIO-0. It wasn't specified to which GPIO I should connect the sensor to.
Maybe this is causing the issue? If so - what might be a good choice for a proper GPIO? With regard to the fact that I may want to add more shields?
Or should I search for another reason, why there is this kind of wrong data occuring.
The wrong numbers are given by all of the modules. So - I think the hardware works fine and this is a general failure or more of a missconception by myself.
Thank you in advance for every hint and idea!