Learn to configure STM32 ADC external trigger using timers for precise sampling control. Includes CubeMX setup and HAL code for F1, F4, and H7 series.
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 ADC | PART 6 Conversion Time Explained
Uncover how to calculate and measure STM32 ADC conversion time. Includes sampling, resolution, ADC clock formula, CubeMX setup, and logic analyzer demo.
STM32 ADC | PART 5 Multi‑Channel without DMA using CubeIDE
Master STM32 ADC reading on multiple channels without DMA. Includes CubeMX setup and HAL C code for STM32F1, F4, and H7 to read channels individually.
STM32 ADC | PART 4 Multi‑Channel Circular DMA Mode using HAL
Explore STM32 ADC multi‑channel setup with DMA in circular mode. Step‑by‑step CubeMX configuration, HAL C code, and STM32F1/F4/H7 examples.
STM32 ADC | PART 3 Multi-Channel DMA (Normal Mode)
Learn to configure STM32 ADC for multi-channel readings using DMA in normal mode. Includes CubeMX setup, HAL code, and support for STM32F1/F4/H7 series.
STM32 ADC | PART 2 Single‑Channel Interrupt & DMA using HAL
Discover how to set up STM32 ADC1 for single‑channel analog-to-digital conversion using interrupt and DMA modes. Includes CubeMX config and tested HAL C code.
STM32 ADC Tutorial | Single Channel Polling Mode with Example Code
Learn how to configure STM32 ADC in polling mode. Step-by-step tutorial with example code for STM32F103, F446, and H750 MCUs.
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.