This is a DIY parking assistant . It can be easily installed in any regular car . It will help the driver to park his car in most packed places . This parking assistant consist of an output led panel which will show a top overview of the car . So when the driver is parking his car and in case if the car is going to hit the wall then the assistant will detect it immediately with the help of the sensors . The part which is VERY close to the obstacle will be shown red in the panel with the help of led lights and a buzzer will start making noise .This way driver can easily park his car in packed places like mall , side roads etc. it will also be helpful to beginners for parking their car
Car PARKING ASSISTANT
Panel with respect to obstacle
const int pingPin1 = 7;
const int echoPin1 = 6;
const int pingPin2 = 4;
const int echoPin2 = 5;
const int pingPin3 = 3;
const int echoPin3 = 2;
duration1 = pulseIn(echoPin1, HIGH);
dist1 = 345*duration1/20000;
Serial.print(“dist1 = “);
duration2 = pulseIn(echoPin2, HIGH);
dist2 = 345*duration2/20000;
Serial.print(“dist2 = “);
duration3 = pulseIn(echoPin3, HIGH);
dist3 = 345*duration3/20000;
Serial.print(“dist3 = “);
if (dist1<=15 || dist2<=15 || dist3<= 15)
if (dist1 <= 15)
if (dist2 <= 15)
if (dist3 <= 15)
PARKING ASSISTANT WORKS IN THE FOLLOWING WAY :
STEP 1 : WE HAVE TO SWITCH ON THE PARKING ASSISTANT
STEP 2 : THE LED BOARD ACTIVATES .
STEP 3 : WHEN ANY SIDE OF THE CAR IS REACHING A CLOSE DISTANCE THE ULTASONIC SENSOR WILL DETECT THE OBSTACLE AND SEND SIGNAL TO ARDUINO .
STEP 4 : IF THE DISTANCE IS LESS THEN 15 CM THEN THE PART WHICH IS CLOSE TO THE OBSTACLE THAT RESPECTIVE PART WILL BE SHOWN RED IN THE PANEL WITH THE HELP OF LED .
STEP 5 : A BUZZER WILL ALSO START MAKING SOUND SIMULTANEOUSLY WITH THE LED .
STEP 6 : AS SOON AS THE DRIVER TAKES THE CAR AWAY FROM THE OBSTACLE LED TURNS OFF AND BUZZER STOPS .
STEP 7 : THIS WILL HELP DRIVERS PARK THE CAR WITHOUT ANY RISK OF GETTING ANY DENT .