Obstacle Avoiding Robot's Virtual Circuit

by jairawat in Circuits > Arduino

62 Views, 1 Favorites, 0 Comments

Obstacle Avoiding Robot's Virtual Circuit

Obstacle avoiding robot

Hello friends today I Jai Rawat is going to present my virtual obstacle avoiding robot, If the obstacle is far than 10 cm from the ultrasonic sensor which is set as a safe distance so the robot will continue to move forward and when the obstacle is less than 10cm it  would turn right.

Supplies

Screenshot 2021-11-27 at 7.07.33 AM.png
Screenshot 2021-11-26 at 9.32.03 PM.png
Screenshot 2021-11-26 at 9.31.13 PM.png
Screenshot 2021-11-26 at 9.30.27 PM.png
Screenshot 2021-11-26 at 9.29.18 PM.png

For obstacle avoiding robot's virtual circuit

-Supplies

-1 ultrasonic distance sensor

-1 Breadboard

-1 L293D (motor driver)

-1 arduino

-2 hobbymotor

Placing Your Supplies

Screenshot 2021-11-27 at 7.36.13 AM.png

First of all we will have to open a website named as tinkercad which will be used to make our virtual circuit. Once you are in you can login with google and then you have to go to circuits and after that you have to place all the supplies (you can get them by searching in the search-box) in the way shown in the picture above.

Making Conections

Screenshot 2021-11-26 at 9.28.18 PM.png

Connect all the supplies with the help of wires in the way shown in the picture.

CodeBlocks

Screenshot 2021-11-27 at 7.10.16 AM.png

When you have made the connections the last step is to do the coding for doing that you will have see a button named "Code" on the top right side and attach the blocks as shown in the picture.