I am having intermittent results using the DHT11/22 sensors with v1.2.59 firmware on both the T-Beam v1.1 and Heltec v2.1 boards. The vast majority of the time I get 32F/0% for results. Only one time on the Heltec board did I get a reasonable reading of 70F/33%. Has anyone else experienced this or know of a fix for the issue? Any help would be greatly appreciated. Many thanks in advance. Jim
The DHT22 and DHT11 require external pull up resistors on the data line. To do this, solder a resistor with about 4.7kΩ (anything in the range from 1kΩ to 10kΩ probably works fine, but if you’re having issues try the 4.7kΩ recommended by the manufacturer) between DATA
and 3.3V
.
I’ve done that…No change…I wonder what libraries they are
using?..The Adafruit DHT and Unified Sensor libraries have always
worked well on other devices…Jim
this is the library that is used, indeed Adafruit DHT and Unified Sensor library
Interesting…Maybe I’ll try different I/O pins or pull-up
values…Something doesn’t make sense…Thanks for the info…Jim