How to Make DIY Arduino Line Follower Robot Car with Arduino UNO, L298N Motor Driver, IR Sensor

Поділитися
Вставка
  • Опубліковано 13 вер 2020
  • In this tutorial, I will show you How to Make DIY Arduino Line Follower Robot Car with Arduino UNO, L298N Motor Driver, IR Sensor Module with Code included.
    Grab the Great deals in Next PCB Mid Summer Sale:
    www.nextpcb.com/midsummer-sal...
    Subscribe It's Free / @makediy9
    Arduino Code & Schematics: amzn.circuitbest.com/my-gears...
    bit.ly/38eYHYK
    Note: You must detach the GND and the +5V wire before uploading the code to the Arduino.
    Things Needed to Make DIY Arduino Line Follower Robot Car:
    Amazon.in Links:
    IR Sensor: amzn.to/2TaSsfZ
    Arduino UNO: amzn.to/31sEgU4
    L298N Motor Driver: amzn.to/37qwcqE
    TT Gear Motor: amzn.to/2FLFeTF
    Jumper Wire: amzn.to/2HqWHBb
    18650 Battery: amzn.to/34hsldt
    2S, 18650 Battery Holder: amzn.to/2TdA1XY
    65MM Wheels for TT Motors: amzn.to/31rrghv
    Soldering Iron: amzn.to/2HldvtF
    Glue Gun: amzn.to/3mcr51m
    Amazon US Links:
    Arduino UNO R3: amzn.to/2SuROJC
    TT Gear Motor: amzn.to/3nf4l29
    Wheels: amzn.to/30zkFRI
    HC-05 Bluetooth Module: amzn.to/36w2DU5
    18650 Battery Holder: amzn.to/34nOVA6
    18650 Battery: amzn.to/36EeUWu
    L298N Motor Driver: amzn.to/3cVTRQC
    L293D Motor Driver: amzn.to/3ng7Xks
    Switch: amzn.to/3ivaUdw
    Jumper Wires: amzn.to/3izMFe2
    IR Sensor: amzn.to/3iE6MIh
    Banggood Links:
    Arduino UNO R3: bit.ly/2FZY6dT
    TT Gear Motor: bit.ly/2Mlb35E
    Wheels: bit.ly/2U10QPM
    HC-05 Bluetooth Module: bit.ly/2ukQvod
    18650 Battery Holder: bit.ly/2MkPYrW
    18650 Battery: bit.ly/3eBNH7N
    L298N Motor Driver: bit.ly/3gB8Ws6
    L293D Motor Driver: bit.ly/2CHPqdT
    Switch: bit.ly/3ds4Xfy
    Jumper Wires: bit.ly/2MjLy4t
    IR Sensor: bit.ly/2E1PsP2
    Thank you so much for watching the video. Please hit the like button it really motivates me a lot. And also don’t forget to subscribe for more amazing Arduino related content.
    Do you have any queries about the Arduino Project? Then do let me know about that in the comment section.
    Music Used in the video:
    Track: Perspective - IVAAVI [Audio Library Release]
    Music provided by Audio Library Plus
    Watch: • Perspective - IVAAVI |...
    Free Download / Stream: alplus.io/Perspective
    Freedom - Atch / atch-music
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/al-freedom
    Music promoted by Audio Library • Freedom - Atch (No Cop...
    #ArduinoLineFollowerCar #ArduinoProjects
    #ArduinoSmartCar #DIYProject #ArduinoProject
  • Навчання та стиль

КОМЕНТАРІ • 204

  • @MakeDIY9
    @MakeDIY9  3 роки тому +32

    Here is the code Link: bit.ly/38eYHYK
    Enjoy :)

    • @syaduinotech3681
      @syaduinotech3681 3 роки тому +1

      Dear sir.. thanks for the code. The "amp" error appear. Can you help why? And how to solve that?

    • @MakeDIY9
      @MakeDIY9  3 роки тому +2

      Please try it one more time

    • @kittyawn5317
      @kittyawn5317 2 роки тому

      does your code need additonal lib? cuz the `&` doesnt declared yet
      seems like you mean ` && ` (and logic gate)

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

      ​@@MakeDIY9jk

    • @user-rk5vt1kg9n
      @user-rk5vt1kg9n Місяць тому

      can you put the coding of this car

  • @gamersyt2661
    @gamersyt2661 3 роки тому +12

    Exactly what I was looking for. No need of opening the serial monitor, just simple calibration and you are good to go.
    Thank you so much for the video.
    Subbed!

  • @talentexamwinner4733
    @talentexamwinner4733 Рік тому +23

    THANK YOU BRO!For my science exhibition, I made a line follower robot based on your vidio . I followed your methods. Finally I did it! And I got first price! GOD BLESS YOU ❤️

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

      did you know arduino programing from early on?

  • @mishagupta9435
    @mishagupta9435 3 роки тому +1

    had trouble finding circuit in other youtuber car but you gave the circuit thanx alot thankyou

    • @MakeDIY9
      @MakeDIY9  3 роки тому +1

      You are welcome :)
      Don't forget to subscribe

  • @vethumdasanayaka6274
    @vethumdasanayaka6274 2 роки тому +1

    Thank You So much SIR !! It was really really Helpfull 🖤🖤💯

  • @luckshaeey
    @luckshaeey 3 роки тому +3

    Video quality is so good. I Appreciate it ♥️ thanks for putting this video out on the internet for confused souls like me.

    • @MakeDIY9
      @MakeDIY9  3 роки тому +1

      Glad you enjoyed it!

  • @DGMDevGamingAndMore
    @DGMDevGamingAndMore 3 роки тому +7

    the effort that has gone in editing this video... Damn. Great Job!

  • @onelife4458
    @onelife4458 2 роки тому +1

    You are very creative 👍❤️❤️❤️

  • @MyTechStudioOfficial
    @MyTechStudioOfficial 3 роки тому +1

    Good job bro
    Keep creating 👍👍

  • @savogameing1518
    @savogameing1518 2 роки тому +1

    Thanks you are great

  • @rjreyaan9856
    @rjreyaan9856 2 роки тому

    Excellent and quality content , Dear can you please tell me how to run this car smoothly at lower speed .. No battery drain issue and no lags on motors.. hope u getting what m trying to say ..

  • @snitch_fn7428
    @snitch_fn7428 2 роки тому +2

    How does the car move left and right based on IR sensors? Can you explain please

  • @menukabandara3374
    @menukabandara3374 9 місяців тому

    you are perfect man👌

  • @herambkadam8693
    @herambkadam8693 2 роки тому +2

    Heyy can you share the circuit digram please. Btw superb explanation and great work . Thankyou

  • @LeeCuriosity
    @LeeCuriosity 14 днів тому

    Very cool project !

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

    do we need to change the code according to the path???? or this code is set for all path?

  • @user-me3kw3fe1y
    @user-me3kw3fe1y 6 місяців тому

    what should we check if only left tyre is moving while the right one is not? both sensor detect but only the the left one is function

  • @somade216
    @somade216 3 роки тому +1

    Nice!

  • @user-xo4lg9yg8m
    @user-xo4lg9yg8m 2 місяці тому

    you are osm tq so much:)

  • @Pavara_Senvidu
    @Pavara_Senvidu 10 місяців тому +2

    Can we fix a 9v battery instead of that 2 rechargable batteries??

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

    Hi if we use powerbank instead of batter will the car move..?

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

    Could you please provide the link for GND and +5v wire

  • @mishagupta9435
    @mishagupta9435 3 роки тому

    very nice

  • @neonnebby7370
    @neonnebby7370 3 роки тому

    Thanks for this!!

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

    Sir this line following robot is followong a black line . Instead of black line can i put red or other colour line to this robot???

  • @deepjoychowdhury6389
    @deepjoychowdhury6389 3 роки тому

    Nice work 👍

    • @MakeDIY9
      @MakeDIY9  3 роки тому

      Thanks for the visit

  • @AKHIL_SINGH2007
    @AKHIL_SINGH2007 7 місяців тому

    Bhai black line ki jagah white line draw ker sakte hai?

  • @akasha6406
    @akasha6406 3 роки тому

    good project i love it

    • @MakeDIY9
      @MakeDIY9  3 роки тому

      Thank you so much😊

  • @entertainmentchannel3960
    @entertainmentchannel3960 2 роки тому

    Use fully

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

    Library konsi use ki hai

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

    How much voltage motors are they?

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

    How to control each motor individualy?

  • @pareshmittal2598
    @pareshmittal2598 2 роки тому

    Sir kya main 9v battery use kar sakta hoon

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

    Can we do the same with aurdino nano

  • @Index_Nine
    @Index_Nine 2 роки тому +3

    Superb project!👊
    I only have an RFID instead of IR sensor, how do I do mine?
    Thanks in advance guys!

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

    bro can you give me the link of the app that you used to control the robot by bluetooth🙁

  • @JacobRamos.
    @JacobRamos. 7 місяців тому

    I am using a TCRT5000, what would the connection be like?

  • @anonymous15042
    @anonymous15042 2 роки тому

    Do this with motor drive big one which fit on the to of theaurdino

  • @user-ft9nq2yd5v
    @user-ft9nq2yd5v 3 місяці тому

    Hi, could you upload the sketch for the program because I need it for my science exhibition

  • @onelife4458
    @onelife4458 2 роки тому +1

    Sir your videos should be long so we can understand better

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

    Can I use l shaped bo motor

  • @akshat7787
    @akshat7787 2 роки тому

    can we make it with L293n motor driver

  • @premsaisiddi24680
    @premsaisiddi24680 2 роки тому +1

    Bro I have did what u say till last and the Bluetooth module also connected but no motors was working bro plz give me a solution bro plz plz

  • @malekabdoh8639
    @malekabdoh8639 2 роки тому +1

    loved the video most detailed one I could find but the only thing I dint like was that he didn't speak in the video to explain it

    • @MakeDIY9
      @MakeDIY9  2 роки тому

      Check the article link bro

  • @DianaSirbu487
    @DianaSirbu487 3 роки тому +1

    Hi
    Do you have any ideea why neither of my wheels are working at the forward movement but at the turns they work perfectly fine?
    Thanks

    • @MakeDIY9
      @MakeDIY9  3 роки тому

      Check your motor driver first

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

    Hey brother, my car has little weight on it what should i do it’s not moving

  • @blazes4747
    @blazes4747 3 роки тому

    Tks u bro

  • @technicalyuvraj8772
    @technicalyuvraj8772 3 роки тому

    what is your moter voltage

  • @jayanthreddy3972
    @jayanthreddy3972 2 роки тому

    what happen is any object is interrupts in middle of the line , is it stop?

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

    What is this gnd wire 3:04 please tell

  • @alya1123
    @alya1123 2 роки тому

    3:04 how i can make this wire ( female-female and female- male) together ?

  • @ECKarthibalaK
    @ECKarthibalaK 2 роки тому

    Hi bro how to increase the speed of motor rotation? Please reply bro

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

    Hey bro i make this type of robot for my college project but the problem is when i start the robot it will go straight very easy but when he try to turn it will stuck what can I do please help

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

    We compalsery have to use only Arduino Uno R3

  • @fouzanjaved5441
    @fouzanjaved5441 2 роки тому +1

    Sir, I like your videos about Arduino projects. Sir, will the line follower robot sensors blink and produce the sound beep when completing the black line circle if I attach the 5v buzzer in the circuit diagram as well in the code for the line follower robot? Sir, will the line follower robot work or not?

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

      The code needs to know the start and end points of the circle, otherwise it won't work

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

    mi carro no reconoce la liea sigue derecho me puede atudar gracias saludos de de colombia

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

    how to charge the power supply?

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

    the car is starting and the wheels are turning but it won't move on the track, can you help me how to solve it?

  • @jeffr249
    @jeffr249 9 місяців тому

    bro can u upload flowchart for this i need this tomorrow

  • @nhanle-nx2hr
    @nhanle-nx2hr Рік тому

    5v is Vuot use for sensor why ad dont use Vin and GND 5v for adruino

  • @HarshGArt
    @HarshGArt 3 роки тому +1

    Mare ir sensor me 4 pins hai connection kayse karu samazme nahi aaraha hai please help me🙏😭

  • @Harshithenterprises-gm9go
    @Harshithenterprises-gm9go 11 місяців тому

    Bro how do you make the car do a 360 degree turn

  • @akshat7787
    @akshat7787 2 роки тому

    the code is not working properly
    it is showing some error

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

    Are you from India

  • @luckshaeey
    @luckshaeey 3 роки тому +1

    I had a doubt. When Im using those cheap 9V battery my motors aren't powering up. Have checked all the connections and code. When instead i used L293D motor driver my bot runs like butter with the same power supply. Can you tell me what could be the probable reason?

    • @MakeDIY9
      @MakeDIY9  3 роки тому +1

      battery bro...
      9V battery issue.
      Previously I tried to make the car with the 9V battery but it doesn't provide enough power to the car to run.
      so I stuck with Li-ion battery for high Power....

    • @luckshaeey
      @luckshaeey 3 роки тому

      @@MakeDIY9 ok. But i switched to l293 driver only. L298 for some reasons was messing with my project. 😐

    • @MakeDIY9
      @MakeDIY9  3 роки тому +1

      @@luckshaeey I will make a version of this car with l293d

    • @Nothing-rm5sy
      @Nothing-rm5sy 3 роки тому

      @@MakeDIY9 bro is obstacles avoiding and line following are two different ir sensors? Because i made full car as per your connections but still doesn't moving Motors are not running can you tell me what would be problem (i have used 18650 li-ion battery)

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

    775 motor servo motor Arduino se kaise jode

  • @tarekmohamed779
    @tarekmohamed779 2 роки тому

    How can we make it faster?

  • @siddharthasingh9570
    @siddharthasingh9570 3 роки тому

    The obstacle avoiding robot should be made with arduino and there shouldn't be any beeping sound in it. I just request you to plz make a video on it .

  • @abdelrahmanhagag1333
    @abdelrahmanhagag1333 5 місяців тому

    The link of the code doesn’t work please updated

  • @rishabhthakur508
    @rishabhthakur508 3 роки тому

    how to recharge the battery

  • @helloworld9057
    @helloworld9057 2 роки тому

    when I'm testing only 3 tyres are moving and when I turn counter clockwise , no tyre moves and when I turn clockwise only 1 tyre very slowly moves. And When I keep one clockwise and one sensor anti clockwise then 3 tyres move and ny car moves in a circle I have changed sensor also .

  • @xojibeki8832
    @xojibeki8832 6 місяців тому

    How heavy it is car

  • @bilalahmedjan7960
    @bilalahmedjan7960 2 роки тому

    Which software is used for coding in Arduino?
    And how to transfer code into the Arduino ??
    Please help me

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

    Hi, I tried this and it runs okay. The only problem is when I tried to calibrate the sensor, the car wouldn't stop on the T path. Can you help me with this?

  • @prajaktamahajan1537
    @prajaktamahajan1537 6 місяців тому

    पार्ट ऑनलाइन मागवल्या किती दिवसात घरी येतात

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

    Hello help me pls ultrasonic sensor or servo motor se esko kese calaye and code pls pls pls pls

  • @mralap6529
    @mralap6529 3 роки тому +1

    Bro you thought about that!! ? I requested you to make Arduino car controlled by blutooth gamepad.🙄

    • @MakeDIY9
      @MakeDIY9  3 роки тому +1

      Yes i have thought about that at next i will make a rc car with joystick switch.
      Can you sens the gamepad link?
      I need to see it first.

    • @mralap6529
      @mralap6529 3 роки тому +1

      @@MakeDIY9
      my gamepad isn't available now on Amazon but my gamepad one of type and supports 2.4ghz like wireless mouse.
      Ok I've found my gamepad www.amazon.in/dp/B07Y8B3LCB/ref=cm_sw_r_cp_apa_i_NlfyFb8DB48WJ you can see the discrimination in amazon and it also supports 2.4gzh they didn't mentioned.

    • @MakeDIY9
      @MakeDIY9  3 роки тому

      Ok

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

    Plz provide the code sir?? 🙏

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

    Sir windows 7not downloading it

  • @rohit_1312
    @rohit_1312 3 роки тому

    Sir , please make Line following + Bluetooth controlled robot using l298 Motor driver🙏🙏🙏 plz sir reply

  • @PrafulTheExplorer
    @PrafulTheExplorer 9 місяців тому

    Hello And Thanks for sharing this tutorial.
    One question- Is there a way to use IR module and IR remote instead of a switch. So it can be used to start the robot wirelessly and can be stopped whenever required from the IR remote. ?
    Please guide on this

  • @riteshkapoor4471
    @riteshkapoor4471 2 роки тому +3

    the robot does not move forward on the line… when i lift it in the air the wheels start spinning… as soon as I put it down on the line it does not move forward

    • @ashrafabiaz2552
      @ashrafabiaz2552 2 роки тому

      Bri, I am having the exact same problem.

    • @ashrafabiaz2552
      @ashrafabiaz2552 2 роки тому

      Did you manage to find a solution for it. If so, please let me know. I need it urgently.

    • @MakeDIY9
      @MakeDIY9  2 роки тому +1

      Guys calibrate the robot first....
      Watch my video carefully...

  • @AnandJobby
    @AnandJobby 3 роки тому

    Bro will you please upgrade this to go through a line stop at the end for some minute then return back

    • @MakeDIY9
      @MakeDIY9  3 роки тому +1

      Just have to modify the code add a delay and run the back() function easy

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

    Hii I tried the same everything is fine the connections code etc but after uploading the code the car just doesn't move. Can you tell what can be the reason for this?

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

    Bro i want this code bt link is expire..

  • @vaibhavsolanki5140
    @vaibhavsolanki5140 3 роки тому

    Can we connect battery directly with Arduino Uno using dc adaptor?

    • @MakeDIY9
      @MakeDIY9  3 роки тому

      Yes you can but be careful about the voltage

  • @anandu383
    @anandu383 3 роки тому

    Bro which is better l293d or l298n

    • @MakeDIY9
      @MakeDIY9  3 роки тому +1

      If you ask me l298n is better because of high power count.
      But however I will also make a robot tith l293d also 😉

  • @anandvaibhavsingh6954
    @anandvaibhavsingh6954 3 роки тому

    Could you please tell me which motor driver woul be best and why? because I have to write about it

    • @MakeDIY9
      @MakeDIY9  3 роки тому

      L293D easy to control
      L298N high current output

  • @luffy2-lq9wl
    @luffy2-lq9wl 3 місяці тому

    Hello sir pls help me schematics not opening pls help ASAP!!

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

    Could one be built to have stop points for pick up or drop off of goods? You would have a remote or button panel with up to 10 way points maybe?

  • @TechWorldWithSrikar
    @TechWorldWithSrikar 3 роки тому

    Bro, can you please tell where did you brought these wires ???

  • @siddharthasingh9570
    @siddharthasingh9570 3 роки тому

    Please make an obstacle avoiding robot

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

    downloading motor shield name please send me

  • @rusal_23
    @rusal_23 2 роки тому

    My robot still dont work . Can anyone help me ☹️

  • @chiragsr6757
    @chiragsr6757 3 роки тому

    Working but only for straight path
    Not taking turn wat 2 do

    • @MakeDIY9
      @MakeDIY9  3 роки тому

      You have to adjust the sensor and the motor speed. I have used 150rpm motor for the video lin lower speed.
      Which rpm motor you are using?
      Tips:
      1. Try using lowering the rpm in the code by changing the speed value to 0 to 255.
      2. Try to adjust the sensors.

  • @user-rk5vt1kg9n
    @user-rk5vt1kg9n 2 місяці тому

    i don't see the coding

  • @sinalijayasooriya5141
    @sinalijayasooriya5141 3 роки тому

    HOW DID YOU MAKE THAT GND WIRE FOR ARDUINO UNO AND IR SENSORS

    • @MakeDIY9
      @MakeDIY9  3 роки тому

      This is just a 4 different wires connected in same spot and then I heat shrinked it.
      You can check the Schematics for more information.

    • @yuvi2509
      @yuvi2509 2 роки тому

      @@MakeDIY9 what is the meaning of heat shrinking

  • @avanibhamare9036
    @avanibhamare9036 3 роки тому

    What is the total budget of it approximately??

    • @MakeDIY9
      @MakeDIY9  3 роки тому +2

      800 to 900 without battery 🙂

  • @franciscoleonardo3343
    @franciscoleonardo3343 3 роки тому

    Hi! How fast can he get without losing control and get off the track?

    • @MakeDIY9
      @MakeDIY9  3 роки тому +1

      Not gonna lie not too much but as a hobby project the speed is ok

    • @franciscoleonardo3343
      @franciscoleonardo3343 3 роки тому

      thanks, your video gave me a great idea, the question was just a curiosity☺

    • @franciscoleonardo3343
      @franciscoleonardo3343 3 роки тому

      In fact, I don't speak much English, I'm practicing. Good afternoon!

    • @MakeDIY9
      @MakeDIY9  3 роки тому +1

      Don't forget to subscribe 🙂

  • @isabelletroya5967
    @isabelletroya5967 3 роки тому

    My car isn't turning, should I change the speed? Also could you explain what M1 and M2 speed means along with what speed specifically I should change?

    • @MakeDIY9
      @MakeDIY9  3 роки тому

      Calibrate the car carefully and check the ir sensor first. You have to manually calibrate as I have shown in the video
      M1 left side motors
      M2 right side motors