STM32 Display & GUI Tutorials
This page covers tutorials on adding display and graphical user interface capability to STM32 microcontrollers. From driving simple OLED and LCD screens to building full featured touch interfaces with frameworks like TouchGFX and LVGL, the series here cover a wide range of display implementations on STM32.
Whether you are displaying sensor readings on a small OLED, building a menu driven interface on a TFT screen, or designing a professional looking touch UI for an embedded product, you will find a series here that matches your use case. Each series starts from the hardware and display configuration and works through practical examples with working code and project files.
STM32 TouchGFX Series
The STM32 TouchGFX series covers how to build graphical user interfaces on STM32 using the TouchGFX framework. TouchGFX is a free, hardware accelerated GUI framework from ST that is tightly integrated into STM32CubeIDE, making it a natural choice for STM32 based display projects. The series covers everything from setting up the TouchGFX designer and configuring the display, to building screens, adding widgets, and handling touch input. If you are building a professional looking UI on an STM32 board, this is the series to follow.
TouchGFX #2. How to use TextArea and Wildcards
TouchGFX #3. Sending data to UI || MVP
TouchGFX#4. Sending data from another task || Gauge || Animation
TouchGFX #5. Data from UART to UI
TouchGFX #6. How to Build a Multiscreen Project
TouchGFX #7. How to implement on screen keyboard
TouchGFX #8. Send data from GUI to MCU
STM32 LVGL Series
The STM32 LVGL series covers how to build graphical user interfaces on STM32 using the LVGL library. LVGL is a lightweight, open source GUI library that works across a wide range of hardware and is not tied to any specific vendor toolchain, making it a flexible choice for STM32 display projects. The series covers setting up LVGL on STM32, configuring the display driver, and working through practical examples using widgets like buttons, labels, charts, and sliders. If you want full control over your GUI without being locked into a specific framework or IDE plugin, LVGL is worth looking into.
LVGL on STM32 || PART 1
LVGL on STM32 || PART 2
LVGL on Riverdi STM32-H7 Display
LVGL on STM32 || PART 4
LVGL ON STM32 || PART5
STM32 FMC || LCD PART3 || Add LVGL & Create UI
LVGL on STM32 || PART 6
LVGL on STM32 || PART7 || Load LVGL from Ext Flash
How to Interface GC9A01 Round Display with STM32 Using SPI + LVGL Integration
Display Analog Clock on GC9A01 Using STM32 + LVGL + SquareLine Studio (Part 2)
STM32 Oled Tutorials
The STM32 OLED tutorials covers how to interface and drive OLED displays with STM32 microcontrollers. OLED displays are a popular choice for embedded projects due to their low power consumption, good contrast, and compact size. The tutorials covers communicating with common OLED modules over I2C and SPI, displaying text and graphics, and working with different screen sizes and controllers. If you need a simple and compact display solution for your STM32 project, this series covers everything you need to get started.
Interfacing ADXL345 Accelerometer with STM32 via I2C
Interface SH1106 1.3″ OLED with STM32 via I2C
Port U8G2 Graphics Library to STM32 – Step‑by‑Step
Interfacing SSD1306 OLED Display with STM32 using I2C (HAL + CubeMX Guide)
STM32 LCD Tutorials
The STM32 LCD tutorials covers how to interface and drive LCD displays with STM32 microcontrollers. The series covers common LCD types including character LCDs for displaying text and graphical LCDs for more visual output, communicating over parallel and serial interfaces, and working with the STM32 LTDC peripheral for driving RGB displays. Whether you are displaying simple text output or building a more complete display solution, this series covers the setup and implementation from scratch.
STM32 Internal RTC Tutorial: Setup, Alarm, LCD Display & VBAT
LCD 20X4 using I2C with STM32
How to interface MPU6050 (GY-521) with STM32
GLCD 128×64 ST7920 interfacing with STM32
Interface 16×2 LCD with STM32 (No I2C) — 4-bit Guide
Custom characters in LCD 1602 || STM32
Interface I2C-LCD1602 (AIP31068) with STM32
STM32 FMC || LCD PART1 || How to configure for LCD
STM32 TFT and Other Displays
The STM32 TFT and display series covers how to interface a variety of display types with STM32 microcontrollers. This includes TFT displays for full color graphics, dot matrix displays for scrolling text and simple animations, and 7 segment displays for numerical output. The series covers the wiring, driver configuration, and practical examples for each display type, giving you a solid reference regardless of which display you are working with in your project.
