Tagged: Power saving

STM32 power saving: intro and Arduino vs STM framework 0

STM32 power saving: intro and Arduino vs STM framework – 3

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.

STM32F4 black pill power saving: manage clock frequencies 0

STM32 Power saving: STM32F4 black-pill manages clock and frequencies – 2

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.

STM32F1 blue pill power saving: manage clock frequencies 0

STM32 power saving: STM32F1 blue-pill manages clock and frequencies – 1

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 practical power saving manage WiFi sleep and CPU frequency 23

ESP32 practical power saving: manage WiFi and CPU – 1

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.