Learn STM32 low power modes. Covers Sleep, Stop, and Standby with code, wake-up methods, and real STM32 Blue Pill power consumption data.
STM32 Projects & Tutorials
STM32 microcontrollers are widely used in embedded and industrial systems. This section offers practical tutorials and tested code for STM32F103, STM32F4, and Nucleo boards. Programming is done using STM32CubeIDE with both HAL and LL drivers. Topics include GPIO, UART, ADC, timers, and other core functions—ideal for learners and developers working on real hardware.
FreeRTOS TUTORIAL #4 -> Using Counting Semaphore
This tutorial will cover how to use the Counting Semaphore in FreeRTOS. We will see how we can use it to block the access to a shared…
Interface LCD 16×2 with STM32 without I2C
This tutorial will cover how to use the LCD1602 with STM32 in Parallel mode. We will use the 4 bit mode, where 4 data pins from the LCD…
Interface DS3231 RTC module with STM32
This tutorial will cover how to interface the DS3231 RTC module with STM32. The module is connected via the I2C…
FreeRTOS Tutorial #3 -> How to use Binary Semaphore
This tutorial will cover how to use the Binary Semaphore in FreeRTOS. We will use the semaphore to block the access to the shared…
Managing Multiple UARTs in STM32
This tutorial will cover how to manage the multiple uarts having circular buffer using the head and tail method…
FreeRTOS Tutorial #2 -> Task Operations
This is the second tutorial in the series of free RTOS, we will see how to create a task, switching between tasks, suspending, resuming…
This tutorial will cover how to use the DAC in STM32. We will also see how to generate a sine wave in the output of the DAC..
Interface TFT display with STM32
This tutorial will cover how to interface the TFT display with STM32. We will use a common library to interface different displays in parallel mode…
1 Comment.
[…] you’ve tried connecting multiple devices to your STM32 and only got random data or no response, you’re not alone. Many beginners face I2C problems such […]