OBSTACLE AVOIDING ROBOT-VAT69
by atharvvats15 in Circuits > Arduino
121 Views, 1 Favorites, 0 Comments
OBSTACLE AVOIDING ROBOT-VAT69
This project shows how to implement the Obstacle Avoiding Robot as an online stimulation using the TINKERCAD SOFTWARE. The robot will move towards the right if it detects an obstacle within 20cms of range else it will continue to move in the forward direction always.
Components Required
The following components are required for performing the activity:
- Breadboard-1
- L293D(Motor Driver)-1
- DC Motors-2
- Arduino UNO-1
- Ultrasonic Sensor-1
Connections
- Take all the components in the following arrangement.
- Connect the positive and negative lines as shown in the right side of the breadboard in the picture.
- CONNECT all 4 ends of L293D to positive line of the breadboard.
- CONNECT the GROUND of L293D to the negative line of the breadboard.
- CONNECT the positive terminal of MOTOR1 & MOTOR2 to OUTPUT 1 & OUTPUT 3 of L293D respectively.
- CONNECT the negative terminal of MOTOR1 & MOTOR2 to OUTPUT 2 & OUTPUT 4 of L293D respectively.
- CONNECT the Vcc of the ULTRASONICSENSOR to the POSITIVE line of the breadboard.
- CONNECT the GND of the ULTRASONICSENSOR to the NEGATIVE line of the breadboard.
CONNECT the TRIG AND ECHO of ULTRASONICSENSOR to 7&6of the ARDUINO respectively.
8,9,10 and 11 of the ARDUINO should be connected to INPUT1,INPUT2,INPUT3 & INPUT4 respectively of the L293D.
CONNECT 5V of ARDUINO to the positive line of breadboard.
CONNECT GND of the ARDUINO to the negative line of the breadboard.
CodeBlocks
Make the following Codeblocks using the TINKERCAD Stimulation software.
Thank You for viewing this. Best of luck with your project.👍🏻