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

Sdílet
Vložit
  • čas přidán 13. 09. 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
  • Jak na to + styl

Komentáře • 204

  • @MakeDIY9
    @MakeDIY9  Před 3 lety +33

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

    • @syaduinotech3681
      @syaduinotech3681 Před 3 lety +1

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

    • @MakeDIY9
      @MakeDIY9  Před 3 lety +2

      Please try it one more time

    • @kittyawn5317
      @kittyawn5317 Před 2 lety

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

    • @jkboysdhamakafunsandstunts
      @jkboysdhamakafunsandstunts Před 4 měsíci

      ​@@MakeDIY9jk

    • @user-rk5vt1kg9n
      @user-rk5vt1kg9n Před 2 měsíci

      can you put the coding of this car

  • @gamersyt2661
    @gamersyt2661 Před 3 lety +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 Před rokem +25

    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 Před 2 měsíci

      did you know arduino programing from early on?

  • @mishagupta9435
    @mishagupta9435 Před 3 lety +1

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

    • @MakeDIY9
      @MakeDIY9  Před 3 lety +1

      You are welcome :)
      Don't forget to subscribe

  • @vethumdasanayaka6274
    @vethumdasanayaka6274 Před 2 lety +1

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

  • @onelife4458
    @onelife4458 Před 2 lety +1

    You are very creative 👍❤️❤️❤️

  • @savogameing1518
    @savogameing1518 Před 2 lety +1

    Thanks you are great

  • @menukabandara3374
    @menukabandara3374 Před 10 měsíci

    you are perfect man👌

  • @rjreyaan9856
    @rjreyaan9856 Před 3 lety

    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 ..

  • @luckshaeey
    @luckshaeey Před 3 lety +3

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

  • @LeeCuriosity
    @LeeCuriosity Před měsícem

    Very cool project !

  • @DGMDevGamingAndMore
    @DGMDevGamingAndMore Před 3 lety +7

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

  • @herambkadam8693
    @herambkadam8693 Před 2 lety +2

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

  • @user-xo4lg9yg8m
    @user-xo4lg9yg8m Před 3 měsíci

    you are osm tq so much:)

  • @snitch_fn7428
    @snitch_fn7428 Před 2 lety +2

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

  • @MyTechStudioOfficial
    @MyTechStudioOfficial Před 3 lety +1

    Good job bro
    Keep creating 👍👍

  • @user-me3kw3fe1y
    @user-me3kw3fe1y Před 7 měsíci

    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 Před 3 lety +1

    Nice!

  • @neonnebby7370
    @neonnebby7370 Před 3 lety

    Thanks for this!!

  • @Pavara_Senvidu
    @Pavara_Senvidu Před 11 měsíci +2

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

  • @mishagupta9435
    @mishagupta9435 Před 3 lety

    very nice

  • @entertainmentchannel3960

    Use fully

  • @akasha6406
    @akasha6406 Před 3 lety

    good project i love it

  • @amankushwaha8180
    @amankushwaha8180 Před 2 lety

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

  • @maskb2k876
    @maskb2k876 Před 3 měsíci

    Can we do the same with aurdino nano

  • @Index_Nine
    @Index_Nine Před 2 lety +3

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

  • @JacobRamos.
    @JacobRamos. Před 9 měsíci

    How much voltage motors are they?

  • @luveendra_2833
    @luveendra_2833 Před 4 měsíci

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

  • @nkumaragarwal
    @nkumaragarwal Před rokem

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

  • @JacobRamos.
    @JacobRamos. Před 8 měsíci

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

  • @ankursingh1596
    @ankursingh1596 Před rokem

    Library konsi use ki hai

  • @noobmaster6074
    @noobmaster6074 Před rokem

    How to control each motor individualy?

  • @samyamff5019
    @samyamff5019 Před rokem

    Can I use l shaped bo motor

  • @akshat7787
    @akshat7787 Před 3 lety

    can we make it with L293n motor driver

  • @muhammedashikch8461
    @muhammedashikch8461 Před rokem

    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 Před 3 lety

    Nice work 👍

  • @anonymous15042
    @anonymous15042 Před 3 lety

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

  • @technicalyuvraj8772
    @technicalyuvraj8772 Před 3 lety

    what is your moter voltage

  • @jayanthreddy3972
    @jayanthreddy3972 Před 2 lety

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

  • @malekabdoh8639
    @malekabdoh8639 Před 2 lety +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  Před 2 lety

      Check the article link bro

  • @premsaisiddi24680
    @premsaisiddi24680 Před 3 lety +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

  • @keshavsharma4596
    @keshavsharma4596 Před rokem +1

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

  • @pareshmittal2598
    @pareshmittal2598 Před 2 lety

    Sir kya main 9v battery use kar sakta hoon

  • @itssouravvv
    @itssouravvv Před rokem

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

  • @shortcraft2089
    @shortcraft2089 Před rokem

    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

  • @rosfraggg
    @rosfraggg Před rokem

    how to charge the power supply?

  • @deenadhayalan8183
    @deenadhayalan8183 Před rokem

    We compalsery have to use only Arduino Uno R3

  • @blazes4747
    @blazes4747 Před 3 lety

    Tks u bro

  • @AKHIL_SINGH2007
    @AKHIL_SINGH2007 Před 8 měsíci

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

  • @augustyajauhri28
    @augustyajauhri28 Před rokem

    What is this gnd wire 3:04 please tell

  • @user-ft9nq2yd5v
    @user-ft9nq2yd5v Před 4 měsíci

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

  • @tarekmohamed779
    @tarekmohamed779 Před 2 lety

    How can we make it faster?

  • @DianaSirbu487
    @DianaSirbu487 Před 3 lety +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  Před 3 lety

      Check your motor driver first

  • @akshat7787
    @akshat7787 Před 3 lety

    the code is not working properly
    it is showing some error

  • @ECKarthibalaK
    @ECKarthibalaK Před 2 lety

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

  • @sarihardianti9903
    @sarihardianti9903 Před 4 měsíci

    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?

  • @rishabhthakur508
    @rishabhthakur508 Před 3 lety

    how to recharge the battery

  • @Harshithenterprises-gm9go

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

  • @abdelrahmanhagag1333
    @abdelrahmanhagag1333 Před 6 měsíci

    The link of the code doesn’t work please updated

  • @jeffr249
    @jeffr249 Před 10 měsíci

    bro can u upload flowchart for this i need this tomorrow

  • @xojibeki8832
    @xojibeki8832 Před 7 měsíci

    How heavy it is car

  • @alya1123
    @alya1123 Před 2 lety

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

  • @nhanle-nx2hr
    @nhanle-nx2hr Před rokem

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

  • @fouzanjaved5441
    @fouzanjaved5441 Před 2 lety +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 Před rokem +1

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

  • @HarshGArt
    @HarshGArt Před 3 lety +1

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

  • @vaibhavverma4031
    @vaibhavverma4031 Před 9 měsíci

    Are you from India

  • @siddharthasingh9570
    @siddharthasingh9570 Před 3 lety

    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 .

  • @harithabinu7572
    @harithabinu7572 Před 2 lety

    Plz provide the code sir?? 🙏

  • @sappypabboju9544
    @sappypabboju9544 Před 4 měsíci

    Sir windows 7not downloading it

  • @wilsongomez5047
    @wilsongomez5047 Před rokem

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

  • @shravan7478
    @shravan7478 Před 3 měsíci

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

  • @bhesliyadaud5623
    @bhesliyadaud5623 Před rokem

    775 motor servo motor Arduino se kaise jode

  • @onelife4458
    @onelife4458 Před 2 lety +1

    Sir your videos should be long so we can understand better

  • @helloworld9057
    @helloworld9057 Před 2 lety

    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 .

  • @prajaktamahajan1537
    @prajaktamahajan1537 Před 7 měsíci

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

  • @user-rk5vt1kg9n
    @user-rk5vt1kg9n Před 2 měsíci

    i don't see the coding

  • @rusal_23
    @rusal_23 Před 3 lety

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

  • @anikmahmud2584
    @anikmahmud2584 Před 9 měsíci

    Bro i want this code bt link is expire..

  • @riteshkapoor4471
    @riteshkapoor4471 Před 2 lety +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 Před 2 lety

      Bri, I am having the exact same problem.

    • @ashrafabiaz2552
      @ashrafabiaz2552 Před 2 lety

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

    • @MakeDIY9
      @MakeDIY9  Před 2 lety +1

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

  • @elizabethjames467
    @elizabethjames467 Před 7 měsíci

    I think it's doesn't work for me

  • @luffy2-lq9wl
    @luffy2-lq9wl Před 4 měsíci

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

  • @PrafulTheExplorer
    @PrafulTheExplorer Před 10 měsíci

    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

  • @chiragsr6757
    @chiragsr6757 Před 3 lety

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

    • @MakeDIY9
      @MakeDIY9  Před 3 lety

      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.

  • @Song36380
    @Song36380 Před rokem

    downloading motor shield name please send me

  • @AnandJobby
    @AnandJobby Před 3 lety

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

    • @MakeDIY9
      @MakeDIY9  Před 3 lety +1

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

  • @luckshaeey
    @luckshaeey Před 3 lety +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  Před 3 lety +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 Před 3 lety

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

    • @MakeDIY9
      @MakeDIY9  Před 3 lety +1

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

    • @Nothing-rm5sy
      @Nothing-rm5sy Před 3 lety

      @@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)

  • @marielamartinez2276
    @marielamartinez2276 Před 8 měsíci

    Can you pass me the code because I can't see the code?

  • @mishagupta9435
    @mishagupta9435 Před 3 lety

    my car is not working

  • @rohit_1312
    @rohit_1312 Před 3 lety

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

  • @vaibhavsolanki5140
    @vaibhavsolanki5140 Před 3 lety

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

    • @MakeDIY9
      @MakeDIY9  Před 3 lety

      Yes you can but be careful about the voltage

  • @palakthareja2257
    @palakthareja2257 Před 4 měsíci

    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?

  • @anandu383
    @anandu383 Před 3 lety

    Bro which is better l293d or l298n

    • @MakeDIY9
      @MakeDIY9  Před 3 lety +1

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

  • @computerchip128
    @computerchip128 Před měsícem

    Does it work to just use two wheels

  • @sureshkkkizhakkoot
    @sureshkkkizhakkoot Před rokem

    This code errorr plss another code

  • @cattyherbione9133
    @cattyherbione9133 Před 7 měsíci

    How connect switch to battery holder

    • @user-qq6cj1ou8h
      @user-qq6cj1ou8h Před 4 měsíci

      Just add the plus and minus wire to battery 's wires

  • @bilalahmedjan7960
    @bilalahmedjan7960 Před 2 lety

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

  • @sasjasjarief9226
    @sasjasjarief9226 Před 2 lety

    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?

  • @cokiedough
    @cokiedough Před měsícem

    Hello

  • @sinalijayasooriya5141
    @sinalijayasooriya5141 Před 3 lety

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

    • @MakeDIY9
      @MakeDIY9  Před 3 lety

      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 Před 3 lety

      @@MakeDIY9 what is the meaning of heat shrinking

  • @avanibhamare9036
    @avanibhamare9036 Před 3 lety

    What is the total budget of it approximately??

    • @MakeDIY9
      @MakeDIY9  Před 3 lety +2

      800 to 900 without battery 🙂