I started working with Deep-Sleep a short time ago and noticed that the information, techniques and tips are widely spread over the internet.
I create this topic to gather tips for maximum savings using software and hardware techniques.
It is an interesting discussion and I believe it will help many people.
I hope you will help me build these tips.
Here are mine:
Disable wifi calibration when you return from deep sleep, so you will avoid a power surge at this time (WAKE_NO_RFCAL):
ESP.deepSleep (10e6, WAKE_NO_RFCAL);
delay (100); (always remember to set this delay after deepsleep)
If you are going to wake up but you won't use wifi yet, use ModemSleep mode to save energy directed to wifi:
WiFi.disconnect (true);
WiFi.mode (WIFI_STA);
WiFi.forceSleepBegin ();
When using wifi, wake up the radio and connect:
WiFi.forceSleepWake ();
WiFi.begin (ssid, password);
I still do not understand well how some things work, so I can share with you!
EarlyDisableWiFi.ino
system_phy_set_rfoption
system_phy_set_powerup_option
system_deep_sleep_set_option
system_phy_set_max_tpw
system_phy_set_tpw_via_vdd33
ESP8266WiFiClass :: preinitWiFiOff ();
.....