Knowing and understanding the electrical consumption of the ESP32 is very important before undertaking a project with it.
In any electronics project, energy consumption is one of the main parameters that significantly influences design and execution.
This is even more important in the case of the ESP32, as it is a SoC designed for IoT applications. They typically operate continuously, or depend on limited energy sources, such as batteries.
The ESP32 is a very powerful SoC with wireless communication options. So, at full power, it consumes a lot of energy. You can drain any battery in hours.
Therefore, it is essential to understand the factors that affect its power consumption and use effective strategies to optimize it.
Factors that influence energy consumption
Operating Modes
The ESP32 offers several operating modes that influence its energy consumption. These modes include:
- Active mode
- Light Sleep
- Deep Sleep
See it in this post read more ⯈
Clock Frequency
The ESP32 allows adjusting the processor clock frequency to reduce energy consumption. By reducing the frequency, the processor executes instructions at a slower rate, which decreases energy consumption.
See it in this post read more ⯈
Peripherals and Communications
Energy consumption is also influenced by the peripherals and communications used. For example, enabling Wi-Fi, Bluetooth, and other peripherals consumes more energy than keeping them disabled.
Energy consumption in the ESP32
Let’s look at the standard consumption values of the “conventional” ESP32 (without a version behind) in different modes of operation.
Consumption with radio on
Consumption with different types of wireless communication.
Mode | Consumption |
---|---|
Transmit 802.11b | 240 mA |
Transmit 802.11g | 190 mA |
Transmit 802.11n | 180 mA |
Receive WiFi | 100 mA |
Transmit BT | 130 mA |
Receive BT | 100 mA |
Consumption with radio off
Wi-Fi and Bluetooth off, only CPU processing consumption.
Frequency MHz | Consumption |
---|---|
240Mhz | 30-68mA |
160Mhz | 27-44mA |
80Mhz | 20-31mA |
Consumption in sleep modes
Consumption in the different sleep modes.
Mode | Consumption |
---|---|
Light-Sleep | 800 uA |
Deep-Sleep with ULP | 160 uA |
Deep-Sleep without ULP | 10uA |
Hibernation | 5uA |
Power off | 1uA |
Energy consumption in the ESP32-S3
Here are the standard consumption values of the ESP32-S3 in different modes of operation.
Consumption with radio on
Consumption with different types of wireless communication.
Mode | Consumption |
---|---|
Transmit 802.11b | 340 mA |
Transmit 802.11g | 290 mA |
Transmit 802.11n | 290 mA |
Receive WiFi | 90 mA |
Transmit BT | 130 mA |
Receive BT | 100 mA |
Consumption with radio off
Wi-Fi and Bluetooth off, only CPU processing consumption.
Frequency MHz | Task | Consumption |
---|---|---|
40 | IDLE | 18.8 mA |
Single Core | 21.8 mA | |
Dual Core | 24.4 mA | |
80 | IDLE | 36.1 mA |
Single Core | 42.6 mA | |
Dual Core | 47.3 mA | |
160 | IDLE | 42.3 mA |
Single Core | 54.6 mA | |
Dual Core | 64.1 mA | |
240 | IDLE | 47.6 mA |
Single Core | 65.9 mA | |
Dual Core | 81.3 mA |
Consumption in sleep modes
Consumption in the different sleep modes.
Mode | Consumption |
---|---|
Light-Sleep | 240 uA |
Deep-Sleep | 8 uA |
Power-Off | 1 uA |
The energy consumption values we have seen are taken from official information and only refer to the consumption of the ESP32.
If your ESP32 is mounted on a board, with an LED, a voltage regulator, and who knows how many other things, that is NOT included.