1x Ultrasonic sensor
1x Arduino Atmega328
Connecting wires As required
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Connection/Working:
Step 1: Upload the program given below in to Arduino board
Step 2: Connect the Arduino and Ultrasonic sensor in to the pins trigPin-13, echoPin-12
Step 3: Connect relay to Arduino pin 2 and motor to relay
Step 3: Now click serial monitor in the Arduino software
Step 4: Move your sensor and find distance approx,
Step 5: Follow us and subscribe our YouTube channel