Это видео недоступно.
Сожалеем об этом.

How to Make Line Follower with Obstacle Avoiding Robot using Arduino and L298 Motor Driver

Поделиться
HTML-код
  • Опубликовано: 12 дек 2022
  • How to Make Line Follower with Obstacle Avoiding Robot using Arduino and L298 Motor Driver
    Code and Schematics Download link:- marobotic.com/...
    www.fypsolutio...
    Components Details () {
    Solderless Breadboard:- marobotic.com/...
    4 wheel robot car kit:- marobotic.com/...
    Arduino UNO:- marobotic.com/...
    IR Sensor x 2:- marobotic.com/...
    L298 Motor Driver:- marobotic.com/...
    Mini Servo Motor SG90:- marobotic.com/...
    Ultrasonic Sensor Holder:- marobotic.com/...
    Ultrasonic Sensor hc-sr04:- marobotic.com/...
    4Pcs Smart Robot Car Tyres Wheels:- marobotic.com/...
    Male to Female jumper Wires:- marobotic.com/...
    Male to Male jumper Wires:- marobotic.com/...
    Hard Jumper Wire:- marobotic.com/...
    On/Off Switch:- marobotic.com/...
    18650 Battery Holder - 2 Cell:- marobotic.com/...
    18650 Battery Cell 3.7V x 2:- marobotic.com/...
    }
    We regularly uploads exciting videos like this
    Suscribe us For More Videos
    Muhammad Ansar
    +923378655465
    Visit My Website:- marobotic.com/...
    Key moments
    1:23 Schematics Overview
    3:11 Hardware Assembling
    13:49 Code Overview
    21:17 Code uploading
    22:42 Calibration the ir sensor
    23:37 Final working

Комментарии • 318

  • @only_love
    @only_love Год назад +7

    Mashallah starts with basmala 👏👏👏

  • @devir1027
    @devir1027 7 месяцев назад +3

    You are soo honest meaning you only send link for programing ❤❤❤❤❤

  • @kpieceemmry3387
    @kpieceemmry3387 11 месяцев назад +1

    This guy video is top notch
    I have built this robot 🤖 just remaining to upload code 👨‍💻
    Can’t wait 😝 to share success story tho……. I hope I get stuff hook up for the first time?

  • @leonardolfs16
    @leonardolfs16 11 месяцев назад +6

    I configured your project but the robot can't follow the path of the line like in your video. The sensors are calibrated, the led lights up when it detects the white background and turns off when it detects the dark line, the battery I'm using is 7.4 volts. Engine detection and sonar are also working. Can you help me please?

  • @syedsamrozeali63
    @syedsamrozeali63 Год назад +1

    Question#01:
    Mene 2 3.7volts Batteries use ki ha lekn usse motors shi work nhi krr rhi kabhi do tires work krte hai kabhi teen or jab zameen par place kro to ek hi chalta hai.
    To kia mein 4 batteries use kr sakta hoo?
    Question#2:
    Or ek swaal ye bhi tha k agr mei 12 ya 14 volts supply kroo to har motors ko individual 14 milega ya ye divide hojayega among all motors yaani 3.4 each.

  • @robertocameto487
    @robertocameto487 7 месяцев назад +2

    Dear Sir. Thanks to you for the hard work done to complete this project.- I have a doubt. In the video, you show the IR sensor "IRSence Ver-2, while in the circuit diagram is using "FC-51". In the local market I only get the FC-51, can I use this one without problems? Thanks in advance for your kind reply. Best regards from Montevideo-Uruguay.

  • @beyourself9101
    @beyourself9101 Год назад +1

    Salamou Alaikom Brother.. Many thanks for sharing this .. God Help you

  • @ahmedkassamber
    @ahmedkassamber 4 месяца назад +1

    I make this project and work good, thanks ❤

    • @MuhammadAnsar
      @MuhammadAnsar  4 месяца назад +1

      You are welcome 😊

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

      ​@@MuhammadAnsar your website isn't working... please give me the Arduino program code of this project.

  • @marcosdasilva7409
    @marcosdasilva7409 8 месяцев назад +2

    SHOW 👏👏👏

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

    - Для чего я создан?
    - Чтобы ездить бесконечно долго по замкнутой черной полосе
    -Оох

  • @Nimna1111
    @Nimna1111 10 месяцев назад +1

    I like your Robot🙂🙂

  • @sanaaalamir9346
    @sanaaalamir9346 7 месяцев назад +1

    Good evening, Monsieur, if you please, I made an Arduino robot car that walks on black lines, avoids barriers, turns around, and returns according to the important code at home. It works, but sometimes it is not good, and I come back by correcting the code. The problem is when I go to university. The professor has a plot of land in 3D3, and my car does not drive well in class. I don't know what the problem is, please help me

  • @atlantic5439
    @atlantic5439 Год назад +2

    Nice project sir ,I like ur all projects keep it up sirji great way of explanation, thanks

  • @mgmgthin622
    @mgmgthin622 8 месяцев назад +1

    I am interesting in Arduino software.

  • @sharvanikusuma4036
    @sharvanikusuma4036 8 месяцев назад +2

    It is not following the line again when obstacle is detected. What to do?

  • @ramoncobo9733
    @ramoncobo9733 Год назад +2

    Muy bueno, muy bueno, felicidades, gracias por la enseñanza

  • @prabinpoudel4752
    @prabinpoudel4752 6 месяцев назад +1

    Why my car is not following the line ?
    Plz help
    Tomorrow is my science project

  • @uninstalledsoftwares6266
    @uninstalledsoftwares6266 Год назад +1

    Mashallah great

  • @aliaatarek7106
    @aliaatarek7106 10 месяцев назад +1

    Thanks for providing English translation

  • @rishabhsaxena7066
    @rishabhsaxena7066 Год назад +1

    Sir, can you please help me i used 7.5 v power supply all the things are same as you did. But after uploading the code only ultrasonic sensor is rotating wheels are not moving only one time left hand side wheels move. And now i am tired. I don't understand what is the problem.

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

    Why u have used gear motor,s not the regular and cheap motors ❤ plz replay

  • @user-sc3ix1kj1y
    @user-sc3ix1kj1y Месяц назад

    Does the code for the aurdino board really works??

  • @saturnringskhan
    @saturnringskhan Год назад +1

    Superb job, keep it up. 👍

  • @user-yd1zm9nn4p
    @user-yd1zm9nn4p 10 месяцев назад +2

    My arduino has all lights on and is not working on the code anything can be done sir

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

    What type of batteries do you use bro?

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

    hello, can you please tell me how to wire a 3 pin switch for this?

  • @BatuBat-ni5pd
    @BatuBat-ni5pd Год назад +16

    hello, I made this project as you did, but it does not give any feedback, so it does not work in any way.

  • @tahirkamboh147
    @tahirkamboh147 Год назад +1

    Bhai Saab! Awla

  • @vikkit2691
    @vikkit2691 Год назад +1

    I will do correct as per instruction you give
    My car is moving back didn't follow the line i will callibrate the sensor also
    But didn't work it what should I do

  • @joshuamarcalmario5270
    @joshuamarcalmario5270 Год назад +1

    Did you edit the code because my motor driver is not working pls reply asap

  • @user-ys9rc8xq1w
    @user-ys9rc8xq1w 8 месяцев назад

    Hello, sir. I would just like to have a question about the battery. I am curious. Will it not have any complications since that battery only adds up to atleast 9V and the needed Voltage in the Motor driver is 12V? And to add the battery is also connected to the arduino.

  • @vashistahemanth9629
    @vashistahemanth9629 Год назад +1

    Exlent Bro need more projects from you

  • @MuthulakshmiMurugan-nh2qm
    @MuthulakshmiMurugan-nh2qm Год назад +2

    Sir after ir sensor calibration motor running backwards not following the line what to do? I done the same as you have done

  • @user-wx3hb1lz5q
    @user-wx3hb1lz5q 3 месяца назад +1

    Your website isn't working... please give me the Arduino program code

  • @edmlover7969
    @edmlover7969 6 месяцев назад +1

    Uploading main error dikha raha hai
    It's showing uploading sketch error, as com5//
    sir please help

  • @shahjahansangrasi1925
    @shahjahansangrasi1925 10 месяцев назад +2

    Thank you so much bro, amazing work!!

  • @Sk_Gaming_Official1
    @Sk_Gaming_Official1 Год назад +1

    Very good,Please tell from where you buy all the components.I am from Pakistan.please tell waiting for long time😢😢😢❤❤

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

      Electronic Solutions hall road lahore se

  • @user-lx1ng5ys8q
    @user-lx1ng5ys8q 7 месяцев назад +2

    I programmed the Arduino but the car was unable to run. Please reply

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

    Hello bro I do this project with your video it is successful but one problem 😢😢😢 IR Sensor is reversely detecting like when I put on the black line light is turn on when I remove the black line the light is turn off please helpppppp me bro😢😢😢😢😢😢

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

      If the IR sensor is in reverse setup, you need to reverse also the logic in your code as well. If the sensor is detecting the black line when it shouldn't, you need to implement the movement function when black line was turnoff. Just reverse the high and low of the sensor conditonals

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

      @@capilijhonmirob. bro that means I want change code high=low ,low=high yes bro

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

      @@capilijhonmirob. bro it's not working bro I don't know how to do bro please edit the code and send me bro Monday I have a science fair please

  • @devindramyaragolkar9153
    @devindramyaragolkar9153 3 месяца назад +1

    Pls reply me sir today demonstrate hai iska

  • @sreeharisajeevan7396
    @sreeharisajeevan7396 Год назад +1

    Has anyone done this project using his connections and code? Did it work for them?

  • @ahnafakif5357
    @ahnafakif5357 Год назад +4

    Sir, thanks for the amazing project.
    You are amazing💖
    In All in one robot when I turn on obstacle avoidance mode instead of going forward, it is going backwards, then backward turn then again and again. Other mode working fine. Please help🙏

  • @rangannamukund2717
    @rangannamukund2717 Год назад +1

    Sir thank you, it is a nice project.
    Need your advice and suggestion, as I have assembled the "Line Follower with Obstacle Avoiding Robot" but is not following the line, but if any obstacle is coming it check and changes the direction. Please help and suggest , how can I fix this.

  • @rameshpentakota4198
    @rameshpentakota4198 Год назад +3

    For turning larger angle which code should we use sir

  • @urvashi-rb9qy
    @urvashi-rb9qy Год назад +2

    tysm for the video. really helpful....the code is working fine but the motors seem to be moving in a repetitive pattern(the left wheel starts, both wheels move , the left wheel keeps going when the right wheel stops ) instead of detecting properly through the IR sensors and working depending on that black line. please suggest where i am going wrong.

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

      thank you
      calibrate the IR sensor

    • @urvashi-rb9qy
      @urvashi-rb9qy Год назад

      thank you for responding back. I would like to ask that without the presence of any obstacle, the robot just keeps rotating in a circle. please help in telling me what is the issue?

    • @DineshKumar-uy4cp
      @DineshKumar-uy4cp Год назад

      Same issues delt

  • @AttentiveAnimator
    @AttentiveAnimator Год назад +2

    Can we cut solderless breadboard, actually I ordered 830points breadboard can we cut in to half

  • @user-fl1cr7ro2p
    @user-fl1cr7ro2p Год назад +2

    Asalam alaykum akhi, may allah bless you.
    I have 2 questions:
    1) I am planing to do a robot that avoid obstacles and follow the line just like you did, but I want to add another function, which could in your opinion?
    2) I am planning to use atmega instead of arduinob, will there be any difference in coding with c or parts used?

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

      wa alaikum assalam, thank you
      question 1:- yes, now you can add more function
      question 2:- yes you can use it you don't have to change any code

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

      Sir mere tayar chal nahi rahe he

  • @jasonradzremonde2572
    @jasonradzremonde2572 Год назад +5

    Hi sir, very informative video, but can I ask if we can use a 6V total for power source or it should be higher? Hope you can notice thanks

    • @Seamles
      @Seamles Год назад +1

      I think it should be higher, but most importantly you need to have enough current to run the arduino codes

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

      9V is probably what you should use

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

      use the motor driver pwm and control the speed

  • @aquibbinizhar4817
    @aquibbinizhar4817 17 дней назад +1

    I want to buy this pre ready project? Help me out

  • @saadali2438
    @saadali2438 Год назад +1

    Can you please let me know where you buy your electronic products from?

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

    I need code to move the robot in a certain direction using the MPU6050 and be able to avoid the barriers, please

  • @Sk_Gaming_Official1
    @Sk_Gaming_Official1 Год назад +1

    Very good, can you please tell from where you buy all the components.please tell😢😢❤❤

  • @johncalebaxalancabug7871
    @johncalebaxalancabug7871 Год назад +1

    Brooo. I'm planning to do this project, but I'm lil bit nervous in this project when it didn't worked. 😭

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

      Is that are the actual codes used in that project? I just traumatized on what happened in the past because the code that is used in the project that someones made didn't work huhu

  • @user-bv7uq9up3m
    @user-bv7uq9up3m 10 месяцев назад

    I've followed every thing exact same as you did. Also I calibrate the IR sensors. But still the motors are not working all the sensors are working and every thing is perfect except for the motors.
    Note that I have tried the motors before starting the whole project and they were working.. Could you help me please.

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

      same problem with mine and there is

  • @leonardolfs16
    @leonardolfs16 Год назад +1

    I really like your designs, could you add a claw when identifying an object and removing it from the front of the line?

  • @mohammadyunusansari1691
    @mohammadyunusansari1691 Год назад +1

    Sar stairs light controller Banaya proximity IR sensor ke sath aapse request hai next video starelite per Banega

  • @SAURABHKUMAR-us2dw
    @SAURABHKUMAR-us2dw Год назад

    Hi Sir, its very nice video, i have a question to you , here can i used brushless dc motor drive for running or not ?

  • @rubeneliasmaymul8314
    @rubeneliasmaymul8314 5 месяцев назад

    Does this use PID control?

  • @Amarv54
    @Amarv54 7 месяцев назад +2

    Bro showing error:
    " Use of undeclared identifier "
    While compiling code to arduino

  • @MOHDFAROOQMOHDHAROON
    @MOHDFAROOQMOHDHAROON 11 месяцев назад +1

    Assalamualaikum bhai
    can we train this robot to find the shortest path automatically plss reply?

    • @MuhammadAnsar
      @MuhammadAnsar  11 месяцев назад

      wa alaikum assalam
      no it has no such function

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

    nice projet

  • @AS_AsHu
    @AS_AsHu Год назад +3

    Sir I have made this car
    But it doesn't stop moving even when anything come in its way

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

      what motor and battery are you using?

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

      Sir I am using bo motors and 12v battery

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

    where did u ake the circuit diagram? wch website ?

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

    Hello sir, can you tell me please, if i can buy this project from you?

  • @rismiyarahmath5865
    @rismiyarahmath5865 11 месяцев назад +1

    super

  • @muneebkhan5466
    @muneebkhan5466 Год назад +1

    sir im not getting option of port com 9 (aurdino )im getting an option of com 3 what should i do

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

    Sir, i wanna to run my LFR in 2 motors only plz hlp what i hav to do . Request from me

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

    do I have to buy arduino uno r3 developmental board or Arduino Uno R3 ATmega328P Arduino Compatible? please tell. I am purchasing from quartzcomponents

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

      Any board you buy in arduino uno will only have ATmega328P.

  • @rsgpworld6375
    @rsgpworld6375 Год назад +1

    Sir how to reset ir sensor output led is not turning off and not following line

    • @MuhammadAnsar
      @MuhammadAnsar  Год назад +1

      calibrate the IR sensor

    • @rsgpworld6375
      @rsgpworld6375 Год назад +1

      I turned full 360 degrees sir, out led is not turning off when it is in black line

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

      Hello brother my wheels are not running in the Arduino project and when I connect the power then the Arduino does not work even after putting code and there was smoke from Arduino please help me

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

    Sir invento ne jo colour sensor banaya hai uspar video bano na

  • @nirgungoud3678
    @nirgungoud3678 Год назад +1

    Can we do this project without hard jumper wire

  • @SHUBASURLIVE
    @SHUBASURLIVE 5 месяцев назад

    dear sir,can u provide this project to us
    we want. to buy this project

  • @ishakamraoui8673
    @ishakamraoui8673 Год назад +1

    Salam alikom mohamed i want to buy a code of your project texte me im waiting u

  • @tendangdang4668
    @tendangdang4668 11 месяцев назад

    Is it suitable with kind of 3-wheels 2 motor vehicle ???

  • @user-ve1qx8kq6y
    @user-ve1qx8kq6y 9 месяцев назад

    Sir, Agar mai l293d motor driver use karunga to kya mujhe code me kuch change karna hoga kya?

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

      l293d motor driver shield k liy ap ko code ma changing krna pary gi

    • @user-ve1qx8kq6y
      @user-ve1qx8kq6y 9 месяцев назад

      Ok sir

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

    Which colour does it follow

  • @anshugenius8004
    @anshugenius8004 Год назад +1

    Super project sir

  • @durgeshkakran9006
    @durgeshkakran9006 Год назад +1

    Bhai hamne bilkul aapki tarah banaee h But work nahi kar Rahi kya use (pryog) Kiya hua Arduino UNO Kam kar sakta hai

  • @KillerYash-rf2jy
    @KillerYash-rf2jy Год назад

    Please make the video upon programming on arduino basic to advance

  • @pareshgupta3288
    @pareshgupta3288 Год назад +1

    Hello Sir,Sir my Ultrasonic Sensor is not working even I have rechecked the connection and program,Please help me sir

  • @rumaishafatima6053
    @rumaishafatima6053 Год назад +1

    Wow......

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

    I have doubts bro
    Can an IR sensor detect other colours leaving black and white

  • @viralpanchal4616
    @viralpanchal4616 Год назад +1

    Ye code upload hone mai kitna time legta hai
    I'm doing but some mistake or what
    I don't understand

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

      It's depend on your PC speed

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

      Sir apne jese kiya hai vese he kiya lekin vo path follow nhi ker reha hai
      Apka help chaheye tha
      Please

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

      @@MuhammadAnsar im making a project but im only using one DC motor and two servo motors how can i modify your code sir

  • @nicetimemya_396
    @nicetimemya_396 Год назад +1

    Sir, do you have any report or document for this project please?

  • @user-yd1zm9nn4p
    @user-yd1zm9nn4p 10 месяцев назад

    Can we do direct wireing without using the bread board sir

  • @FatafatiBiggyani
    @FatafatiBiggyani 2 месяца назад

    How to solve return code is not 0 problem

  • @user-bf1vw6xj9m
    @user-bf1vw6xj9m 4 месяца назад +1

    Selamın Aleyküm can someone help me build this, I can not achieve it.

  • @user-ir4eb5uy9i
    @user-ir4eb5uy9i 6 месяцев назад

    Không dùng pin 18650 mà dùng pin AA được không

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

    I'm having trouble opening the code with this problem"This website has been deactivated
    Please contact support"😔😔

  • @ONETECH975
    @ONETECH975 Год назад +2

    Can I use 2motors i have only 2 please reply

    • @MuhammadAnsar
      @MuhammadAnsar  Год назад +1

      yes use this

    • @ONETECH975
      @ONETECH975 Год назад +1

      @@MuhammadAnsar can using 2 motors affect the coding
      I will code from mobile

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

    Sir I want to make Grid follower with obstacle avoiding robot car🙂🙂for Yantrik Event

  • @RalphOdevilas-zt1gt
    @RalphOdevilas-zt1gt Год назад

    Hi im from philippines can you that robot like line follower and detecting obstacle at the same time and add bluetooth control to manually move it. im was hoping to see that and very appreciated.
    thanks for this project i want to make that kind of project too sooner

  • @md.symumhossain6566
    @md.symumhossain6566 Год назад

    Will it work using L293 driver?

  • @sk.ahsanabid941
    @sk.ahsanabid941 Год назад

    As Salamu Alaikum, brother. I've followed everything exact same as you did. Also calibrated IR sensors. But still motors are not working. All other sensors (including servo motor) are working completely fine. Please give me solution.
    4 motors are all perfectly ok. but not running together in robot. I've also checked motor connections

  • @AttentiveAnimator
    @AttentiveAnimator Год назад +2

    Please keep quality

    • @MuhammadAnsar
      @MuhammadAnsar  Год назад +1

      ok

    • @AttentiveAnimator
      @AttentiveAnimator Год назад +1

      ​@@MuhammadAnsarCan we cut solderless breadboard, actually I ordered 830points breadboard can we cut in to half

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

    Hello bhaiya can i add a esp32 module and make it bluetooth remote controlled ?

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

    Hi I'm interested on this project can you add new features like Bluetooth app control on this robot I highly appreciate this.
    PS. New subscriber and thankful for this I hope please grant me my request 5o add Bluetooth control

  • @PraveenPraveen-eh1is
    @PraveenPraveen-eh1is Год назад +11

    Bro please circuit diagram and base plate measurements put broooo

    • @MuhammadAnsar
      @MuhammadAnsar  Год назад +2

      Check description

    • @kpieceemmry3387
      @kpieceemmry3387 11 месяцев назад

      Please did you reverse the terminal of the gear motor I want to be sure I didn’t do a mistake, I connected red to red and black to black of individual side of the wheel

    • @kpieceemmry3387
      @kpieceemmry3387 11 месяцев назад

      Because I notice you connect black of one motor to the red of the other gear motor.

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

    Sir can i use 4 batter holder

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

    Can I use a 4 battery holder ?