Re: Help on battery saving with ESP8266, battery info
Posted: Wed Mar 16, 2016 9:01 am
I don't know, but with this code
with just the wire from GPIO16 to RST, after some cycles the board enters in zombie mode (tested USB and battery), red led dim and pressing reset button is useless, I have to disconnect power.
Now with a 660R resistor between GPIO16 and RST it has been working for 2 hours, on USB.
Testing with battery now.
I don't know the reason, but it works. Same bard, same bench, same software, nothing else attached.
Code: Select all
void setup() {
Serial.begin(115200);
delay(100);
Serial.println();
Serial.println("Normal mode");
delay(10000);
Serial.println("Entering deep sleep");
ESP.deepSleep(10 * 1000000, WAKE_RF_DEFAULT);
delay(500);
}
void loop() {
}
with just the wire from GPIO16 to RST, after some cycles the board enters in zombie mode (tested USB and battery), red led dim and pressing reset button is useless, I have to disconnect power.
Now with a 660R resistor between GPIO16 and RST it has been working for 2 hours, on USB.
Testing with battery now.
I don't know the reason, but it works. Same bard, same bench, same software, nothing else attached.