Home HAL

HAL

107 Articles

HCSR04 Ultrasonic sensor and STM32

This tutorial will cover how to interface the HCSR04 Ultrasonic distance sensor with STM32...

How to use the Internal RTC in STM32

This tutorial will cover how to use the inbuilt RTC of STM32. We will also see how to use the Alarm feature of...

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 Servo motor with STM32

How to interface a regular servo motor with STM32. We will use the PWM signal to vary the angular displacement of the motor...

oled

How to Interface SSD1306 OLED with STM32

How to interface the 0.96" SSD1306 Oled display with STM32. The Display is connected via the I2C and we will use the HAL...

How to interface DHT22 sensor with STM32

This tutorial will cover how to interface the DHT22 Temperature and Humidity sensor with STM32. We will use the timer to generate...

How to Generate Microseconds delay in STM32

How to generate Delays in micro and NanoSeconds in STM32 using HAL. We will use one of the timers to generate these delays..

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..