Parking Assistant

by 1041987 in Circuits > Arduino

28 Views, 1 Favorites, 0 Comments

Parking Assistant

FFY85KBMQK1YNRL.jpg
OIP.jpg

Parking in a dark garage or driveway can be difficult, especially when it is hard to judge the distance between a vehicle and an obstacle. This project is a Smart Parking Assistant that uses an ultrasonic distance sensor, an LDR light sensor, an RGB LED, a buzzer, and a 555 timer circuit to help a driver park safely.

The system only activates when it is dark. As the vehicle approaches an obstacle, the RGB LED changes colour and the warning buzzer becomes more frequent. This provides both visual and audio feedback to help the driver park accurately and safely.

Supplies

IMG_2208.jpg
  1. Arduino Uno
  2. Ultrasonic Sensor
  3. Light Dependent Resistor
  4. RGB LED (Common Anode)
  5. NE555 Timer IC
  6. Buzzer
  7. 10kΩ Resistor
  8. 1kΩ Resistor
  9. 220Ω Resistors
  10. 10µF Capacitor
  11. Breadboard

Circuit Assembly

IMG_2209.jpg
IMG_2210.jpg

Ultrasonic Sensor

The HC-SR04 sensor measures the distance between the parking assistant and an obstacle.

Connections:

  1. VCC → 5V
  2. GND → GND
  3. TRIG → Arduino Pin 9
  4. ECHO → Arduino Pin 10

LDR Voltage Divider

The LDR allows the parking assistant to operate only in darkness.

Connections:

  1. One LDR leg → 5V
  2. Other LDR leg → A0
  3. 10kΩ resistor from A0 to GND

RGB LED

The RGB LED provides visual distance feedback.

Connections:

  1. Common Anode → 5V
  2. Red → Arduino Pin 3 through 220Ω resistor
  3. Green → Arduino Pin 5 through 220Ω resistor
  4. Blue → Arduino Pin 6 through 220Ω resistor

555 Timer Circuit

The 555 timer is configured as an astable multivibrator.

Connections:

  1. Power → 5V
  2. Ground → GND
  3. Reset → Arduino Pin 7
  4. Trigger connected to Threshold
  5. 1kΩ resistor from 5V to Discharge
  6. 10kΩ resistor from Discharge to Trigger/Threshold
  7. Output → Buzzer

Coding

The code reads data from the ultrasonic sensor and the LDR to determine the distance to nearby obstacles and whether it is dark enough for the system to operate.

The program then controls the RGB LED and the 555 timer warning circuit. Depending on the measured distance, the system displays different warning levels using colours and sound alerts.


Here is the file of the code.

Downloads

Conclusion

And just like that you have your very own parking assitant! It uses sensors,programming and digital circuits to help drivers safely park in dark spaces and is now ready to go!