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.
Here is a beginner’s guide to MicroPython development on the ESP8266 and ESP32 boards using PyCharm IDE. It covers the basics of MicroPython, firmware flashing, and how to set up PyCharm for remote MicroPython development. Additionally, the article includes an example project that demonstrates how to control an LED using MicroPython code.
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.
Microcontrollers, the core of many embedded systems, have evolved from being programmed with low-level languages like Assembly or C to more accessible high-level languages like Python. MicroPython, a streamlined Python 3 implementation, is a prime example. This article explores the integration of MicroPython with the cost-effective, high-potential STM32F4 microcontroller from STMicroelectronics, with a focus on the WeAct STM32F411CE, STM32F401CC, and Nucleo board.
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.
In this guide, we aim to explore the many aspects of interfacing the I2C protocol with the popular ESP8266 microcontroller. As a versatile and powerful component, the ESP8266 has found its place in numerous IoT projects, primarily due to its WiFi capabilities and low cost.
Here an article that provides a step-by-step guide for getting started with MicroPython development on the ESP8266 and ESP32 boards using the Thonny IDE. The article covers how to flash MicroPython firmware onto the board and how to connect to the board using Thonny’s MicroPython plugin. Additionally, the article includes an example project that demonstrates how to control an LED connected to the board using MicroPython code.