If you're wondering: ESP8266 variant. Can't make the main thread go to sleep and wake it up on wifi events. You get to poll. Which doesn't work when you want power saving. Which I kind of do because I'm building a temperature sensor and 70mA constantly will warm it up.
-
-
Show this thread
-
It's really sad, because I implemented my entire application in 200 lines of code using all these wonderful pre-existing libraries, and now I have to rewrite it (which will probably be 2000 lines) because I hit a fundamental showstopper with power management.
Show this thread
End of conversation
New conversation -
-
-
Arduino is a good platform for non-programmers. It’s a nice “beefy” version of a PIC, with a easy to use UI. But as soon as your design requires anything serious, then Arduino becomes a horrible mess.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I'd measured it on an ESP32 (sans Arduino), in which turning the wifi on drew upwards of 80 mA. I don't know of a mode that takes lower current than that while keeping the radio on. Does ESP even support one?
-
The point of WiFi power saving is you do *not* have to keep the radio on all the time. You wake up every ~300ms (depending on AP config) to listen for incoming packets. Read this PDF: https://www.espressif.com/sites/default/files/9b-esp8266-low_power_solutions_en_0.pdf …
- Show replies
New conversation -
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.