When the object comes within the range of the ultrasonic sensor the buzzer beeps and the led lights up indicating detection of the object . The HC-SR04 Ultrasonic Module has 4 pins, Ground, VCC, Trig ...