How to make a Line Following Robot || Arduino Project || Line follower robot making tutorial

Поділитися
Вставка
  • Опубліковано 3 лют 2025

КОМЕНТАРІ • 76

  • @deigo9036
    @deigo9036 Рік тому +4

    Can you please provide the sketch of the wires? Thanks!
    Edit: No worries i figured out where the wires go by looking at your ultrasonic sensor video, the robot works perfectly fine. Thanks!

    • @Science_4U_
      @Science_4U_  Рік тому +2

      Okay.That is great friend...🙂💓

    • @AbelJiss
      @AbelJiss 3 місяці тому +1

      Dfgg​@@Science_4U_

    • @AbelJiss
      @AbelJiss 3 місяці тому +1

      ​@@Science_4U_where link

    • @Science_4U_
      @Science_4U_  3 місяці тому

      @AbelJiss Links given in description box below each video..
      Link for downloading code :
      drive.google.com/file/d/1wKpRv65T133Au_yn7OQcWQ946ee2NpMl/view?usp=sharing
      OR
      www.mediafire.com/file/fppij037r0vvb8i/Line_following_robot.ino/file
      Link to download Circuit Diagram:
      drive.google.com/file/d/19x6GT793EYPVy7-UeiZlS203cZpI9FHB/view?usp=sharing

  • @Franz0804
    @Franz0804 2 місяці тому +2

    Why does my wheels only work when there is no obstacle? It only works when the ir sensor is detecting the black line. How can I reverse the function of ir sensor from off to on?

  • @supercaiogames4851
    @supercaiogames4851 2 місяці тому +4

    Hey mate, what are the measurements for the plywood? And, do I need to use plywood? Can I 3d print the bord? (Btw, if this sounds dumb, I'm sorry, Im just a 6th grader)

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      I am using a plywood with a length of 250mm and width of 120mm..Definitely you can design and 3D print the board also.

    • @supercaiogames4851
      @supercaiogames4851 2 місяці тому +1

      @ thx

  • @maumimi2089
    @maumimi2089 8 місяців тому +1

    Basic question: can the lines be made with black tape itself, will it be too reflective for the sensor? Or do we have to use black chart paper for making them?

    • @Science_4U_
      @Science_4U_  8 місяців тому +1

      Hi friend, from my experience it can be made from black tape itself. I have infact used a black insulation tape which was slightly refective also. Just make sure you have a contrast with the background. If you are using black tape, the floor should be a light background.

    • @maumimi2089
      @maumimi2089 8 місяців тому +1

      Thank you

  • @joshyoung5961
    @joshyoung5961 2 місяці тому +2

    the wheels seems to be going in reverse did i do something wrong?

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      @@joshyoung5961 Hi friend. Just intrrchange the connection of the motor to the l298n driver board.

  • @Animality420
    @Animality420 2 місяці тому

    Hi, do you still reply? Can I use 3 battery on my robot? Like I think its around 16v, does it affect my robot or not?

  • @VanessPinky
    @VanessPinky 2 місяці тому +1

    Hi sir, thank you, but i would like to know how do I make a logic with an implementation in which each sensor is defined in an array of 5 like with 5 infrated sensor and if the 5 infrated sensor detect the line at the same time like a T line), the car stopped. I need help, its kinda urgent

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      @@VanessPinky Hi..you can do this with 2 IR sensor as well. The robot has to stop if both IR sensors detect a black line..

  • @jhakeyvancudal3467
    @jhakeyvancudal3467 8 місяців тому +2

    what battery should i use if i dont have a lithium/lip-ion battery?

    • @Science_4U_
      @Science_4U_  8 місяців тому +1

      You can use 9V zinc chloride battery. These are very cheap and commonly available but dont last long. You can use 3 or 4 nos. of these batteries in parallel so that it will last for some time.

    • @Science_4U_
      @Science_4U_  8 місяців тому +1

      You can also yse 4Nos. of AA zinc chloride batteries.

  • @prakashpoojary3575
    @prakashpoojary3575 3 місяці тому +2

    Can you use ardioun classic board i exchang of ardioun r3

    • @Science_4U_
      @Science_4U_  3 місяці тому +2

      Yes friend. Any arduino board will work.

  • @AmazonProductReviews-ql1fm
    @AmazonProductReviews-ql1fm 2 місяці тому +1

    Hey friend. I made this robot but one wheel is moving faster than the other, so it's not moving straight when both sensors detect white. How can I fix that?

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      Hi friend. That may be most probbaly because the motors may be of different speed capacity. There are 60 rpm, 100 rpm and 300 rpm BO motors. May be both the BO motors are not of same speed..

  • @nishorgo
    @nishorgo Рік тому +2

    Thank you, we have made this. But the line follower is going in circles.

    • @Science_4U_
      @Science_4U_  Рік тому +1

      Hi friend..Do you mean that both the wheels are rotating in opposite directions?. If yes, please interchange the motor wire connection at the motor driver board of the wheel that is rotating backwards. That should solve the problem..

  • @scriptmagician-3008
    @scriptmagician-3008 2 місяці тому +1

    Can i use brown tape in place of brown tape
    ?

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      Black will work better since it will give more contrast. So the IR sensor will work better. Brown may also work though I have not tried.

  • @tuankhanhvo7416
    @tuankhanhvo7416 2 місяці тому +1

    is it necessary to adjust the sensors? my robot is not working

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      @@tuankhanhvo7416 yes friend.Definitely. it will be required to adjust the sensitivity of the sensors so that it detects the line correctly.

    • @calvinmakena4698
      @calvinmakena4698 2 місяці тому

      ​​@@Science_4U_ How do we go about adjusting the sensors

  • @thenmozhivaradharajan2962
    @thenmozhivaradharajan2962 8 місяців тому +2

    thanks for your video, but what code can I program for 4 wheeled robot ? Can you please reply me ?

    • @Science_4U_
      @Science_4U_  8 місяців тому +1

      Hi friend. You don't need to change the code at all for making a 4 wheeled robot. Instead of the one motor at left and right, you can connect 2 motors together. Join together red wires of both left side motors. Also join together both black wires of left motors. Connect this to l298n driver board. Similarly do for right side motors also. It is a bit difficult to tell clearly. I have done such a bluetooth car which uses 4 motors. You can watch that video given below to get an idea.
      ua-cam.com/video/JK6zTM65Rh0/v-deo.htmlsi=DyolGcEuwJ0KVFDl

    • @thenmozhivaradharajan2962
      @thenmozhivaradharajan2962 8 місяців тому

      Thank you 🎉

  • @R.W-oh9ps
    @R.W-oh9ps 8 місяців тому +1

    Is this possible using TCRT5000 sensor instead IR sensor as in your tutorial?

    • @Science_4U_
      @Science_4U_  8 місяців тому

      I have not tried this project with TCRT5000 sensor. But I think this should also work..

  • @scriptmagician-3008
    @scriptmagician-3008 3 місяці тому +1

    Can I directly use power bank for giving power by aurduino cable

    • @Science_4U_
      @Science_4U_  3 місяці тому +2

      Yes friend. Surely you can do like that

  • @UduakSunday-f5m
    @UduakSunday-f5m 23 дні тому

    Mine is not following the line.pls what is the cause

  • @YuviFlicksFps
    @YuviFlicksFps 4 місяці тому +1

    Hello friend
    Whats rhe battery life ? I wanna make this in my science exhibition.

    • @Science_4U_
      @Science_4U_  4 місяці тому +1

      @@YuviFlicksFps Hi friend. It depends on the batteries that you are using. I used 2 x 18650 rechargeable batteries and the battery life is quite good. It can last atleast 2-3 hours of usage.

  • @frenchfries-xl3mp
    @frenchfries-xl3mp 6 місяців тому

    hi, where can I find the drawing template for ply wood (base of car)?

  • @veerappan1723
    @veerappan1723 Місяць тому

    Every connection is fine but it doesn't sensing rather it is rotating in circular

  • @YuviFlicksFps
    @YuviFlicksFps 4 місяці тому +2

    Maybe i am gonna start making this
    I wnna make sure you reply to problems?

    • @Science_4U_
      @Science_4U_  4 місяці тому

      Ya sure friend. I can reply if you face some problems. You can chat directly with me in my instagram id given in the channel description.

    • @YuviFlicksFps
      @YuviFlicksFps 4 місяці тому

      Inwas thinking of caster wheel at the back and 2 wheels in the front for more smoothness​@@Science_4U_

  • @scriptmagician-3008
    @scriptmagician-3008 2 місяці тому +1

    Bro it's not following the line instead it is avoiding the line.. Pls help. Me this the last step

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      @@scriptmagician-3008 can you interchange the connection of OUT signal wires of left and right IR sensor to Arduino friend?.

  • @Ramasubramaniam-pk7pu
    @Ramasubramaniam-pk7pu 5 місяців тому +1

    Sir do you soldering the wire wither motor?

    • @Science_4U_
      @Science_4U_  5 місяців тому +1

      Yes. The black and red wires have to be soldered with the motor terminals.

  • @rrlift26
    @rrlift26 Рік тому +1

    It's says the TCCR0B was not declared how to solve this problem

    • @Science_4U_
      @Science_4U_  Рік тому

      Hi friend. I am not getting this error when I am compiling and uploading the code. Are you IDE software from PC/laptop for uploading the code or are you using phone application?

  • @robertoacao7473
    @robertoacao7473 2 місяці тому +1

    hello sir the code isaid errors how to fix?

    • @Science_4U_
      @Science_4U_  2 місяці тому +1

      Hi friend.What is the error that it is showing?

    • @robertoacao7473
      @robertoacao7473 2 місяці тому +1

      @@Science_4U_ its not error sir sorry but after i upload it the dc motors doesnt work it doesnt go forward how do i fix this

    • @Science_4U_
      @Science_4U_  2 місяці тому +2

      It could be due to many reasons friend. 1. L298n motor driver board may be faulty.2. Batteries may be discharged and not powerful enough to drive the motors.

    • @robertoacao7473
      @robertoacao7473 2 місяці тому +1

      @@Science_4U_ thankyou sir now I found the issue, it was in my battery it wasn't compatible and that I should add more battery

  • @thenmozhivaradharajan2962
    @thenmozhivaradharajan2962 7 місяців тому +1

    Can you please make a video of bluetooth mobile controlled drone
    ?

    • @Science_4U_
      @Science_4U_  7 місяців тому +1

      I haven't made that yet. I will try ro make one soon..

  • @ardhioalif2059
    @ardhioalif2059 5 місяців тому +1

    Thanks dude

    • @Science_4U_
      @Science_4U_  5 місяців тому +1

      You are most welcome friend...🙂🥰

  • @reauvu
    @reauvu 7 місяців тому +1

    the code link is not available! i need the code please

    • @Science_4U_
      @Science_4U_  7 місяців тому +1

      Hi friend. I have uploaded the code in mediafire website also. Can you try downloading the code from the following link ?
      www.mediafire.com/file/fppij037r0vvb8i/Line_following_robot.ino/file

  • @khaderpashashaik4558
    @khaderpashashaik4558 Рік тому +1

    Sir can u do help me with my major project

    • @Science_4U_
      @Science_4U_  Рік тому +1

      Okay friend. Sure..I will help as much as I know. What is your project?

  • @suthanthiransutharsini8748
    @suthanthiransutharsini8748 5 місяців тому +1

    What this coding

    • @suthanthiransutharsini8748
      @suthanthiransutharsini8748 5 місяців тому +1

      PLEASE GIVE THIS CODING

    • @Science_4U_
      @Science_4U_  5 місяців тому +1

      @suthanthiransutharsini8748 The links to download code is given in the description box below each video..I have given download links here also..
      Link for downloading code :
      drive.google.com/file/d/1wKpRv65T133Au_yn7OQcWQ946ee2NpMl/view?usp=sharing
      OR
      www.mediafire.com/file/fppij037r0vvb8i/Line_following_robot.ino/file

  • @padmaseelank1180
    @padmaseelank1180 8 місяців тому +1

    I want circuit diagram ❤❤

    • @Science_4U_
      @Science_4U_  8 місяців тому +2

      Okay friend. I have made the circuit diagram and uploaded in google drive. You can download circuit diagram from the following link...
      drive.google.com/file/d/19x6GT793EYPVy7-UeiZlS203cZpI9FHB/view?usp=sharing

    • @padmaseelank1180
      @padmaseelank1180 8 місяців тому +1

      Thanks & Love from tamilnadu ❤️❤️❤️

    • @Science_4U_
      @Science_4U_  8 місяців тому +1

      @@padmaseelank1180 Thank you so much..❤️❤️🥰🙂

  • @AbelJiss
    @AbelJiss 3 місяці тому

    Detail video UA-cam

    • @AbelJiss
      @AbelJiss 3 місяці тому

      Program Detail

    • @AbelJiss
      @AbelJiss 3 місяці тому

      Line following Robot

    • @AbelJiss
      @AbelJiss 3 місяці тому

      Program Detail line following Robot Detail video UA-cam channel