STM32 Projects & Tutorials

STM32 microcontrollers are widely used in embedded and industrial systems. This section offers practical tutorials and tested code for STM32F103, STM32F4, and Nucleo boards. Programming is done using STM32CubeIDE with both HAL and LL drivers. Topics include GPIO, UART, ADC, timers, and other core functions—ideal for learners and developers working on real hardware.

IWDG and WWDG in STM32

This tutorial will cover how to use the IWDG (Independent Watchdog) and WWDG (Window Watchdog) watchdogs in STM32…

STM32 USB HOST MSC

This tutorial will cover how to interface the USB FlashDrive with STM32 via the USB port. We will use the USB HOST MSC of the STM32..

STM32 USB HOST HID

This tutorial will cover how to interface the HID Devices (Mouse & Keyboard) with STM32. We will use the USB HID Host interface of the STM32..

Interface BMP180 with STM32

This tutorial will cover how to interface the BMP180 temperature and atmospheric pressure sensor with STM32. We will use the I2C peripheral..

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…

How to use STM32 as a KEYBOARD

This tutorial will cover another USB Device HID example, and today we will see how to use STM32 F103C8 as a keyboard for the computer.

ST7735 1.8″ TFT Display with STM32

This tutorial will cover how to interface ST7735 1.8″ TFT Display with STM32 using the SPI peripheral. We will also see how to setup a menu…