Search found 4 matches

by garyeb
Sun Dec 11, 2016 10:21 pm
Forum: ESP8266 HDK
Topic: We really need a way to differenciate RESET and Wake Up from Deep Sleep
Replies: 13
Views: 31831

Re: We really need a way to differenciate RESET and Wake Up from Deep Sleep

Pratik, After posting my question, a friend suggested precisely the external latch solution you offered as an alternative for this application. It will also have a much lower power consumption since the ESP is powered of until the button is pushed. As soon as my MOSFET order arrives, I will test the...
by garyeb
Thu Dec 01, 2016 2:39 am
Forum: ESP8266 HDK
Topic: We really need a way to differenciate RESET and Wake Up from Deep Sleep
Replies: 13
Views: 31831

Re: We really need a way to differenciate RESET and Wake Up from Deep Sleep

Pratik, I did more research this morning and found an excellent example of a project (http://www.esp8266.com/viewtopic.php?f=13&t=8315) that confirmed my thought that there is no easy way to differentiate between a deep sleep wakeup and an external reset event. In his code, the author acknowledg...
by garyeb
Wed Nov 30, 2016 11:01 pm
Forum: ESP8266 HDK
Topic: We really need a way to differenciate RESET and Wake Up from Deep Sleep
Replies: 13
Views: 31831

Re: We really need a way to differenciate RESET and Wake Up from Deep Sleep

Pratik, The reset cause always returns '5' (deep-sleep wakeup) even if the reset button is pressed on my WeMos D1 Mini. In the latter case, I want it to return '6' (hardware reset) so I know it was a user event and can take the required action. If I comment out the 'deepSleep' line in my code below ...
by garyeb
Wed Nov 30, 2016 7:27 am
Forum: ESP8266 HDK
Topic: We really need a way to differenciate RESET and Wake Up from Deep Sleep
Replies: 13
Views: 31831

Re: [SOLVED} We really need a way to differenciate RESET and Wake Up from Deep Sleep

@gilmic Did you ever get an answer to this question? It's marked as 'solved' but it's not clear to me what the solution is. Your suggestion to check the value of the DeepSleep countdown makes sense if it can be accessed. This is one of the problem with DeepSleep since user events (like pushing a mom...

Go to advanced search