
Things used in the project:
1. Test Board
2. Ultrasonic sensor
3. Arduino cable
4. +5V buzzer
5. Male to male pins
6. Arduino uno board
Connect the Components as shown in the circuit:
Connect the Buzzer positive terminal to the Arduino pin 2 and the negative terminal to the Gnd. Connect the VCC pin of ultrasonic to +5v pin and the Gnd to the ground.
Connect trig pin to pin 10 and echo pin to pin 9.
Upload the code in the...