Ultrasonic Sensor with LEDs and Buzzer

Concept
Components
Schematic diagram 1
Schematic diagram 2
Code
Image 1
image 2
Image 3
Process

The Ultrasonic sensor measures the distance of a person. Depending on the distance of the person the the LEDs will correlate with green for far, yellow for medium distance and red for close. The buzzer will also get louder as the person gets closer to the Ultrasonic sensor

Video