Obstacle Avoidance Robot - Virtual Simulation
by Dhairya Jain in Circuits > Arduino
151 Views, 1 Favorites, 0 Comments
Obstacle Avoidance Robot - Virtual Simulation
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 -
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
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)
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
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.!! π.