Learn to interface an 8×8 LED dot matrix with STM32 using SPI and MAX7219. Covers initialization, wiring (PA5/SCK, PA7/MOSI, PA4/CS), and code walkthrough.
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.
Interface SH1106 1.3″ OLED with STM32 via I2C
Learn to interface a 1.3″ SH1106 OLED with STM32 via I2C. Includes wiring on STM32 I2C pins, CubeMX setup, init code, text, bitmaps & display offset handling.
Control Continuous Servo RPM with Potentiometer & STM32
Learn to control continuous‑rotation servo RPM via potentiometer (and optional button) on STM32: ADC setup, PWM mapping, direction & speed control.
Interface Continuous‑Rotation Servo with STM32 PWM
Learn to interface a continuous‑rotation servo with STM32 using PWM. Covers CubeMX timer setup, wiring, pulse‑width control (0.5–2.5 ms) for RPM & direction.
Interface Passive Buzzer with STM32
This tutorial will cover how to interface the passive buzzer with STM32 and how to play a melody containing tones of different frequencies…
This tutorial will cover how to display the clock on the TM1637 seven segment display using the internal RTC of STM32F103C8 MCU…
Interface 7 segment display with STM32 || TM1637
This tutorial covers how to connect the TM1637 seven segment display with STM32 and how to print the basic numbers on the display..
LVGL on STM32 || PART7 || Load LVGL from Ext Flash
This tutorial for LVGL on STM32 covers how to run the LVGL application from the External flash memory, W25Q connected via the QSPI mode……
W25Q Flash Series || Part 11 || XIP
In this PART 11 of the W25Q series, we will cover how to run an application from the External Flash, also known as XIP (Execute in Place)….