In this mode of ESP32, everything is disabled except RTC timers and some RTC GPIO pins which will be useful when the module needs to be woken up. When operating in deep sleep mode, ESP32 can be wake up by using events such as Timers, External interrupts, etc.ĮSP32 deep sleep power consumption is around 10-150uA of current which is very impressive. We can write a program in ULP and store it in its RTC memory so that it can access the peripherals, timers, etc. Only the ULP coprocessor, RTC and RTC Memory are turned on in this mode. In this mode, everything is switched off including CPU, Wi-Fi, Bluetooth, Peripherals, etc. This power mode of ESP32 consumes around 0.8 mA of current.ĭeep sleep mode of ESP32 is very efficient and consumes very less power when powered from the battery sources. As switching states consume a lot of power, hence if you disable it, we can save a lot of power. Clock gating is a technique to save power consumption in digital circuitry by disabling the clock pulses to flip-flops, which in turn disables the switching states. When light sleep mode exits, peripherals, and CPUs resume operation, their internal state is preserved. In light sleep mode of ESP32, digital peripherals, most of the RAM, and CPUs are clock-gated. This sleep pattern is called as Association sleep pattern. When the module is kept in this mode, if we need to keep Bluetooth/Wi-Fi connections active, then we have to wake the module in between a certain interval, which will switch the module in between active and modem sleep modes. This mode consumes around 2 mA at a slow speed where consumes around 50 mA at high speed. In this mode, everything is kept active except Wi-Fi, Bluetooth, Radio module and peripherals. As per the Espressif datasheet, it claims a current consumption of 95-240 mA in this mode. This mode is preferred, when the device is powered from the main supply. This is the most inefficient power mode of ESP32. In the active mode of ESP32, all the devices including CPU, Bluetooth, Wi-Fi, radio, RTC and ULP coprocessor are switched ON. The different power modes of ESP32 are:Ī comparison between different power modes of ESP32 as per Espressif datasheet is given below: Each mode has different power consumption ratings. This helps to save a lot of power when powered from the battery source.ĮSP32 can be configured at five different power modes. It is also able to run when ESP32 is in deep sleep mode. The specialty of this processor is that it can run independently from the main core processor and it also has access to GPIOs and some of the peripherals. ULP stands for Ultra-Low Power which is integrated into the ESP32 board. The ESP32 also has a low power coprocessor which is called ULP. Additionally, it has an inbuilt Wi-Fi Module, Bluetooth, RTC, and a lot of other peripherals which makes it popular for several IoT applications using ESP32. It can be seen in the figure above, ESP32 comes with a dual-core 32-bit Microprocessor with 448 KB of ROM, 520 KB of SRAM and 4MB of Flash memory. To learn more about ESP32, check the various ESP32 based projects. In this article, we will discuss different sleep modes of ESP32 and will check the current consumption in normal as well as in deep sleep mode. ESP32 offers different sleep modes, using which we can save a lot of power and can be able to run our IoT applications for a longer time using the battery source.
0 Comments
Leave a Reply. |