Object Avoidence Robot
![Project Final Img.png](/proxy/?url=https://content.instructables.com/FBO/0PWG/KM6B8OE8/FBO0PWGKM6B8OE8.png&filename=Project Final Img.png)
This is a robot which avoids obstacles
Supplies
needs tinkercad (website)
![first step , Object avoidence robot.png](/proxy/?url=https://content.instructables.com/FON/712M/KM6B8OEL/FON712MKM6B8OEL.png&filename=first step , Object avoidence robot.png)
First you need to add 2 components 1 is Breadboard and another Arduino Uno R3
![Second step , Object avoidence robot.png](/proxy/?url=https://content.instructables.com/F29/KS9E/KM6B8OFO/F29KS9EKM6B8OFO.png&filename=Second step , Object avoidence robot.png)
Add a H-Bridge Motor Driver
You can Find it as H-Bridge Motor Driver or L293D
![third step , Object avoidence robot.png](/proxy/?url=https://content.instructables.com/F9X/QBDI/KM6B8OGY/F9XQBDIKM6B8OGY.png&filename=third step , Object avoidence robot.png)
Now u need to add 2 wires . 1 from 5v to the upper +(plus) line and another from GND to -(minus) line and use the GND Which I used
![fourth step object avoidence robot.png](/proxy/?url=https://content.instructables.com/F1K/ST47/KM6B8OJB/F1KST47KM6B8OJB.png&filename=fourth step object avoidence robot.png)
Now only upper lines are getting battery so for the bottom lines to also get battery we need to connect a wire from upper +(plus) to lower +(plus) and from upper -(minus) to lower -(minus)
Even change colors like I have did
![fifth step , Object avoidence robot.png](/proxy/?url=https://content.instructables.com/FOE/9ESG/KM6B8OME/FOE9ESGKM6B8OME.png&filename=fifth step , Object avoidence robot.png)
From H-Bridge Motor Driver take wires
From Power 1 to +(plus) line
From Enable 3 &4 to +(plus) line
From Enable 1 & 2 to +(plus) line
From Power 2 to +(plus) line
![sixth step , object avoidence robot.png](/proxy/?url=https://content.instructables.com/FYX/ANSJ/KM6B8OSM/FYXANSJKM6B8OSM.png&filename=sixth step , object avoidence robot.png)
From H-Bridge Motor Driver take wires
From H-Bridge Motor Driver all 4 grounds to - (minus) line
![seventh step , object avoidence robot.png](/proxy/?url=https://content.instructables.com/F2S/I1P2/KM6B8OVY/F2SI1P2KM6B8OVY.png&filename=seventh step , object avoidence robot.png)
Add 2 motors and align them
Upper motor as Right Motor
Lower Motor as Left Motor
You can find motors as Hobby Geramotor
![eighth step , Object avoidence robot.png](/proxy/?url=https://content.instructables.com/F67/6DLW/KM6B8P9K/F676DLWKM6B8P9K.png&filename=eighth step , Object avoidence robot.png)
Now connect right Motor's positive wire to output 3 and negative in output 4
Now also connect left Motor's positive wire to output 1 and negative in output 2
![ninth step , Object avoidence robot.png](/proxy/?url=https://content.instructables.com/F93/0R7V/KM6B8PHO/F930R7VKM6B8PHO.png&filename=ninth step , Object avoidence robot.png)
Now you need to connect both upper and lower wires . Upper wires in D8 and D9 . Upper wires in D10 and D12.
![tenth step , Object avoidence robot.png](/proxy/?url=https://content.instructables.com/FL5/Q69Y/KM6B8PMF/FL5Q69YKM6B8PMF.png&filename=tenth step , Object avoidence robot.png)
Now click on code and code blocks like this
![eleventh step , Object avoidence robot.png](/proxy/?url=https://content.instructables.com/FS2/YK2K/KM6B8PP7/FS2YK2KKM6B8PP7.png&filename=eleventh step , Object avoidence robot.png)
Now add Ultrasonic Distance Sensor from other components
![twelfth step , object avoidence robot.png](/proxy/?url=https://content.instructables.com/FI2/UUJI/KM6B8PSW/FI2UUJIKM6B8PSW.png&filename=twelfth step , object avoidence robot.png)
Now VCC Wire from Ultrasonic Distance Sensor in +(plus) row
Now GND Wire from Ultrasonic Distance Sensor in -(minus) row
Now Trigger Wire from Ultrasonic Distance Sensor D7
Now Echo Wire from Ultrasonic Distance Sensor D6
![thirteenth step , object avoidence robot.png](/proxy/?url=https://content.instructables.com/FBS/Y7TL/KM6B8Q0V/FBSY7TLKM6B8Q0V.png&filename=thirteenth step , object avoidence robot.png)
Delete All Blocks
![fifteenth step , object avoidence robot.png](/proxy/?url=https://content.instructables.com/F6T/0SKB/KM6B8Q3A/F6T0SKBKM6B8Q3A.png&filename=fifteenth step , object avoidence robot.png)
The blocks should be like this and when u add the sign it should be < and in number 5 rest blocks u have seen
Working Video
![object avoidance virtual robot](/proxy/?url=https://content.instructables.com/FLG/PIGE/KM6B8QG9/FLGPIGEKM6B8QG9.jpg&filename=object avoidance virtual robot)
Steps Complete