Tutorials
Practical STM32 and automation lessons with copy‑ready code. Start with the basics, then explore FreeRTOS and industrial protocols.
Blink an LED on an STM32 Nucleo (CubeIDE + HAL)
Create a new STM32CubeIDE project and blink the user LED using HAL. Great first project to validate your toolchain and board.
All tutorials
- Blink an LED on an STM32 Nucleo (CubeIDE + HAL)Beginner
Create a new STM32CubeIDE project and blink the user LED using HAL. Great first project to validate your toolchain and board.
- STM32CubeIDE: Project Setup & Debug QuickstartBeginner
Install STM32CubeIDE, create a project, build, flash, and debug on a Nucleo board.
- Button Input Debouncing (GPIO + Timer)Beginner
Debounce a pushbutton in firmware using a periodic timer; avoid false triggers.
- UART Logging: Retarget printf to USARTIntermediate
Route standard output to a UART for easy logs over a serial terminal.
- ADC with DMA: Continuous SamplingIntermediate
Configure ADC + DMA to sample a channel continuously and process data in the background.
- PWM Basics with General‑Purpose TimersBeginner
Generate a PWM on a timer channel to dim an LED or control a small DC motor.
- Modbus RTU Basics (RS‑485) on STM32Intermediate
Understand Modbus frames, addressing, and wire up a MAX485 transceiver with an STM32.
- Bootloader Basics on STM32 (Concepts)Advanced
What a bootloader is, memory layout, and high‑level flow; prepare for field updates.