Is there any performance/power consumption configuration to reduce the variation of the current?
In my project I use Wifi to send data, which drains more current from the 5V source. However, it seems Wifi or some task is not always working but periodically start/stops every 1.33 second. Then the voltage also varies every 1.33 second, as shown in the attached picture. The voltage noise makes trouble to my project, so I want to reduce the magnitude of the 1.33 Hz variation.
I'm wondering if there is any configuration to make the wifi work at full performance all the time other than periodically stops every 1.33 seconds?
Is the performance / power consumption of ESP32 configurable?
Re: Is the performance / power consumption of ESP32 configurable?
Try using esp_wifi_set_ps(WIFI_PS_NONE) to disable WiFi power saving mode.
Re: Is the performance / power consumption of ESP32 configurable?
Thank you Markkuk!
I tried this function with 'WIFI_PS_NONE' and 'WIFI_PS_MAX_MODEM' options. It seems doesn't make too much difference. The reason could be it kept sending data with WiFi, data rate is around 400kB/s and 10 packages per second. There may not be much room for the different power-saving mode.
I measured the current of the ESP32 module, as attached below, in case someone may need. There is a voltage regulator on the ESP32 module to convert 5V to 3.3V. With the current variation, the major variation of the output voltage is around 2mV, which changes the oscillator frequency a little bit.
I tried this function with 'WIFI_PS_NONE' and 'WIFI_PS_MAX_MODEM' options. It seems doesn't make too much difference. The reason could be it kept sending data with WiFi, data rate is around 400kB/s and 10 packages per second. There may not be much room for the different power-saving mode.
I measured the current of the ESP32 module, as attached below, in case someone may need. There is a voltage regulator on the ESP32 module to convert 5V to 3.3V. With the current variation, the major variation of the output voltage is around 2mV, which changes the oscillator frequency a little bit.
Who is online
Users browsing this forum: atx823, Gaston1980, Majestic-12 [Bot] and 241 guests