Project Overview
This project is a classic Radar System that brings hardware and software together to see the world using sound. By combining the servo motor with an ultrasonic sensor
arduino UNO
Breadboard
Ultrasonic sensor
Servo motor
Jumpers(M/M , M/F)
place the ultasonic on the servo (i used double face), and connect the ultrasonic with M/F jumpers, connect the breadboard common ground to the ground pin of the arduino and connect the + of breadboard to the 5v pin of arduino
connect the servo on pin 12 and connect the VCCand GND of the servo on arduino, connect the Echo pin of ultrasonic on pin 11 and trigger on pin 10 also the VCC and GND on the arduino
Code Section
you need to download this program that process the ultrasonic movement
Source :
I took the circuit and code from