Skip to content

About

Arduino/ESP-based proximity detection system using HC-SR04 ultrasonic sensor and WS2812B LED strip. Creates a symmetrical visual display that changes color and intensity based on object distance - perfect for parking assistance, obstacle detection, or interactive installations.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ESP32 Parking Sensor

Parking Sensor Demo

▶️ Click above to see the Parking sensor in action!

A visual parking assistance system using ESP32, ultrasonic sensor, and LED strip to help navigate tight garage spaces.

Problem

My garage is barely big enough for my car (4.7m car in 4.8m garage space). Standard parking sensors just beep without showing exact distance, making precise positioning nearly impossible.

Blog Post

Full build details, power considerations, and lessons learned: Build a Parking sensor with ESP32 board, LEDs and Ultrasonic distance sensor

Solution

LED strip that provides real-time visual feedback:

  • 🟢 Green: Safe distance (>200cm)
  • ⚪ White: Getting closer (10-200cm)
  • 🔴 Red: Danger zone (≤5-10cm)

LEDs illuminate from both ends toward center, creating an intuitive progress bar effect.

Hardware

  • ESP32: UM FeatherS3 (any ESP32 works)
  • Distance Sensor: HC-SR04 ultrasonic sensor
  • LED Strip: 1m WS2812B RGB strip (60 LEDs)
  • Power: 12V adapter + buck converter to 5V
  • Wiring: 18AWG for power distribution

About

Arduino/ESP-based proximity detection system using HC-SR04 ultrasonic sensor and WS2812B LED strip. Creates a symmetrical visual display that changes color and intensity based on object distance - perfect for parking assistance, obstacle detection, or interactive installations.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages