Lower power consumption when starting wifi
Posted: Wed Nov 27, 2019 11:57 am
Hello,
I'm trying to lower the power consumption of the ESP32 when connected to WiFi.
Ideally i would like it run beneath 250 mA with small peaks to 300 mA because my power supply is limited.
For normal operation i can make it to run stable by lowering the TX power and setting the power safe mode, however i can only change these values when the wifi stack has already been started (so after esp_wifi_start).
During the start sequence i'm measuring a big spike in current. So the result is that i get a brownout because my power supply is limited (for this application i can't change the supply).
I'm wondering if somebody would know if this big spike while starting the wifi stack (esp_wifi_start()) can be limited. My guessing it uses the default TX power during this sequence, and after that i can change it to a lower power.
Thanks in advance!
I'm trying to lower the power consumption of the ESP32 when connected to WiFi.
Ideally i would like it run beneath 250 mA with small peaks to 300 mA because my power supply is limited.
For normal operation i can make it to run stable by lowering the TX power and setting the power safe mode, however i can only change these values when the wifi stack has already been started (so after esp_wifi_start).
During the start sequence i'm measuring a big spike in current. So the result is that i get a brownout because my power supply is limited (for this application i can't change the supply).
I'm wondering if somebody would know if this big spike while starting the wifi stack (esp_wifi_start()) can be limited. My guessing it uses the default TX power during this sequence, and after that i can change it to a lower power.
Thanks in advance!