STM32 Projects & Tutorials

This section provides step-by-step STM32 tutorials and tested code for learners ranging from beginners to experts. Programming is demonstrated in STM32CubeIDE using both HAL and LL drivers, making the examples easy to follow and adapt. The coverage spans GPIO, ADC, UART, timers, PWM, I2C, SPI, CAN, Ethernet, DMA, memories, displays, sensors, and many other peripherals—ideal for anyone looking to gain practical experience and develop reliable hardware projects.

STM32 Peripherals

STM32 as I2C SLAVE || PART 4

This is the 4th tutorial in the series, which covers how to write an I2C slave driver for the STM32. The master send the information byte….

Emulate STM32F103 as a MOUSE

In this tutorial of STM32 USB HID Device, we will see how to emulate STM32 as a mouse. The board is connected to the computer via…

STM32 Registers

How to Setup DMA using Registers

This tutorial of the STM32 Register series will cover how to setup the DMA. We will configure the DMA for the UART peripheral…

STM32 Displays

Riverdi STM32-U5 Embedded Display

This tutorial covers how to get started with the new Riverdi STM32-U5 Embedded Display. What are its advantages over the previous Riverdi…

LVGL on Riverdi STM32-H7 Display

This tutorial covers how to implement LVGL on the 7″ STM32H7 embedded Riverdi Display, and build the UI using the squareline studio…..

keypad

How to use 4×4 keypad with STM32

This tutorial will cover how to interface a 4×4 keypad with STM32. We will use the blocking mode to read the key data and then…

STM32 Timers

No results found, Go to Page 1.

STM32 Ethernet

STM32 ETHERNET #4. TCP SERVER

This it the fourth tutorial in the STM32 Ethernet series, and today we will see how to configure the STM32 as TCP Server…

STM32 ETHENRET #2. UDP SERVER

Create a new UDP control block using udp_new (). Bind the block to the local IP address and Port by using udp_bind

STM32 RTOS

No results found, Go to Page 1.

STM32 Memories

STM32 Sensors & Modules

GPS (Neo 6M) with STM32

The GPS module Transmits the data via the UART in the NMEA format. We will see how to decode it and extract the useful information from this data.