Post topics, source code that relate to the Arduino Platform

User avatar
By tuxmartin
#73439 Hi, I'm trying to build a simple "security" switch using esp8266 arduino lang.

My device will work on battery so I need to use deep sleep.
But if I wake up the cpu when switch were pushed I do not know about functionallity - if wifi has bad wifi signal or empty battery - i dont't know about it.

On the other side, if I use deep sleep for 1h 11m is still possible to wake cpu by push button?

And is it possible to get type of wake up? I mean time (1h11m) or reset pin by switch?