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

Поделиться
HTML-код
  • Опубликовано: 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 года назад +33

    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 4 месяца назад

      ​@@MakeDIY9jk

    • @user-rk5vt1kg9n
      @user-rk5vt1kg9n 2 месяца назад

      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 Год назад +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 2 месяца назад

      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 🖤🖤💯

  • @onelife4458
    @onelife4458 2 года назад +1

    You are very creative 👍❤️❤️❤️

  • @savogameing1518
    @savogameing1518 2 года назад +1

    Thanks you are great

  • @menukabandara3374
    @menukabandara3374 10 месяцев назад

    you are perfect man👌

  • @rjreyaan9856
    @rjreyaan9856 3 года назад

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

  • @LeeCuriosity
    @LeeCuriosity Месяц назад

    Very cool project !

  • @DGMDevGamingAndMore
    @DGMDevGamingAndMore 3 года назад +7

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

    • @MakeDIY9
      @MakeDIY9  3 года назад +1

      Thanks Man 😄

  • @herambkadam8693
    @herambkadam8693 2 года назад +2

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

  • @user-xo4lg9yg8m
    @user-xo4lg9yg8m 3 месяца назад

    you are osm tq so much:)

  • @snitch_fn7428
    @snitch_fn7428 2 года назад +2

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

  • @MyTechStudioOfficial
    @MyTechStudioOfficial 3 года назад +1

    Good job bro
    Keep creating 👍👍

  • @user-me3kw3fe1y
    @user-me3kw3fe1y 7 месяцев назад

    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!

  • @neonnebby7370
    @neonnebby7370 3 года назад

    Thanks for this!!

  • @Pavara_Senvidu
    @Pavara_Senvidu 11 месяцев назад +2

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

  • @mishagupta9435
    @mishagupta9435 3 года назад

    very nice

  • @entertainmentchannel3960
    @entertainmentchannel3960 2 года назад

    Use fully

  • @akasha6406
    @akasha6406 3 года назад

    good project i love it

    • @MakeDIY9
      @MakeDIY9  3 года назад

      Thank you so much😊

  • @amankushwaha8180
    @amankushwaha8180 2 года назад

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

  • @maskb2k876
    @maskb2k876 3 месяца назад

    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!

  • @JacobRamos.
    @JacobRamos. 9 месяцев назад

    How much voltage motors are they?

  • @luveendra_2833
    @luveendra_2833 4 месяца назад

    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

  • @JacobRamos.
    @JacobRamos. 8 месяцев назад

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

  • @ankursingh1596
    @ankursingh1596 Год назад

    Library konsi use ki hai

  • @noobmaster6074
    @noobmaster6074 Год назад

    How to control each motor individualy?

  • @samyamff5019
    @samyamff5019 Год назад

    Can I use l shaped bo motor

  • @akshat7787
    @akshat7787 3 года назад

    can we make it with L293n motor driver

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

  • @anonymous15042
    @anonymous15042 3 года назад

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

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

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

  • @premsaisiddi24680
    @premsaisiddi24680 3 года назад +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 Год назад +1

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

  • @pareshmittal2598
    @pareshmittal2598 2 года назад

    Sir kya main 9v battery use kar sakta hoon

  • @itssouravvv
    @itssouravvv Год назад

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

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

  • @rosfraggg
    @rosfraggg Год назад

    how to charge the power supply?

  • @deenadhayalan8183
    @deenadhayalan8183 Год назад

    We compalsery have to use only Arduino Uno R3

  • @blazes4747
    @blazes4747 3 года назад

    Tks u bro

  • @AKHIL_SINGH2007
    @AKHIL_SINGH2007 8 месяцев назад

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

  • @augustyajauhri28
    @augustyajauhri28 Год назад

    What is this gnd wire 3:04 please tell

  • @user-ft9nq2yd5v
    @user-ft9nq2yd5v 4 месяца назад

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

  • @tarekmohamed779
    @tarekmohamed779 2 года назад

    How can we make it faster?

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

  • @akshat7787
    @akshat7787 3 года назад

    the code is not working properly
    it is showing some error

  • @ECKarthibalaK
    @ECKarthibalaK 2 года назад

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

  • @sarihardianti9903
    @sarihardianti9903 4 месяца назад

    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 3 года назад

    how to recharge the battery

  • @Harshithenterprises-gm9go
    @Harshithenterprises-gm9go Год назад

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

  • @abdelrahmanhagag1333
    @abdelrahmanhagag1333 6 месяцев назад

    The link of the code doesn’t work please updated

  • @jeffr249
    @jeffr249 10 месяцев назад

    bro can u upload flowchart for this i need this tomorrow

  • @xojibeki8832
    @xojibeki8832 7 месяцев назад

    How heavy it is car

  • @alya1123
    @alya1123 2 года назад

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

  • @nhanle-nx2hr
    @nhanle-nx2hr Год назад

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

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

  • @HarshGArt
    @HarshGArt 3 года назад +1

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

  • @vaibhavverma4031
    @vaibhavverma4031 9 месяцев назад

    Are you from India

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

  • @harithabinu7572
    @harithabinu7572 2 года назад

    Plz provide the code sir?? 🙏

  • @sappypabboju9544
    @sappypabboju9544 4 месяца назад

    Sir windows 7not downloading it

  • @wilsongomez5047
    @wilsongomez5047 Год назад

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

  • @shravan7478
    @shravan7478 3 месяца назад

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

  • @bhesliyadaud5623
    @bhesliyadaud5623 Год назад

    775 motor servo motor Arduino se kaise jode

  • @onelife4458
    @onelife4458 2 года назад +1

    Sir your videos should be long so we can understand better

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

  • @prajaktamahajan1537
    @prajaktamahajan1537 7 месяцев назад

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

  • @user-rk5vt1kg9n
    @user-rk5vt1kg9n 2 месяца назад

    i don't see the coding

  • @rusal_23
    @rusal_23 3 года назад

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

  • @anikmahmud2584
    @anikmahmud2584 9 месяцев назад

    Bro i want this code bt link is expire..

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

  • @elizabethjames467
    @elizabethjames467 7 месяцев назад

    I think it's doesn't work for me

  • @luffy2-lq9wl
    @luffy2-lq9wl 4 месяца назад

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

  • @PrafulTheExplorer
    @PrafulTheExplorer 10 месяцев назад

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

  • @Song36380
    @Song36380 Год назад

    downloading motor shield name please send me

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

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

  • @marielamartinez2276
    @marielamartinez2276 8 месяцев назад

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

  • @mishagupta9435
    @mishagupta9435 3 года назад

    my car is not working

  • @rohit_1312
    @rohit_1312 3 года назад

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

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

  • @palakthareja2257
    @palakthareja2257 4 месяца назад

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

  • @computerchip128
    @computerchip128 Месяц назад

    Does it work to just use two wheels

  • @sureshkkkizhakkoot
    @sureshkkkizhakkoot Год назад

    This code errorr plss another code

  • @cattyherbione9133
    @cattyherbione9133 7 месяцев назад

    How connect switch to battery holder

    • @user-qq6cj1ou8h
      @user-qq6cj1ou8h 4 месяца назад

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

  • @bilalahmedjan7960
    @bilalahmedjan7960 2 года назад

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

  • @sasjasjarief9226
    @sasjasjarief9226 2 года назад

    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 Месяц назад

    Hello

  • @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 3 года назад

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