Skip to content

This repository contains STM32 microcontroller projects, including embedded C programs, peripheral interfacing, and hardware control examples for learning and development on STM32 boards.

Notifications You must be signed in to change notification settings

Chinmay-ESP/STM_Projects

Repository files navigation

🚀 STM32 HAL Practice Programs

Welcome to my STM32 HAL Hands-on Practice Repository 🎉 This repo is a progressive set of exercises designed to take you from beginnerindustry-ready embedded engineer using STM32 HAL (Hardware Abstraction Layer).


📌 Roadmap

🔹 Level 1: Beginner (GPIO + Basics)

  • Blink LED with delay (polling)
  • Blink LED using HAL_Delay() with different speeds
  • Push button input → toggle LED
  • LED ON when button pressed, OFF when released
  • 7-Segment Interfacing with STM32
  • Debounce push button using software
  • External interrupt (EXTI) → toggle LED

🔹 Level 2: Intermediate (Timers + Interrupts)

  • LED blink using Timer interrupt (instead of HAL_Delay)
  • Generate PWM signal on GPIO pin
  • Control LED brightness with PWM (dimming)
  • Servo motor control with PWM
  • Use Input Capture to measure external pulse width
  • Create a simple stopwatch using timer interrupt

About

This repository contains STM32 microcontroller projects, including embedded C programs, peripheral interfacing, and hardware control examples for learning and development on STM32 boards.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages