A VIRTUAL OBSTACLE AVOIDING ROBOT

by anil.j.alexander in Circuits > Arduino

119 Views, 0 Favorites, 0 Comments

A VIRTUAL OBSTACLE AVOIDING ROBOT

A virtual Obstacle Avoiding Robot

Hello guys. Here we are using the TinkerCAD website to create a virtual Obstacle Avoiding Robot (OAR). So we add a sensor to the robot and the sensor will sense the distance between the obstacle and the robot. In this experiment, if the distance between the obstacle and the robot is less than 15cm then our online circuit has to move in the left direction. If the distance between the sensor and obstacle is greater than 15cm then our online robot has to keep moving forward.

Components Required

Breadboard.png
Motor Driver.png
Motor.png
Arduino UNO3.png
Ultrasonic sensor.png

The list of components required for this experiment is as follows -

Breadboard(1), Motor driver(L293D)(1), Motors(2), Arduino UNO R3(1), Ultrasonic sensor(1)

Connections

Circuit.png

Make the following connections as I have explained in my video to complete this circuit using the TinkerCAD website.

Code Blocks

Code blocks.png

To code, your circuit use the blocks in the TinkerCAD software as shown in the image above.