So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By OG Style
#76265 I put together a weather station using code from another site. The site used a different model ESP then what I have. I have a 01. My temp and humidity keep jumping around and are reading different the the thermostat that I have in the same spot. They did not us a resistor in the circuit. I current have a 4.7k and have tried a 10k. I have the resister connected across vcc and data on the DHT11. Does anyone have any recommendations on how to get it more stable? Here is a link to to the code I used.

https://roboindia.com/tutorials/nodeMCU ... ata-upload


Thank you
User avatar
By schufti
#76276 depending on the quality of your power supply 0.1µ might be sufficient or even 1000µ won't help.
4k7 on data should be ok. As you see the original doesn't use any because gpio0/2 have (weak) internal pull-up - if in doubt, see the DTH11 datasheet for recommendation.