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…
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
How to interface DS18B20 with STM32
Interface DS18B20 Temperature sensor with STM32 using the microseconds delay generated using the Timer. The sensor uses one wire…
Internal RTC in STM32: Time, Date & Alarm HAL Tutorial
Learn how to configure the built‑in RTC on STM32 using HAL and CubeMX. Includes setting time, date, alarms, LCD display, VBAT backup – step‑by‑step guide.
How to use the SPI Peripheral in STM32
In this tutorial we will see how to use the SPI peripheral of STM32 to write and read the data from the ADXL345 accelerometer..
How to Interface Stepper motor with STM32
Interface the stepper motor 28BYJ-48 with STM32. The motor is connected via the driver ULN2003. We will use the Half Drive mode…
How to Interface DHT11 sensor with STM32
How to interface DHT11 Temperature and Humidity sensor with STM32. We will use the timer to generate the delay in microseconds…