Virtual Design of Robot With Obstacle Avoiding Concept

by agrima_sareen in Circuits > Arduino

107 Views, 0 Favorites, 0 Comments

Virtual Design of Robot With Obstacle Avoiding Concept

instructableThumbnail.png

This is just the virtual design of a robot with obstacle avoiding concept, which is made using tinkercad.

Components Required

breadboard.png
motor.png
L293D.png
arduinoUNOR3.png
UltrasonicDistanceSensor.png
  • Breadboard - 1 No.
  • Motors - 2 Nos.
  • L2N3D - 1 No.
  • Arduino UNO R3 - 1 No.
  • Ultrasonic Distance Sensor - 1 No.

Drag the components into the space.

Connections Between the Wires

Connections.png

Now, connect the wires in the pattern as shown in the figure.

Coding the Computer to Turn Left If There Is an Obstacle Within 10 Cm

code.png

In the code section, enter the code as shown in the figure.

Run the Simulation

less than 10 cm.png
motor less than 10.png

Start the Simulation and drag the obstacle distance to less than 10 cm and you will notice that one of the motors RPM start decreasing, indicating that the robot will take a left turn.