Designing a BMS with STM32

Designing a Battery Management System (BMS) with STM32 involves defining the BMS requirements, choosing the appropriate microcontroller, designing the hardware, writing the firmware, testing, debugging, and deploying the BMS. This article provides a step-by-step guide to designing a BMS with STM32 and covers topics such as voltage sensing, current sensing, Read more…

How to interface EEPROM with STM32

Learn how to interface an external Electrically Erasable Programmable Read-Only Memory (EEPROM) with STM32 microcontrollers using the built-in EEPROM peripheral. Explore various EEPROM features and see an example code for easy understanding. Electrically erasable programmable read-only memory (EEPROM) is a type of non-volatile memory that allows users to store data Read more…

SPI communication with STM32

Serial Peripheral Interface (SPI) is a synchronous serial communication interface, used to communicate between microcontrollers and peripheral devices such as sensors, displays, and memory. STM32 microcontrollers support SPI communication, which enables fast and reliable data transfer between devices. In this article, we will explore SPI communication with STM32 microcontrollers, including Read more…

Introducing RTOS with stm32

Learn how to implement a Real-Time Operating System (RTOS) with STM32 microcontrollers using STM32CubeIDE. This article includes an example code for blinking LEDs using FreeRTOS on an STM32 board, making it a great starting point for beginners to learn RTOS with STM32. Introduction to RTOS on STM32 Microcontrollers: Real-time operating Read more…

Internal Temperature of STM32

Sometimes, we need to measure or check the internal temperature of the microcontrollers for safety reasons. So, in this article, I’ll cover how to measure the Internal Temperature of STM32 microcontrollers using the STM32CubeIDE compiler. So let’s begin. Why need to measure Internal Temperature? The answer is simple, for safety. Read more…