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.

WS2812 LEDs using SPI

This tutorial covers how to interface WS2812 addressable LEDs with STM32 using the SPI. We use the MOSI pin to send the data to the driver…

STM32 as I2C SLAVE || PART 7

This is the 7th tutorial in the STM32 I2C slave series. This tutorial covers clock stretching, General Call and Dual Address Acknowledgement.

STM32 as I2C SLAVE || PART 6

This is the 6th tutorial in the series, which covers how to write an I2C slave driver for the STM32. The slave sends the data to the master..

keyboard_arrow_up