This tutorial will cover how to display the clock on the TM1637 seven segment display using the internal RTC of STM32F103C8 MCU…
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
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…
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.
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 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.
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.