This tutorial will cover how to interface the DHT22 Temperature and Humidity sensor with STM32. We will use the timer to generate…
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.
How to Create a Precise µs Delay on STM32 Using HAL & Timer
Learn how to implement an accurate microseconds delay on STM32 microcontrollers (e.g., STM32F103) using CubeIDE, HAL library, and a timer. Step-by-step CubeMX configuration, code snippet, and oscilloscope-tested results.
STM32 TIMERS #1 How to Generate PWM Output
Learn STM32 PWM setup using HAL and CubeMX: configure timer prescaler & ARR, control duty cycle via CCR, and start PWM with sample code and visuals
How to interface LCD1602 (I2C) with STM32
How to interface LCD1602 via I2C with STM32. The module PCF8574 is connected at the back of the LCD and it reduces the..