Timeline for Slow WiFi reconnection after deep sleep (6 to 10 seconds)
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 10, 2022 at 15:22 | review | Suggested edits | |||
Dec 10, 2022 at 18:59 | |||||
S Dec 10, 2022 at 12:07 | history | edited | hcheung | CC BY-SA 4.0 |
Added ready-to-use code and link to difficult-to-find function signature definition
|
S Dec 10, 2022 at 12:07 | history | suggested | Basj | CC BY-SA 4.0 |
Added ready-to-use code and link to difficult-to-find function signature definition
|
Dec 10, 2022 at 10:38 | vote | accept | Basj | ||
Dec 10, 2022 at 10:38 | comment | added | Basj | Thanks @hcheung. PS: I edited to add the code + link to doc about function signature (not easy to find!) | |
Dec 10, 2022 at 10:37 | review | Suggested edits | |||
S Dec 10, 2022 at 12:07 | |||||
Dec 10, 2022 at 10:00 | comment | added | hcheung | LDO stands for Low Dropout Output, refer to the regulator that convert the input voltage to 3.3v on your board. Typical Chinese made ESP32 boards or ESP8266 boards do not have good LDO, they designed for powering via USB. | |
Dec 10, 2022 at 9:53 | comment | added | Basj | Thanks @hcheung. What is "LDO"? Do you know standard consumer level ESP32 (easy to find on popular shops) that have good battery-operation? | |
Dec 10, 2022 at 9:38 | comment | added | hcheung | You need to do some measurement and calculate it yourself. As different boards may use different components, particularly the on-board LDO may not be designed for deep sleep application and has leakage current during deep sleep. If you can't design your own board, then look for those specially designed for battery-operation. | |
Dec 10, 2022 at 9:25 | comment | added | Basj | Thank you @hcheung for your answer. Do you know how much power it takes to do wake up + connection to Wifi (2 secondes) + send a single HTTP request (a few bytes to send) + go to deep sleep ? Do you think 200 mA * 3 seconds = 0.17 mAh is the right order of magnitude ? So it could be done ~6000 times on 3 AA batteries ? (I don't have equipment to do more precision measurement) | |
Dec 3, 2022 at 0:14 | history | answered | hcheung | CC BY-SA 4.0 |