STM32 power saving: wake up from RTC alarm and Serial – 6
As usual our microcontrollers give a wide range of wake up sources, we already see a timed wake-up, and now we introduce the wake-up via RTC alarm and Serial of our STM32.
As usual our microcontrollers give a wide range of wake up sources, we already see a timed wake-up, and now we introduce the wake-up via RTC alarm and Serial of our STM32.
We have already described Idle mode and the relative power consumption, in this article we continue to measure power consumption of other sleep modes to have a brief comparison.
In a remote device, one important feature can be the power consumption, and like other devices, STM32 allows a set of Low Power states.
In this article, we look at the library to use and performance with our devices.
In a remote device, one important feature can be the power consumption, and like other devices, STM32 allows a set of Low Power states.
In the Arduino framework, these states are wrapped and simplified to allow the most straightforward management, but we will look at the original state of STM32 to better understand the test results.
An essential factor of our micro-controllers is power consumption. As usual, I started to analyze that aspect without entering the detail for sleep mode but with some alternative solutions offered by the micro controller.
Now we are going to examine the management of clock frequencies of STM32F4 series.
Mastering clock source and frequency management is vital in STM32 development. The STM32F1, or “Blue Pill,” provides several options to balance device performance and power saving. The STM32F1 sources its clock from an internal RC oscillator (HSI), an external crystal oscillator (HSE), or a Phase Locked Loop (PLL) that can amplify the HSI or HSE for higher frequencies. By carefully choosing and setting up these clock sources, you can greatly optimize your device’s power consumption.
ESP32 has the ability to take advantage of many energy saving modes, here we will understand how to put the device in deep sleep and hibernation mode but above all we will try to understand the differences.
ESP32 is capable of light sleep and deep sleep power saving modes, here we are going to learn how to put in modem sleep and light sleep mode your device and what mean put in sleep mode.
The ESP32 is capable to activate the energy saving modes of light sleep and deep sleep, but in many cases we cannot use such a solution, but it is still possible to apply some options to the functional units for reducing energy consumption.
Let’s set the sleep mode, disable the WiFi and scale the frequency to the CPU.