Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By uhrheber
#14441 What happens to the GPIOs during deep sleep?
I noticed that LED's connected to a GPIO start to glow during deep sleep.
Are the pullups activated?
User avatar
By AcmeUK
#14450
uhrheber wrote:Did you try the same while connected to an AP?
Does waking up the WiFi and reconnecting work?

In this post http://www.esp8266.com/viewtopic.php?f=28&t=2430&p=14178&hilit=connect+slow#p14178 the guy is experimenting with a battery powered ESP8266 with a sketch that regularly wakes up and connects to WiFi.
User avatar
By tavalin
#14490 Am I correct in thinking that after the sleep the ESP8266 RESETS rather than waking up?

It seems that deep sleep seems to consume the same power as pulling CH_PD low and both seem to reset/restart the sketch so I'm wondering what the benefit is of the deep sleep mode outside of being able to trigger it programatically.
User avatar
By AcmeUK
#14511 It means that those of us that are developing battery powered sensors can put the esp8266 into minimal power mode between measurement & reporting cycles. For example I only want to check soil moisture levels once per hour.