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.
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
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..