STM32 GPIO output example using registers. Learn MODER, GPIOA, BSRR, and other GPIO registers with LED blinking code on STM32.
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.
STM32 Clock Setup using Registers
This tutorial will cover how to configure the clock in STM32 using Registers only. This is the first tutorial of the STM32 Register series…
USB CDC Device and HOST in STM32
This tutorial will cover how to implement USB CDC (Communication Device Class) in STM32 using both CDC Device, and CDC Host…
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…
How to communicate between HC-12 using STM32
This tutorial will cover how to communicate between STM32 MCUs using the HC-12 Module. We will use the uart to send the data…
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.
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…
Send and Receive data from the WebServer using STM32
This tutorial will cover how to communicate with the webserver, created on STM32 using ESP8266. We will send some data from the computer..
This tutorial will cover how to interface the BMP180 temperature and atmospheric pressure sensor with STM32. We will use the I2C peripheral..