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.

SPI using Registers in STM32

This tutorial will cover how to use SPI using Registers in STM32. We will see how can we send and receive data in master 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..

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..

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..

keyboard_arrow_up