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.
I must fill a tank 1.5 km away, so I create a 2-part controller.
A server with a relay to manage the pump and a client solar / battery-powered to check the tank’s status and notify It to the server.
Here we are going to assemble the Client PCB.
I must fill a tank 1.5 km away, so I create a 2-part controller.
A server with a relay to manage the pump and a client solar/battery-powered to check the tank’s status and notify the status to the server.
Here we are going to look at the Client software.
ESP32 has the ability to take advantage of many power saving modes, there are also many wake up sources, some are specific for light sleep and in this article we will focus on UART and GPIO wake up.
ESP32 has the ability to take advantage of many energy saving modes, but when you set sleep you also lose the status of the pins, but there is a way to preserve it and we will analyze it. Furthermore, the esp32 has powerful features such as the UPL a low-power processor that can wake you up in case of need.
ESP32 has the ability to take advantage of many energy saving modes, but if you use more aggressive sleep you can lost session, we look to how preserve the data and how to wake at a given moment in time and via touch.
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.