esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
16.08k stars 13.33k forks source link

Soft-Power switch using deep sleep. #1677

Closed yukini3 closed 8 years ago

yukini3 commented 8 years ago

Hi, I am looking for the solution of implementing soft-power switch using deep sleep. When I push the power button while the device is on, it goes to infinite deep sleep so that power consumption is minimum. When I push the power button while the device is off, it goes on. The button switch should be momentary on because sometimes device needs to go off by itself. It is like TV in your living room.

Can someone please help me to draw such kind of h/w?

Thanks!

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

ibaranov-cp commented 8 years ago

Check here:

https://www.hackster.io/fablabeu/esp8266-thing-by-sparkfun-982bc6

yukini3 commented 8 years ago

https://www.hackster.io/fablabeu/esp8266-thing-by-sparkfun-982bc6

I checked that web site but I couldn't find what I am looking for. Could you tell me which part is describing soft-power? Thanks!

ibaranov-cp commented 8 years ago

From the site"

"If you do want to wake up the ESP8266 THING while it is in deep sleep from the outside - like an external tigger: DTR to GND should makes this trick - works great!"