Тёмный

How to make a Line Follower Robot Car Using Arduino L293d and IR sensors (HELP/SUPPORT Provided) 

Quad Store
Подписаться 1,3 тыс.
Просмотров 70 тыс.
50% 1

This video will show you everything you need to know about building a simple "Line Follower Robot Car Using Arduino".
In fact we have used very simple and readily available components in the market to build this line following robot car.
Let's see what are the parts we have used in building this DIY line follower robot car using arduino;
Components/Parts Required:
1. UNO R3 board, USB Cable
2. L293d motor driver shield for uno r3
3. Complete 2wd Car Chassis with motors and wheels
4. Infrared Sensor x 2
5. 4 cell AA Battery holder with ON-OFF switch
6. Female - Female jumper wires
7. Black Tape
8. L-Clamp x2
About Line Follower Robot:
A line follower robot is a robot which follows a certain path controlled by a feed back mechanism from the line sensors. You can build a line following robot car using 2 sensor, 3 sensor or even upto 8 infrared sensors based on your need.
Working Principle of Line Follower Car:
In this project, we have designed an Arduino based Line Follower Robot. The working of the project is pretty simple. Detect the black line on the surface and move along that line. The detailed working is explained here.
We need infrared sensors to detect the line. For line detection logic, we used two IR Sensors, which consists of IR LED and Photo diode. They are placed in a reflective way i.e. side - by - side so that whenever they come in to proximity of a reflective surface, the light emitted by IR LED will be detected by Photo diode.
In case of black surface, which has a low reflectance, the light gets completely absorbed by the black surface and doesn’t reach the photodiode.
Using the same principle, we will setup the IR Sensors on the Line Follower Robot such that the two IR Sensors are on the either side of the black line on the floor.
When the robot moves forward, both the sensors wait for the line to be detected. For example, if the IR Sensor 1 detects the black line, it means that there is a right curve (or turn) ahead.
Arduino UNO detects this change and sends signal to motor driver accordingly. In order to turn right, the motor on the right side of the robot is slowed down using PWM, while the motor on the left side is run at normal speed.
Similarly, when the IR Sensor 2 detects the black line first, it means that there is a left curve ahead and the robot has to turn left. For the robot to turn left, the motor on the left side of the robot is slowed down (or can be stopped completely or can be rotated in opposite direction) and the motor on the right side is run at normal speed.
Arduino UNO continuously monitors the data from both the sensors and turns the robot as per the line detected by them.
Uses of line follower robot car:
- Line follower Robots are commonly used for automation process in industries, military applications and consumer applications.
- Industrial Applications: These robots can be used as automated equipment carriers in industries replacing traditional conveyor belts.
- They are very useful as they can work without any supervision i.e. they work as automatic guided vehicles.
- With additional features like obstacle avoidance and other security measures, line follower robots can be used in driver less cars.
- Automobile applications: These robots can also be used as automatic cars running on roads with embedded magnets.
- Domestic applications: These can also be used at homes for domestic purposes like floor cleaning etc.
-------------------------------------------------------------------------
Need HELP / SUPPORT??
Feel free to use the comments section below to ask us any questions which you have related to the building the line follower robot car and we would be glad to assist you.
What are you waiting for ??? Its a FREE service which we would like to offer for all our audience who are watching this video.
Just like this video and subscribe to our channel and we we glad to assist you !
---------------------------------------------------------------------------
You can purchase the entire Quad Store - Line following robot car kit from Amazon India and their website using the links given below;
Amazon India Purchase Link:
www.amazon.in/dp/B0867MZR7L?r...
Quad Store India Website Purchase Link:
Use Coupon Code: FLASH100 to get Rs 100/- discount
bit.ly/2UpJBqZ
--------------------------------------------------------------------------------------------------
Source code, library and Circuit Diagram link:
quadstore.in/wp-content/uploa...
---------------------------------------------------------------------------------------------------
Tags:
#ArduinoProjects #ArduinoLineFollower #LineFollowerRobot #ArduinoLineFollowing #ArduinoSmartCar #LinefollowingCar #linefollowerCar #linefollowingRobot #ArduinoSmallProjects #arduinoSchoolprojects #diyarduinoProjects #make #line #following #follower #robot #robo #car #Arduino #ArduinoUnoR3

Хобби

Опубликовано:

 

21 мар 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 80   
@DilipKumar-zp7ns
@DilipKumar-zp7ns 3 года назад
@quadstore ,please help, when my right sensor detects black color, my left sensor detects as well( but my left sensor is not on a black line). The light goes off in both sensors , but only right sensor is on black line , and even my 4 wheel dont rotate backwards after detecting black surface , helppppp!
@mariaknwal7304
@mariaknwal7304 4 месяца назад
Can you please tell me if we can build this without the battery holder pin directly in arduino. I mean, I want to use the Motor Driver shield's external power Pins instead.
@kasemalrpe4106
@kasemalrpe4106 9 дней назад
L293D engine hood problem. Output voltage in m4. 7 volts, and the rest of the outputs are 2 volts
@vikasgulati1488
@vikasgulati1488 11 месяцев назад
🙏🙏👍👍👍👍 thanks for this lovely guidance
@blueoceans4366
@blueoceans4366 3 года назад
The link in te description doesn't work anymore. Could you update it please?
@sirampavan6228
@sirampavan6228 4 года назад
Uh um got another problem it says after DC motor does not exist and error
@gorkemsivrifanclub8568
@gorkemsivrifanclub8568 2 года назад
I can't start my engines, what do you think could be the reason?
@mitchellbetts5818
@mitchellbetts5818 3 года назад
I have a question about the code. During the if statements, [ "if(analogRead(lefts)
@nilimakulkarni4541
@nilimakulkarni4541 3 месяца назад
adjust the numbers as per ambient conditions and reflectiveness of surface
@vikramjeetpaul
@vikramjeetpaul 4 года назад
G8 project......keep it up!
@user-fr3ll3nl3j
@user-fr3ll3nl3j 9 месяцев назад
why did it my robot stop when it detect the line and start making blinking sound
@spurthybathula1479
@spurthybathula1479 2 года назад
The code link in description is not opening,if u don't mind can u resend it sir
@user-pt4ft4fr7n
@user-pt4ft4fr7n 2 месяца назад
Is castor wheel necessary
@kavitadhiman8466
@kavitadhiman8466 Год назад
Sir i m not able to upload the code there this robot doesn,t work tell me how to upload code
@arnoldgerarddescartin6706
@arnoldgerarddescartin6706 2 года назад
ty
@kavithasuresh4604
@kavithasuresh4604 5 месяцев назад
What if sensor is not working pls reply i want it by tommorow
@3dgiftz
@3dgiftz 3 года назад
I also made line following robot👏👏👏👏
@QuadStoreRobotics
@QuadStoreRobotics 2 года назад
Great to hear !
@TheFunniestGamerVedu
@TheFunniestGamerVedu 5 месяцев назад
It is not following the line .Please help me!
@surajitghosh5423
@surajitghosh5423 Год назад
What type of battery should be used ? And how much voltage...?? Plz reply 🙏🙏
@viharshpaharyapro8008
@viharshpaharyapro8008 4 месяца назад
Bro are you dumb ofcourse you will have to use branded AA batteries like Duracell Each having 1.5v each
@pragadeshchannel330
@pragadeshchannel330 4 года назад
The kit is unavailable when can I get it
@QuadStoreRobotics
@QuadStoreRobotics 4 года назад
Dear Pragadesh, This kit is available in Quad Store website. Please refer to below link; quadstore.in/shop/arduino/diy-line-following-robot-car-kit-using-arduino-compatible-uno-r3-l293d-shield-ir-sensor-with-step-by-step-video-tutorial/
@agent101_omm9
@agent101_omm9 4 месяца назад
i am having problems with my motors(they r working when directly connected)
@agent101_omm9
@agent101_omm9 4 месяца назад
pls help
@abhayreddytigai
@abhayreddytigai Год назад
Bro how much it costs to prepare it
@donofficials3711
@donofficials3711 2 года назад
can this robot detect bumps and act accordingly??
@jayq2571
@jayq2571 2 года назад
Amazing! Thank you for this especially this part 9:48
@QuadStoreRobotics
@QuadStoreRobotics 2 года назад
Great to hear that it was helpful for you :-)
@vikramjeetpaul
@vikramjeetpaul 4 года назад
Sir can you plz attach a servo and an ultrasonic sensor in front of this car, so that when an obstacle is detected in front of the robot (while in the black line) then the ultrasonic sensor will rotate right and left (with the help of the servo ) and then avoid the obstacle and then move back to the track! IT WILL BE GREAT IF YOU CAN MAKE IT....PLZ!
@QuadStoreRobotics
@QuadStoreRobotics 4 года назад
OK we will try to make a video
@vikramjeetpaul
@vikramjeetpaul 4 года назад
@@QuadStoreRobotics Yes, sir thank u. Anyway, I have solved the problem, I have reduced the motor speed to 110 from 180.
@veggalamharini929
@veggalamharini929 2 года назад
Hey The code is not working. Can you guide me how to do it.
@sreejaharikrishnan7182
@sreejaharikrishnan7182 2 месяца назад
I don't know the codes
@shivenrajotia8907
@shivenrajotia8907 3 года назад
How to tune IR sensor
@QuadStoreRobotics
@QuadStoreRobotics 2 года назад
Please check from 9.28
@Revusic
@Revusic 6 месяцев назад
How to make it faster
@dilumacademy7674
@dilumacademy7674 2 года назад
ᴡᴏᴡ❤️
@sirampavan6228
@sirampavan6228 4 года назад
Can I contact you ?
@priyankayadav-kn4tt
@priyankayadav-kn4tt 23 дня назад
Where is the code
@elektronikahendry7707
@elektronikahendry7707 3 года назад
mantaf
@WealthCraftsmen
@WealthCraftsmen 2 года назад
I tried building it but the code it too old and I read through the zip file and it doesn't work
@WealthCraftsmen
@WealthCraftsmen 2 года назад
I am talking about the libraries
@jatinraj7204
@jatinraj7204 2 года назад
Sir can we get the circuit diagram ??
@QuadStoreRobotics
@QuadStoreRobotics 2 года назад
Please check in the description section
@druhinmondal8747
@druhinmondal8747 2 месяца назад
How to insert the code??
@harshrajsingh7871
@harshrajsingh7871 2 месяца назад
Were you able to make it bro ??
@sunita-nirankar
@sunita-nirankar 9 месяцев назад
sir pla mera madat krdo parsho mera exhibition h
@toobariaz8890
@toobariaz8890 2 года назад
this code is not working
@RONALDOSTATUS674
@RONALDOSTATUS674 11 месяцев назад
Same😂
@kamalchandrabhawsar3
@kamalchandrabhawsar3 Год назад
Are sir mujhe iski commonds chahiye
@viharshpaharyapro8008
@viharshpaharyapro8008 4 месяца назад
Google kar
@tanishtated1926
@tanishtated1926 4 года назад
can you make for 4 motors
@QuadStoreRobotics
@QuadStoreRobotics 4 года назад
Connections are the same. You just need to add 2 left side motors and 2 right side motors in series.
@tanishtated1926
@tanishtated1926 4 года назад
@@QuadStoreRobotics thanku
@tanishtated1926
@tanishtated1926 4 года назад
and it can work on same code
@tanishtated1926
@tanishtated1926 4 года назад
@@QuadStoreRobotics it can work on same code
@QuadStoreRobotics
@QuadStoreRobotics 4 года назад
Yes it will work
@sirampavan6228
@sirampavan6228 4 года назад
Can pls send me the code
@QuadStoreRobotics
@QuadStoreRobotics 4 года назад
It is posted in the description section. Kindly check and download.
@sirampavan6228
@sirampavan6228 4 года назад
@@QuadStoreRobotics thanks a lot
@AnujKumar-xl3ge
@AnujKumar-xl3ge 4 месяца назад
Hamko bhi college me dena hai
@arunsheelam4457
@arunsheelam4457 3 года назад
Please send the code sir
@QuadStoreRobotics
@QuadStoreRobotics 3 года назад
We have updated the link of the code. Pls check now and download from the description section.
@Siddhivinayak600
@Siddhivinayak600 3 года назад
Please send me Arduino Uno code
@QuadStoreRobotics
@QuadStoreRobotics 3 года назад
We have updated the link of the code. Pls check now and download from the description section.
@sirampavan6228
@sirampavan6228 4 года назад
a problem in the code plz figure this : Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Uno" sketch_dec22b:5:1: error: 'AF_DCMotor' does not name a type; did you mean 'Adafruit_DCMotor'? AF_DCMotor motor(2, MOTOR12_64KHZ); // create motor #2, 64KHz pwm ^~~~~~~~~~ Adafruit_DCMotor C:\Users\DELL\Documents\Arduino\sketch_dec22b\sketch_dec22b.ino: In function 'void setup()': sketch_dec22b:11:3: error: 'motor' was not declared in this scope motor.setSpeed(200); // set the speed to 200/255 ^~~~~ C:\Users\DELL\Documents\Arduino\sketch_dec22b\sketch_dec22b.ino: In function 'void loop()': sketch_dec22b:17:3: error: 'motor' was not declared in this scope motor.run(FORWARD); // turn it on going forward ^~~~~ C:\Users\DELL\Documents\Arduino\sketch_dec22b\sketch_dec22b.ino: In function 'void setup()': sketch_dec22b:27:7: error: redefinition of 'void setup()' }void setup() { ^~~~~ C:\Users\DELL\Documents\Arduino\sketch_dec22b\sketch_dec22b.ino:7:6: note: 'void setup()' previously defined here void setup() { ^~~~~ C:\Users\DELL\Documents\Arduino\sketch_dec22b\sketch_dec22b.ino: In function 'void loop()': sketch_dec22b:32:6: error: redefinition of 'void loop()' void loop() { ^~~~ C:\Users\DELL\Documents\Arduino\sketch_dec22b\sketch_dec22b.ino:14:6: note: 'void loop()' previously defined here void loop() { ^~~~ Multiple libraries were found for "Adafruit_MotorShield.h" Used: C:\Users\DELL\Documents\Arduino\libraries\Adafruit_Motor_Shield_V2_Library-master Multiple libraries were found for "Wire.h" Used: C:\Program exit status 1 'AF_DCMotor' does not name a type; did you mean 'Adafruit_DCMotor'? This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
@QuadStoreRobotics
@QuadStoreRobotics 4 года назад
You have not installed the required libraries. Please install all the library so that you will not receive the error message.
@sirampavan6228
@sirampavan6228 4 года назад
@@QuadStoreRobotics ok
@Inhale_8632
@Inhale_8632 2 года назад
@@QuadStoreRobotics how
@kpieceemmry3387
@kpieceemmry3387 10 месяцев назад
@@QuadStoreRoboticsaside the library you installed in your video which other library do we need to install again?
@kpieceemmry3387
@kpieceemmry3387 10 месяцев назад
I need help urgently as I have boasted that I can do this project 😅to my students It’s unfortunate for me I have been on this project for four days and I can’t even make my robot wheel spin despite doing exactly what you did in the video@ Quadstore😅
@AnujKumar-xl3ge
@AnujKumar-xl3ge 4 месяца назад
Las year hai 2 month tum hi hai
@AnujKumar-xl3ge
@AnujKumar-xl3ge 4 месяца назад
Aapka number mil jayega sir
Далее
I made a SUPER FAST Line Follower Robot Using PID!
10:02
HYDRAULIC PRESS VS ARMOR, USA AND RUSSIA
10:16
Просмотров 429 тыс.
ТРОЛЛИНГ СКАМЕРА СТАНДОФФ 2
00:59
Line Follower Robot using Arduino🔥
7:01
Просмотров 509 тыс.
Arduino All-in-One Robot
8:29
Просмотров 1,2 млн
Obstacle Avoiding Robot Car Using An Arduino
10:40
Просмотров 262 тыс.
How To Make Line Follower Robot      Step by Step
7:33
Просмотров 174 тыс.
Motor driver shield control (L293D IC)
9:38
Просмотров 100 тыс.