This Is a Line Follower And Obstacle Avoiding Robot. The arduino smart car robot can follow the line with ir sensor and obstacle avoiding with ultrasonic sensor.
#arduinoprojects2021 #mrpopprojects #ArduinoLineFollowerRobot #ArduinoObstacleRobot #ArduinoProjects #Arduino #Arduinotutorial #Arduinoprojectsforbeginner #youtubeshorts #youtube #youtuber #youtubeshort #youtubechannel #youtubers #video #viral
Follow Me on Instagram:- [ Ссылка ]
PIN CONNECTION: -
1. A motor driver shield is attached onto the Arduino.
2. The motors are connected to the L293d motor driver Shield.
• Motor 1 to motor driver M1
• Motor 2 to motor driver M2
• Motor 3 to motor driver M3
• Motor 4 to motor driver M4
3.The IR sensor is connected to motor driver.
• IR sensor OUT pin is connected to motor driver A0 pin.
• IR sensor GND pin is connected to motor driver GND pin.
• IR sensor VCC pin is connected to motor driver 5v pin.
The same thing is done for another IR sensor making sure that OUT pin
Is connected to motor driver A1.
4.The servo motor is connected to motor driver servo1 slot.
5.The ultrasonic sensor is connected to motor driver.
• Hc-sr04 TRIG pin to motor driver A2.
• Hc-sr04 ECHO pin to motor driver A3.
• Hc-sr04 5v pin to motor driver 5v.
• Hc-sr04 GND pin to motor driver GND.
COMPONENTS REQUIRED: -
• Arduino Uno R3. Buy Link:- [ Ссылка ]
• Ultrasonic sensor Hc-sr04 for obstacle avoidance. Buy Link:- [ Ссылка ]
• 2 x IR Sensor for tracing the line. Buy Link:- [ Ссылка ]=
• L293d motor driver shield for controlling the motor. Buy Link:- [ Ссылка ]
• Servo motor Buy Link:- [ Ссылка ]
• 4 x motor with wheels. Buy Link:- [ Ссылка ]
• Wooden board.
• Jumper wires.
• Li-Ion battery with Holder. Buy Link:- [ Ссылка ]
Code And Circuit Diagram:-
[ Ссылка ]
![](https://s2.save4k.ru/pic/128D8fWCKvk/maxresdefault.jpg)