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

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 มี.ค. 2020
  • 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
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 74

  • @vikramjeetpaul
    @vikramjeetpaul 3 ปีที่แล้ว +4

    G8 project......keep it up!

  • @vikasgulati1488
    @vikasgulati1488 8 หลายเดือนก่อน +1

    🙏🙏👍👍👍👍 thanks for this lovely guidance

  • @mariaknwal7304
    @mariaknwal7304 หลายเดือนก่อน +1

    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.

  • @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!

  • @jayq2571
    @jayq2571 ปีที่แล้ว +5

    Amazing! Thank you for this especially this part 9:48

  • @mitchellbetts5818
    @mitchellbetts5818 3 ปีที่แล้ว +1

    I have a question about the code. During the if statements, [ "if(analogRead(lefts)

    • @nilimakulkarni4541
      @nilimakulkarni4541 หลายเดือนก่อน

      adjust the numbers as per ambient conditions and reflectiveness of surface

  • @blueoceans4366
    @blueoceans4366 3 ปีที่แล้ว +2

    The link in te description doesn't work anymore. Could you update it please?

  • @gorkemsivrifanclub8568
    @gorkemsivrifanclub8568 2 ปีที่แล้ว

    I can't start my engines, what do you think could be the reason?

  • @sirampavan6228
    @sirampavan6228 3 ปีที่แล้ว +1

    Uh um got another problem it says after DC motor does not exist and error

  • @spurthybathula1479
    @spurthybathula1479 ปีที่แล้ว

    The code link in description is not opening,if u don't mind can u resend it sir

  • @user-fr3ll3nl3j
    @user-fr3ll3nl3j 7 หลายเดือนก่อน

    why did it my robot stop when it detect the line and start making blinking sound

  • @veggalamharini929
    @veggalamharini929 2 ปีที่แล้ว +1

    Hey
    The code is not working.
    Can you guide me how to do it.

  • @arnoldgerarddescartin6706
    @arnoldgerarddescartin6706 2 ปีที่แล้ว

    ty

  • @abhayreddytigai
    @abhayreddytigai 9 หลายเดือนก่อน

    Bro how much it costs to prepare it

  • @surajitghosh5423
    @surajitghosh5423 ปีที่แล้ว +2

    What type of battery should be used ? And how much voltage...?? Plz reply 🙏🙏

    • @viharshpaharyapro8008
      @viharshpaharyapro8008 หลายเดือนก่อน

      Bro are you dumb ofcourse you will have to use branded AA batteries like Duracell
      Each having 1.5v each

  • @vikramjeetpaul
    @vikramjeetpaul 3 ปีที่แล้ว +2

    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  3 ปีที่แล้ว +1

      OK we will try to make a video

    • @vikramjeetpaul
      @vikramjeetpaul 3 ปีที่แล้ว

      @@QuadStoreRobotics Yes, sir thank u. Anyway, I have solved the problem, I have reduced the motor speed to 110 from 180.

  • @3dgiftz
    @3dgiftz 2 ปีที่แล้ว +5

    I also made line following robot👏👏👏👏

  • @dilumacademy7674
    @dilumacademy7674 2 ปีที่แล้ว +1

    ᴡᴏᴡ❤️

  • @kavithasuresh4604
    @kavithasuresh4604 3 หลายเดือนก่อน

    What if sensor is not working pls reply i want it by tommorow

  • @agent101_omm9
    @agent101_omm9 2 หลายเดือนก่อน

    i am having problems with my motors(they r working when directly connected)

  • @pragadeshchannel330
    @pragadeshchannel330 3 ปีที่แล้ว +4

    The kit is unavailable when can I get it

    • @QuadStoreRobotics
      @QuadStoreRobotics  3 ปีที่แล้ว +2

      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/

  • @kavitadhiman8466
    @kavitadhiman8466 ปีที่แล้ว

    Sir i m not able to upload the code there this robot doesn,t work tell me how to upload code

  • @elektronikahendry7707
    @elektronikahendry7707 3 ปีที่แล้ว

    mantaf

  • @shivenrajotia8907
    @shivenrajotia8907 3 ปีที่แล้ว +1

    How to tune IR sensor

  • @TheFunniestGamerVedu
    @TheFunniestGamerVedu 2 หลายเดือนก่อน

    It is not following the line .Please help me!

  • @donofficials3711
    @donofficials3711 2 ปีที่แล้ว

    can this robot detect bumps and act accordingly??

  • @Revusic
    @Revusic 3 หลายเดือนก่อน

    How to make it faster

  • @AnujKumar-xl3ge
    @AnujKumar-xl3ge 2 หลายเดือนก่อน

    Hamko bhi college me dena hai

  • @jatinraj7204
    @jatinraj7204 2 ปีที่แล้ว +1

    Sir can we get the circuit diagram ??

  • @sirampavan6228
    @sirampavan6228 3 ปีที่แล้ว

    Can I contact you ?

  • @tanishtated1926
    @tanishtated1926 3 ปีที่แล้ว

    can you make for 4 motors

    • @QuadStoreRobotics
      @QuadStoreRobotics  3 ปีที่แล้ว +1

      Connections are the same. You just need to add 2 left side motors and 2 right side motors in series.

    • @tanishtated1926
      @tanishtated1926 3 ปีที่แล้ว

      @@QuadStoreRobotics thanku

    • @tanishtated1926
      @tanishtated1926 3 ปีที่แล้ว

      and it can work on same code

    • @tanishtated1926
      @tanishtated1926 3 ปีที่แล้ว

      @@QuadStoreRobotics it can work on same code

    • @QuadStoreRobotics
      @QuadStoreRobotics  3 ปีที่แล้ว

      Yes it will work

  • @sunita-nirankar
    @sunita-nirankar 6 หลายเดือนก่อน

    sir pla mera madat krdo parsho mera exhibition h

  • @sirampavan6228
    @sirampavan6228 3 ปีที่แล้ว +2

    Can pls send me the code

    • @QuadStoreRobotics
      @QuadStoreRobotics  3 ปีที่แล้ว +1

      It is posted in the description section. Kindly check and download.

    • @sirampavan6228
      @sirampavan6228 3 ปีที่แล้ว

      @@QuadStoreRobotics thanks a lot

  • @kamalchandrabhawsar3
    @kamalchandrabhawsar3 ปีที่แล้ว

    Are sir mujhe iski commonds chahiye

  • @toobariaz8890
    @toobariaz8890 2 ปีที่แล้ว

    this code is not working

  • @WealthCraftsmen
    @WealthCraftsmen 2 ปีที่แล้ว +1

    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

  • @arunsheelam4457
    @arunsheelam4457 2 ปีที่แล้ว

    Please send the code sir

    • @QuadStoreRobotics
      @QuadStoreRobotics  2 ปีที่แล้ว

      We have updated the link of the code. Pls check now and download from the description section.

  • @Siddhivinayak600
    @Siddhivinayak600 2 ปีที่แล้ว

    Please send me Arduino Uno code

    • @QuadStoreRobotics
      @QuadStoreRobotics  2 ปีที่แล้ว

      We have updated the link of the code. Pls check now and download from the description section.

  • @AnujKumar-xl3ge
    @AnujKumar-xl3ge 2 หลายเดือนก่อน

    Las year hai 2 month tum hi hai

  • @sirampavan6228
    @sirampavan6228 3 ปีที่แล้ว +2

    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  3 ปีที่แล้ว +1

      You have not installed the required libraries. Please install all the library so that you will not receive the error message.

    • @sirampavan6228
      @sirampavan6228 3 ปีที่แล้ว

      @@QuadStoreRobotics ok

    • @Inhale_8632
      @Inhale_8632 2 ปีที่แล้ว

      @@QuadStoreRobotics how

    • @kpieceemmry3387
      @kpieceemmry3387 8 หลายเดือนก่อน

      @@QuadStoreRoboticsaside the library you installed in your video which other library do we need to install again?

    • @kpieceemmry3387
      @kpieceemmry3387 8 หลายเดือนก่อน

      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 2 หลายเดือนก่อน

    Aapka number mil jayega sir