In this project, we would like to reproduce the ultrasonic parking radar that is now present in most of recent cars. The project uses an ultrasonic sensor to continuously measure the distance to the closest object. The three LEDs will light up according to the distance of detected objects, and the buzzer will sound for very close objects !!!!!!!
This is the situation when the distance is greater than 30 cm:
When the distance is less than 30 cm, the orange LED lights up:
Finally, when the distance is less than 20 cm, both the red LED and the buzzer are on:
Comments