I tried to use an Arduino implementation. Hours of digging through the source code later because half this stuff is undocumented I'm giving up, because the design choices are fundamentally stupid and broken. Why did I even try? Seriously. Sigh.
Literally just calling wifi_set_sleep_type(LIGHT_SLEEP_T); in ESP8266_NONOS_SDK-2.2.1 (and not spinning the CPU) brings down average power consumption to <5mA average and pings still work, just with increased/variable latency as the ESP is asleep between TIM intervals.
-
-
Appreciate you sharing the info! Not that I am not aware of it. The power requirements for my app are far lower than what even the latest gen (and soon to be launched) ESPs can deliver. Hence resorted to another stunningly low power uC to wake up the ESP only when needed.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I don't believe that <5mA is achievable. I see more like 30mA averaged. https://bbs.espressif.com/viewtopic.php?f=7&t=24393 …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.