Object Avoidence Robot

by Prishas Kidsorato in Circuits > Robots

214 Views, 1 Favorites, 0 Comments

Object Avoidence Robot

Project Final Img.png

This is a robot which avoids obstacles

Supplies

needs tinkercad (website)

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

Add a H-Bridge Motor Driver

You can Find it as H-Bridge Motor Driver or L293D

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

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

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

From H-Bridge Motor Driver take wires

From H-Bridge Motor Driver all 4 grounds to - (minus) line

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

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

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

Now click on code and code blocks like this

eleventh step , Object avoidence robot.png

Now add Ultrasonic Distance Sensor from other components

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

Delete All Blocks

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

Steps Complete