Page 1 of 2
ESP8266 Sleep mode not low enough and Push button to wake up
Posted:
Sun Jan 20, 2019 12:11 pm
by josephchrzempiec
Hello I'm running into two problems The first is When i put the ESP8266-12F into sleep mode The Power is still in the milli amp range Not as high as before but still not low as it should be. I tried different sketches on the Arduino IDE and still got the same thing. Is there one that actually do work?
Second Question is when in sleep mode is there a possible way to wake the ESP8266 out of sleep with a button?
I'm not using the wifi on the ESP8266 so not sure how i can disable the ESPwifi? Sorry that was three questions.
Joseph
Re: ESP8266 Sleep mode not low enough and Push button to wak
Posted:
Sun Jan 20, 2019 2:18 pm
by rudy
The Power is still in the milli amp range Not as high as before but still not low as it should be.
What hardware do you have? Anything other than the ESP-12F? What voltage are you using on the ESP12F.
Second Question is when in sleep mode is there a possible way to wake the ESP8266 out of sleep with a button?
A button on reset will bring it out of deep sleep.
I'm not using the wifi on the ESP8266 so not sure how i can disable the ESPwifi?
https://circuits4you.com/2019/01/08/esp ... ave-power/Did you not do a web search? All this information is easily available.
Re: ESP8266 Sleep mode not low enough and Push button to wak
Posted:
Sun Jan 20, 2019 3:08 pm
by josephchrzempiec
Hello i have tried
wifi_set_sleep_type(MODEM_SLEEP_T);
and
WiFi.disconnect();
WiFi.mode(WIFI_OFF);
It looks like the second one works. But i don't see any reduce power savingswhen i do it. Only thing i can think of is the power Led might be what is keeping the power high.
I didn't know if wifi is turning off or not. I assume it was still drawing power. But looking at it closer it might be the Power Led.
Also i was looking for a way to wake it up without having to apply the reset button. That is what i couldn't find sorry i didn't say that in the original post.
Re: ESP8266 Sleep mode not low enough and Push button to wak
Posted:
Sun Jan 20, 2019 4:12 pm
by rudy
If the led is on then of course it is going to consume current. What else do you have in the circuit? What is powering the ESP? What is providing Vcc?
If you are not going to provide relevant information (as I asked in my reply above) then how can anyone give you any suggestions?
When the ESP8266 is in deep sleep then only the RTC oscillator is running. There is no other way to wake it up other than a reset. The program must be designed around this limitation.