Chat freely about anything...

User avatar
By Dave_
#76188 Hi all.

I'm using an esp8266 to turn on and off a led lamp I use as alarm clock; therefore the esp has to be always connected to listen to UDP commands and one in 5 mins to refresh the NTP time via UDP request.
I noticed that the chip gets really hot even if the light is off and it hasn't been used for a whole day (but always connected and listening).
I'm not really founded in coding, so here is my (perhaps stupid) question: is there a way to put the esp in "sleep state" or to prevent it from overheating, but keeping it online and ready to react to UDP inputs?
Read about deep sleep but that seems not adequate.

Thanks in advance!
Dave :D
User avatar
By schufti
#76220 If the chip gets really hot, you'r really doing something really wrong.
My esp-12 continuously listens to udp broadcasts, reads the temp & hum sensor and displays time, measurements and udp messages while still getting no warmer than ambient.
User avatar
By Dave_
#76278
schufti wrote:If the chip gets really hot, you'r really doing something really wrong.
My esp-12 continuously listens to udp broadcasts, reads the temp & hum sensor and displays time, measurements and udp messages while still getting no warmer than ambient.

I read a bit more the topics in the forum, it's likely the overheating is due to the fact I'm using 12V through Vin to power the NodeMCU; other user seem to have the same issue (this topic).
Will try to use a step-down.
Thanks schufti for your answer!