Obstacle Avoidense Robot

by arvindergurdeep in Circuits > Arduino

166 Views, 0 Favorites, 0 Comments

Obstacle Avoidense Robot

My Second Simulation Video

This is a Obstacle Avoidense robot . This robot uses a ultrasonic sensor and a Arduino UNO R3 to sense the distance and if the robot comes near 10 cm to the obstical its changes its direction to left or right direction .

I Need......

Screenshot 2021-04-09 194558.png
Screenshot 2021-04-09 194732.png
Screenshot 2021-04-09 194805.png
Screenshot 2021-04-09 194833.png
Screenshot 2021-04-09 194901.png
Screenshot 2021-04-09 194940.png

(1) 1 L293D Motor Driver

(2) 1 9v battery

(3) 2 Hobby Gear Motor

(4) 1 Arduino UNO R3

(5) 1 ultrasonic Distance Sensor

(6) 1 Breadboard

Connections

Screenshot 2021-04-09 200159.png

Make the connections as shown as below

Code for Arduino UNO R3

Screenshot 2021-04-09 203012.png