Learn how to configure STM32 ADC in polling mode. Step-by-step tutorial with example code for STM32F103, F446, and H750 MCUs.
Microcontroller Tutorials with Code from Scratch
Learn STM32, ESP32, and embedded systems by writing code from scratch using datasheets and reference manuals. All tutorials are tested on actual hardware to help you build reliable, real-world projects with full control and understanding.
What’s New in STM32
How to Scroll Text on MAX7219 Dot‑Matrix with STM32 (SPI)
Step‑by‑step guide to scroll text on a MAX7219 dot‑matrix display with STM32 via SPI. Includes font handling, bit‑endianness and shift functions.
How to Cascade Dot Matrix Displays with STM32 – Step-by-Step SPI Guide
Learn how to cascade multiple MAX7219-based dot matrix displays with STM32 using SPI. Step-by-step wiring, cascading code, and column-to-row data conversion included.
Interface LED Dot Matrix with STM32 via SPI | PART1
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.
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.