Open gio-dude opened 3 years ago
@gio-dude I have the same problem same as you with DHT22. I didn't find what's the problem. But I just fix the problem by using some trasistor to control 3.3V. When it boot finish quite a while I program it to reboot to turn off and on DHT22.
Ok so if I understand correctly you are using transistors to power cycles he temperature sensor once the esp finishes its boot cycle.
Ok so if I understand correctly you are using transistors to power cycles he temperature sensor once the esp finishes its boot cycle.
Yes
So I don't know if this hardware or software issue. I got the example temperature sketch to work but after start up the serial monitoring display nam for the results of the temp and Humidity until i disconnect power pin to the sensor and reconnect it. then it works fine.
Im using a nodeMCU I have the sensor connected to pin D4 with a 10k resistor between data and power.