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.

STM32 Clock Setup using Registers

This tutorial will cover how to configure the clock in STM32 using Registers only. This is the first tutorial of the STM32 Register series…

WavePlayer using STM32 Discovery

This tutorial will cover how to make WavePlayer using STM32 Discovery board. It will be able to play the wave files from the USB device.

EEPROM and STM32

This tutorial will cover how to interface an I2C based AT24C EEPROM with STM32. The EEPROM is connected via the I2C peripheral…

External Interrupt using Registers

This tutorial will cover how to configure the external interrupt using the Registers in STM32 MCUs. We will use the button, which is connected..

PWM with DMA in STM32

This tutorial will cover how to use the Timer to generate the PWM(Pulse Width Modulation) wave in STM32. We will use the PWM in DMA mode..

Interface WS2812 with STM32

In this tutorial, we will interface the WS2812/B LED with STM32. I am going to use PWM with DMA to send the data to the LED..