Developing low-power applications
ESP32 allows us to develop low-power applications with its power management technology. This provides the following:
- Low-power clocks
- Ultra-low power (ULP) coprocessors
- Real-time controller (RTC) memory to be used in sleep modes
- Wake-up sources
By using these components on ESP32, we can develop highly efficient battery-powered IoT devices. There are five predefined power modes of ESP32:
- Active: All components of ESP32 are powered, with no power saving. In all examples up to this point, our devkit was in that mode.
- Modem-sleep mode: Here, Wi-Fi and Bluetooth are disabled, with no radio communication. For such system-on-chip (SoC) types, radio is on top in terms of power consumption. Therefore, when we turn the radio off, it makes quite a difference in saving power.
- Light-sleep mode: The high-speed clock and all dependent components stop. The cores and RAM are still powered but not available to use. Low-power...