Obstacle Avoidance Robot

by parthanstechy in Circuits > Arduino

71 Views, 2 Favorites, 0 Comments

Obstacle Avoidance Robot

Second Robotic Simulation

This Instructable Article is about the virtual Obstacle Avoidance Robot(OAR). The robot is designed in such a way that when an object is more than 15cm away from the robot it will move forward and if it comes closer that is when the distance is less than 15cm the robot will move left.

Components Required

Breadboard.PNG
L293D-Motor-Driver.PNG
Motor.PNG
Arduino-Uno-R3.PNG
Ultrasonic-Sensor.PNG

The following are the components required for the OAR:

1. Breadboard - 1 No.

2. L239D Motor Driver - 1 No.

3. Motor - 2 Nos.

4. Arduino Uno R3 - 1 No.

5. Ultrasonic Sensor - 1 No.

Connection Diagram

Circuit-Block.PNG

Connect the components as shown in the above diagram using the TinkerCAD Software

Code Blocks

Code-Block.PNG

Write the code as shown in the above picture using the TinkerCAD Software