ESP32 Power consumption considerations
Posted: Mon Aug 07, 2017 10:27 am
Hello,
i made some test to get an idea of power consumption of ESP32 (devkitC by Olimex). I tried different scenarios and i want to summarize the data in a sort of table:
VCC=5V
N. CORES ACTIVE: DEFAULT
SCENARIO-----------------------------------------CPU80MHz-------------CPU160MHz-----------CPU240MHz
- CPU + ELECTRONICS + BT-----------------------113mA------------------123mA-----------------141mA
- CPU + ELECTRONICS------------------------------38mA------------------- 51mA -----------------73mA
- CPU (deep sleep) + ELECTRONICS-------------3.5mA-------------------3.5mA-----------------3.5mA
NOTE: With the term "ELECTRONICS" i summarize the contribution in the consumption of everything on the board except for ESP32
Comparing these results with the Table 6 of the esp32 datasheet:
https://www.espressif.com/sites/default ... eet_en.pdf
I'm not able to get a full grasp of what is drawing how much. From Table 6 of datasheet we have that, in modem sleep, with CPU powered on:
Max speed (i suppose 240MHz): 20 mA
Normal speed (i suppose 160MHz): 5 ~ 10 mA
Slow speed (i suppose 80MHz): 3 mA
Even if there should be a difference of 17mA between the slowest and the fastest case i get a difference in the range 28-35mA. At first i thought that this could be due to one or two core usage but i read this post:
viewtopic.php?f=12&t=1198&p=10623&hilit=40+44mA#p10623
where Igrr said
frax
i made some test to get an idea of power consumption of ESP32 (devkitC by Olimex). I tried different scenarios and i want to summarize the data in a sort of table:
VCC=5V
N. CORES ACTIVE: DEFAULT
SCENARIO-----------------------------------------CPU80MHz-------------CPU160MHz-----------CPU240MHz
- CPU + ELECTRONICS + BT-----------------------113mA------------------123mA-----------------141mA
- CPU + ELECTRONICS------------------------------38mA------------------- 51mA -----------------73mA
- CPU (deep sleep) + ELECTRONICS-------------3.5mA-------------------3.5mA-----------------3.5mA
NOTE: With the term "ELECTRONICS" i summarize the contribution in the consumption of everything on the board except for ESP32
Comparing these results with the Table 6 of the esp32 datasheet:
https://www.espressif.com/sites/default ... eet_en.pdf
I'm not able to get a full grasp of what is drawing how much. From Table 6 of datasheet we have that, in modem sleep, with CPU powered on:
Max speed (i suppose 240MHz): 20 mA
Normal speed (i suppose 160MHz): 5 ~ 10 mA
Slow speed (i suppose 80MHz): 3 mA
Even if there should be a difference of 17mA between the slowest and the fastest case i get a difference in the range 28-35mA. At first i thought that this could be due to one or two core usage but i read this post:
viewtopic.php?f=12&t=1198&p=10623&hilit=40+44mA#p10623
where Igrr said
Probably i'm missing something. Can anyone explains what happens?At 80 MHz, with two idling CPUs the chip consumes 44mA (without any radios), and with one CPU it consumes 40mA.
frax