Back to Home

Car Parking Sensor Project

PIC16F877A Based Distance Detection System

Parking Sensor Circuit

About the Project

This project aimed to design a car parking sensor system using the PIC16F877A microcontroller. The system uses two HC-SR04 ultrasonic sensors to measure the distance and angle of objects near the vehicle and provides audio and visual feedback to the driver to ensure safe parking.

Components Used

  • PIC16F877A Microcontroller
  • 2 x HC-SR04 Ultrasonic Sensors
  • 16x2 LCD Display
  • Buzzer (Audio Warning)
  • 4 x LED (Visual Warning)
  • 20MHz Crystal Oscillator
  • Resistors and Capacitors
  • 10kΩ Potentiometer

System Working Principle

Results

The system was tested in various scenarios, including tight parking spaces and reverse maneuvers. The sensors successfully detected objects and gave accurate, timely warnings to the driver. The combination of visual and auditory warnings increased parking safety.

Parking Sensor Display