Obstacle Avoidance Robot - Virtual Simulation

by Dhairya Jain in Circuits > Arduino

151 Views, 1 Favorites, 0 Comments

Obstacle Avoidance Robot - Virtual Simulation

Obstacle Avoidance Robot - Circuit Design | Tinkercad

Hi guys,

In this particular Instructable I will tell you how to make a very simple Obstacle Avoiding Virtual Circuit using an online software -Tinkercad

In this circuit the motors will rotate in the Forward direction when the distance between the Ultrasonic Sensor and the obstacle is greater than 10 cms. And when the distance between the Ultrasonic Sensor and the obstacle is lesser than 10 cms, the motors will rotate in the Left direction

Gathering the Materials -

breadboard.png
arduino.png
l293d.png
sensor.png
motor.png

The materials required for making this circuit are :-

  • Breadboard - 1x
  • Arduino UNO R3 - 1x
  • H - Bridge Motor Driver (L293D) - 1x
  • Ultrasonic Distance Sensor - 1x
  • Hobby Gearmotors - 2x

Once you've collected all the components, jump to the next step. β†’

Connecting the Circuit

circuit....png

Next, connect the wires to the components with reference to the picture above.πŸ‘†πŸ‘†

After you've done this, you can now build the code.

Programming the Brain (Arduino UNO R3)

codeblock.png

Now, assemble the Code by placing the blocks in the proper order by observing the picture above.πŸ‘†

Once you're done, there's only the last step left…

Checking Whether the Robot Works

TEST.png

Check the circuits and the codes before testing the robot. You might want to double - check it to make sure you know that your circuit is working just fine. To test the robot you need to click on the Start Simulation button and if it works, just enjoy the cool system. πŸ€–

Have a great time constructing the awesome circuit.!! πŸ˜€.