Line Follower Robot using Arduino🔥

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • In this video we are going to make simple Line follower robot using Arduino.
    The idea behind this robot is to detect black line using 2 IR sensors and move robot accordingly using L298N motor driver module.
    I have explained in details each step along with code.
    👉Please subscribe: ruclips.net/user/hashinclude...
    👉Components list:
    ✅ Arduino Uno amzn.to/3z97ACS
    ✅ IR Sensor amzn.to/3fE1tgs
    ✅ 2WD car kit amzn.to/3U8BVqK
    ✅ L298N motor driver module amzn.to/3hfLIwJ
    ✅ 7-12 V DC Battery (in our case lipo 2s battery) amzn.to/4cxwz0Q
    ✅ Jumper wires amzn.to/3heE3Pa
    ✅ Glue gun amzn.to/3zfhwe4
    ✅ Double sided tape amzn.to/3KSJdfa
    ✅ Black Electrical Tape
    👉 Shorts Channel :
    / ujwalnandanwar
    👉Code and diagram:
    github.com/un0038998/LineFoll...
    👉 Hand Gesture controlled car
    • Hand Gesture Controlle...
    👉 Elevating Car
    • Elevating WiFi Car usi...
    👉 Camera Car
    • Surveillance Car using...
    👉Bluetooth Car
    • How to make Bluetooth ...
    👉Wi-Fi Car
    • Smartphone controlled ...
    👉Obstacle avoiding car
    • Arduino Obstacle Avoid...
    👉Arduino RC car using nrf24l01+ module
    • Arduino RC car using N...
    👉Watch more videos:
    / hashincludeelectronics
    👉Follow us on Instagram:
    / hashincludeelectronics
    ⏱Chapters
    00:00 Intro
    00:33 Components
    01:10 Assembly of car
    02:30 Connections
    03:37 Code explanation
    05:22 Sensor calibration
    05:49 Demo
    #linefollowerrobot #arduinoprojects #hashincludeelectronics
  • НаукаНаука

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

  • @vethumdasanayaka6274
    @vethumdasanayaka6274 2 года назад +8

    Thank You !! It Was Very Helpful. You're Amazing !!🖤🖤

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

    Thank you for such a great explanation

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

    Thank you so much for this video. It's really helped me a lot to practice with Arduino UNO.

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

    you saved me alot of hard work bhai. love it!!!!!

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

    Harsh I find it highly professional channel. It is well organized. Please do videos on micro mouse and AI. All the best!

  • @asmnazmuzzaman1703
    @asmnazmuzzaman1703 2 месяца назад +1

    Very simple explanation thank you.

  • @prabhatverma7538
    @prabhatverma7538 2 года назад +3

    Awesome bro , this is helpful ..

  • @drjamur
    @drjamur Месяц назад +1

    Woah thats so coool , i guess i know what to do now thank you sir

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

    Thnx sooo much for the video it really helped me!!!!!!!

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

    Super bro..thnq for sharing

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

    Fantastic explanation 🎉❤

  • @hashincludeelectronics
    @hashincludeelectronics  2 года назад +85

    Guys I am observing that people are facing issue only because they are using 9v non rechargeable battery . Please don’t use that 9v non rechargeable battery because it does not provide enough power . Use some good rechargeable battery like LiPo or LiON batteries👍🏻

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

    nice presentation bro. keep it up

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

    It helped me a lot!

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

      Thank you very much for checking out the video and I am glad that it helped you 👏🏻👍🏻

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

    thank you!

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

    BEST SOLUTION for basic line follower robot , thanks you !!

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

      Thank you very much for checking out the video and comment 👍🏻👏🏻

  • @uwu-iv8zi
    @uwu-iv8zi Год назад +1

    muchas gracias bro... me re sirvio

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

    Thankyou so much.

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

    Very helpful 🙂👌

  • @philippkroener937
    @philippkroener937 2 года назад +21

    Thanks for you're great video!
    We're doing a quite similar arduino project and we were wondering if it's possible to let the robot make a 180 degree turn, so that it can make it through the parkour in both directions.

    • @hashincludeelectronics
      @hashincludeelectronics  2 года назад +5

      You can make a code change to rotate robot . Adding proper delay will rotate the robot through certain degree . Not exactly but roughly . Give it a try 👍🏻

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

      @@hashincludeelectronics How can I make it do a 180-degree turn?

  • @Leesamba
    @Leesamba 2 месяца назад +1

    Thank you Sir

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

    Excelente video, gracias, te ganaste un nuevo suscriptor. 🙋

  • @haseeb3543
    @haseeb3543 3 месяца назад +2

    Finallyyyy maaaaaahnnnn finallyyyyyyyyyyyyyyyy ............ GUYZZZ IT IS WORKING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @user-ly8op8dy2k
    @user-ly8op8dy2k Год назад +4

    Thanks for you're great video!
    We're doing a quite similar arduino project and we were wondering if it's possible to use 11.1v 3s battery lippo

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

    Thnx brother

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

    Great video. Your tutorial actually works perfectly. Can you send me one more instruction, I'm trying to connect an ultrasonic sensor and I want to stop rotating both motors when the distance is less than 30 cm.

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

      Thanks for checking out the video 👍🏻👌🏻. You can check my video on human following robot for use of ultrasonic sensor .

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

      @@hashincludeelectronics It isn't working as I do it by myself. Can send me some instructions to do what I want.

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

      simply i mean how to make a line following robot which stops at an obstacle

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

    Nice video bro

  • @iamhemanthsai2035
    @iamhemanthsai2035 5 месяцев назад +1

    Well explained

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

    Hi, your video is amazing, can you tell me How long should the chassis of the car be? Please. I need the measurements of almost everything that should be used . Thank you and I really hope you can help me 😢

  • @youssefebada9923
    @youssefebada9923 2 года назад +3

    Thank you so much for the video it was really good, I'm doing the same project but I'm adding a PID controller to smooth the movement so could you please help me by guiding me what to add to the code. Thanks in advance bro

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

      Thank you very much and I wish all the best for your project . Adding PID to such robot is quite challenging. You will need to use multiple sensors and then tune PID . I would suggest you to check some other videos where they used PID . Good luck 👍🏻

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

      Dude, I'm doing the same project to control the motor.

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

      I'm using an encodere to try it.

  • @naveennagendra743
    @naveennagendra743 5 месяцев назад +1

    tq sir

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

    👌🏻👌🏻👌🏻

  • @isamuddinahmad9777
    @isamuddinahmad9777 2 года назад +3

    You have make a great stuff. Can i slow down the motor from 180? if can i will compose message for you.

  • @m-m4974
    @m-m4974 4 месяца назад +1

    Thanks alot

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

      Welcome 🙏

    • @m-m4974
      @m-m4974 4 месяца назад

      @@hashincludeelectronics i need help in my micromouse robot can you help me?

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

    Thanks for the great video.
    I was watching your project and in which one sensor is working properly but light lights are red. The other sensor has 1 green light glowing and it is not working at all. What should I do?

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

      You need to caliber both the sensors as shown in video 👍🏻👏🏻

  • @stavrospantelis8991
    @stavrospantelis8991 2 года назад +3

    I have a question with the wiring, I see you Combine a bunch a wires into one when doing the sensors how do we also make that?

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

      It’s quite simple . Just join one end of multiple wires together and then attach single wire to this joint . I used this so that I can provide 5v and gnd to all components from l298n drive .

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

    Very cool 👍

  • @mmithran5554
    @mmithran5554 3 дня назад +1

    Thank you to give such a great video😊❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉

  • @user-px3gh9fr8w
    @user-px3gh9fr8w Год назад +1

    Hi.
    I watched the video and made the robot. The problem is when the robot walks, we notice that one of the sensors is close to the edge of the black line, while the other sensor is farther away at the black line, although the distance between the sensors is equal to the width of the line. How to make the right and left sensor on the two edges of the line

  • @chamansingh5219
    @chamansingh5219 5 месяцев назад +1

    Amazing video dear and good explanation. I followed each and every step as you explained and also used rechargeable battery motors are not working sensors are ok. Please guide

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

      Please check for any loose connection. Also calibrate the IR sensor 👍🏻👏🏻

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

    excellent video, you know if it would work the same if I put a 9v battery directly to the power plug

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

    Thanks for you're great video!
    it was very clear. i followed all steps and everything worked except motor? how can i fix it?

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

      Please make sure you use only rechargeable battery . This solves lot of issues 👍🏻

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

    Thanks for the great video!
    I have a question regarding the power. If I power up the arduino straight from battery, then I connect VIN & GND from arduino to 12V and GND of L298, then I take 5V & GND from arduino to the IR sensors, will it work? I tried doing that but my arduino just makes a continuous beep sound. Thank you!

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

      Please check the video for connections 👏🏻👍🏻

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

      Hello, can you resolve the problem? . In my case, i have the same problem than you

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

      @@robertmanuelgonzalez2332 i rewatched the video and turns out my connections were wrong, try to check your connections!

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

    I have the same kit, what do you recommended me to do for additional speed?

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

    Good

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

    Does a 4 AA battery works for this...if not,suggest any alternative battery for this other than the one you have used in this video....we have tried using 2 HW connected in series....but the motor stops after running for some time.....

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

    Hi, i have a problem that the wheels doesn't move even on a white surface. I followed the video up until the part with the power source. I used 4 AA batteries as the set i used included that kind of battery compartment. What could be the problem?

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

      Thanks for checking out video 👍🏻. You can easily adjust the speed in code by changing the value of (MOTOR_SPEED 180) . Try increasing it till 255 max value based on your current speed

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

    Nice work man. Just a question, is there a way to adjust the speed of the car? We have a racing competition. Hope you can help. Thank you.

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

      Yes you can adjust the MAX MOTOR SPEED in code . However not sure if this will be suitable for racing competition you are participating. This is very basic line follower robot. It does not have any latest technique like PID control or more sensors etc .

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

      @@hashincludeelectronics thank you for your response. Can I achieve fast bot using l293d and 3 ir sensor?

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

    hey thx for the detailed video.i made the robot but i dont understand how did u calibrate the sensors like
    should they beep when they detect the line or wht
    also the motor wont move and the code is all the same as u provided
    the ir sensors continuosly make a beep sound
    can u pls reply and tell me the solution as i want to make this robot
    also i had to ask if the whole project will work on a 9v battery(non rechargeble)

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

      Please use only rechargeable battery 👏🏻👍🏻. Also check the video for calibration 👌🏻

  • @BhargavMahajan
    @BhargavMahajan 8 месяцев назад +4

    Thanks for your great video!!
    Actually I am doing a similar arduino project for college purpose and our faculty is asking for a proper circuit simulation using tinkercad or proteus for this project but we are unable to find L298N H bridge in tinkercad so can you please help with this issue and provide with some simulation softwares which will help.

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

      Unfortunately I will not be able to help with this simulation 👍🏻👏🏻

  • @nicolassintenis4700
    @nicolassintenis4700 2 года назад +4

    hello there,
    thanks for you video you are already carring us through our university projekt. But in our project we need to go the track backwards. Do you belive its better going backwards or let the linefollow robot turn 180 degrees at the end of the track and then drive back. In our track the end of the line is build with a big black point. So that both sensors see black and stop.
    We would really appreciate an answer.
    Greetings from Germany

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

      I would suggest make a 180 turn . Right now this robot stops after seeing black big spot . Rather than stopping it , let it turn 180 degrees . You need to adjust delay for this 180 degree rotation . I don’t have robot assembled to test it . So you need to do it on your robot and see if it works . 👍🏻

  • @Christian-lr4wt
    @Christian-lr4wt 8 месяцев назад +1

    Great video the circuits work but im just curious why my robot is resetting while it detects a line? sometimes when it detects it stops and reset the the led is blinking after the restart

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

      I think issue is with your power supply . Please check that 👍🏻👏🏻

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

    Hello thanks for your video , i would like to know for this kind of robot if it’s better in terms of stability and maneuverability to do 4 wheels (2 in the back 2 in front ) or only 2 wheels or 2 wheels in the back and one wheel in the front like you did ?

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

      Anything will do . But you will have to make changes accordingly in your code for speed .

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

    I'm very excited with your idea. But when I tried em with 9v battery it won't start. Do I have problem with power supply?

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

      Thanks for checking out video 👍🏻. You can easily adjust the speed in code by changing the value of (MOTOR_SPEED 180) . Try increasing it till 255 max value based on your current speed

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

    I think I have a different type of arduino
    In my arduino there is no black rectangle in between just the left and right side
    nothing in between like it has just right to the connection
    will it work or i need the same on

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

      Please check the pins and make connections accordingly 👍🏻👏🏻

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

    Can we use a case of 4 batteries with 3.7 v each instead of this lippo battery mentioned in your video ??

  • @udhaireddy
    @udhaireddy 8 месяцев назад +3

    Hi. Can you share what RPM motor you are using. I am using 100 rpm geared motors and it takes about 3 cms to stop and that is causing the sensor to cross the black line.

  • @fouzanjaved5441
    @fouzanjaved5441 2 года назад +3

    Sir, which analog pin of the positive and negative pin of the 5v buzzer. Sir, can I have to write the code of the 5v buzzer in the line follower, will the line follower robot work or not?
    Sir, I put the buzzer pins and the led in the Arduino Uno, but the Arduino line follower robot s buzzer and led are not working when I turn on the line follower, the line follower robot works but the 5v buzzer and led are not working. Give me the circuit diagram of the Arduino line follower robot s buzzer and led visual indication.

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

      Please check the buzzer specification for pins . Also first check only buzzer working with Arduino and then integrate with line follower code . Go step by step , have patience 😜 and it will work 👍🏻

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

    what kind of double wires are u using to connect arduino and sensors?

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

    Thanks for this video!
    I built the robot but, the wheels aren't rotating even when the arduino uno board is attached to my laptop.
    Also the 'L' labelled LED is not glowing on the arduino Uno board.
    What should I do?

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

      Please check the video slowly and carefully. You might have missed some step 👍🏻👏🏻

  • @user-iy8qw7jl2s
    @user-iy8qw7jl2s 5 месяцев назад +1

    Our robot stops when it reaches the black line instead of following it. How do we make it follow the line?

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

    How many jumper wires will be required and which male to female or male to male connecters?

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

      You can buy set of mixed jumper wires . Those will be used in future as well . Keep it with you 👍🏻👏🏻

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

    My query is can this robot travel in an unclosed loop (i.e. a curvy line ) and stops at end point

  • @user-lx9tm5qb2d
    @user-lx9tm5qb2d Год назад +1

    Why do we need to use rechargeable batteries instead of regular ones? Is there any alternative? great video btw.

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

      Thank you very much for checking out the video 👍🏻👏🏻. Rechargeable batteries provide enough power for these projects . Hence we use it . It also avoids many power related issues in our project .

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

      Can u provide me this in working model..
      I can pay for this

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

    hello sir i really liked the videoi wanted to know how to add station stops of 15 seconds to the robot

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

      You can add it in code after delay(15)

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

      @@hashincludeelectronics how to add. as i want the robot to stop for about 15-20 seconds on every set stop.

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

    Hi!! If i want to move robot backward.. Is it necessary to use IR sensor on the rear?

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

      That's a good point . I don't think we need IR sensors on the rear of car. You can still move the car backwards (In the same way we are moving in forward direction) and keep checking if these IR sensors touch the black line and move the car accordingly in left/right backward direction.
      You can add 2 modes of operation in code , 1. Forward mode 2.Backward Mode.
      Give it a try and let us know how it goes.

  • @riteshkapoor4471
    @riteshkapoor4471 2 года назад +3

    when output is high then the motors are not working but when output is low then it works.... please help asap

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

    Its all done! When i paste the codes why its not running the motor?

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

    Sir alll functiality work good but vehicle not running if lift up then it's runs wheels

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

      The power supplied is not enough . Please use good rechargeable battery . 👍🏻👏🏻

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

    Will this work if i use a black sellotape to make the line on a gray colored floor?

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

      It might work but you will have to calibrate the sensor accordingly. For better response please use white floor only 👍🏻

  • @user-he2pd4qh1r
    @user-he2pd4qh1r 8 месяцев назад +1

    Hello admin actually we made so before connecting wires it spins but its not working can you please help?

  • @MBTI-INTP359
    @MBTI-INTP359 11 месяцев назад +1

    THANK YOU FOR THE VIDEO BUT MY MAIN PROBLEM IS IHAVE GIVEN ALL THE CONNECTION CORRECTLY AND ALSO FEEDED THE CODE BUT IT'S NOT RUNNING AS EXPECTED

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

    Can I use tcrt5000 sensors instead of those you're using on the video?

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

      If those sensors can act like IR sensors then yes you can use . It should provide you digital output 👍🏻👏🏻

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

    Hello sir, can we use Bo motors for this !?

  • @Revusic
    @Revusic 5 месяцев назад +1

    Can I use l293d motor

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

    I did everything in this video, the IR sensors are working and detecting the black line but the motors still do not move? I checked all the wiring and nothing is flawed, please help.

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

      dude did you find the solution , facing the same issue

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

    Can we use Duracell 9v battery

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

      Yes you can use that . But make sure you use new one so that it provides sufficient power .

  • @kristonwang6779
    @kristonwang6779 9 месяцев назад +1

    Sir, I wonder what controls the movement of this robot, is it the code saved in arduino uno?

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

    hello sir, thanks for sharing your project
    i would like to ask if this works with arduino uno r3

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

      Thanks for checking out the video 👍🏻 yes I used the same module

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

      @@hashincludeelectronics thank you!!!

  • @alexxxzx
    @alexxxzx 2 месяца назад +1

    hi good day, thank you for this wonderful video tutorial!!
    We did everything you did in this video but our robot is not following line, it just keep on spinning around, maybe because one of the wheels is not working properly (but we already changed it but still nothing) also im using 9v battery, maybe this battery voltage is not enough.
    can u help me?

    • @alexxxzx
      @alexxxzx 2 месяца назад +1

      everything is working if i move the wheel forward but i was only temporary

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

      Please use rechargeable battery only . Don’t use that 9v non rechargeable battery 👍🏻👏🏻

    • @DaX.2858
      @DaX.2858 2 месяца назад

      hey mate is it working now? iam also making this project but it is not working i don't know why.. can you help..

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

    hey i am just a fresher planning to do this project i just want to know while uploading the code on Arduino the Arduino should be connected to the laptop right? but after dumping code on Arduino can we remove it, and still does it work? sorry if it's too basic cos I'm just a fresher but very interested to do Arduino related projects

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

      Yes, It will work. Upon uploading the code to Arduino, it executes every time power is supplied to the board.

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

      Thanks Parvez for explaining this . 👏🏻👏🏻 nice cooperation 👍🏻

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

      @@parvezkhan5198 thank you i also wanted to know if there's any arduino code to control the speed of the robot

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

    Sir, when I turn on the switch my motors are always running in forward direction even when I bring one sensor on black path at low speed

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

      I thought I'm the only one

  • @g02anzanoakiraf.80
    @g02anzanoakiraf.80 3 месяца назад +2

    Good day!
    We are working on this for a school project and we followed the steps with utmost care and yet the wheels won't move
    The IR sensor can sense but it still doesn't work we even tried highering the speed to no avail. Also, we use 4AA lithium-ion batteries.
    What are some possible solutions to our problem?

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

    hey nice project i have a queston my motors make this screeching noise and doesent move and the ir sensor dont controle i am using a 5v from arduino and gnd and then 9v from battery what power souurce should i use

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

      Please use rechargeable battery only 👍🏻

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

      @@hashincludeelectronics hey thanks i have a new problem the ir sensors work and light up but only 1 ir sensor controles 1 motor how dpo i get the other one to controle the other motor i think the left is only woking and so is the left motor

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

    Please make a video on same line follower robot but using L293D motor driver insted L298D motor driver please send video

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

      I think you can do it easily . Just try to find out how to use L293D driver . And update the code accordingly. Give it a try . However I am not sure why you need to use L293D where as L298N is simple to use .

  • @NoOne-br7bl
    @NoOne-br7bl 2 года назад +1

    How can I use the breadboard instead of L298N board.

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

      Breadboard is just for making connections easily(Consider it as board of wires). L298N module is motor driver module which is used to control motor.

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

    sir how can i make the robot move only in specific times like 15:00 or 8:30 and how can i make the robot stops in different positions ?????

  • @AMALHEg7
    @AMALHEg7 Месяц назад +1

    What is the minimum distance between both the ir sensors? My robot is not following the line properly.

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

      Make it around 5-6 cm . And the line thickness less than that 👍🏻👏🏻

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

    heyy which board we want to select??

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

    Thanks for you explanation.
    I was wondering that can your robot rotate 90 degrees?
    Because I built a project which is black line follower robot that I needed for my college and I did everything correct except that my robot cannot recognize the 90 degrees so no rotation at that angle, so can help me out of what to do?

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

      Thanks for checking out the video . Please note that this is very simple line following robot. If you need more angular and accurate turns , we will need to use more IR sensors and its a different project. You can check online for more information on such complex design.👍

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

      @@hashincludeelectronics Alright, thank you

  • @bdplsirivalonyareddy.gadda3390
    @bdplsirivalonyareddy.gadda3390 6 месяцев назад +1

    hi
    I watched your video and I do not have many male to female wires needed. can I tape the male to male wires instead

  • @divleenkaur8059
    @divleenkaur8059 9 месяцев назад +1

    In my project...wheels are not taking left or reoght turn...its just going in forward direction

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

      Please check video again for any missing step . Also use only rechargeable battery 👍🏻👏🏻

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

    is it ok if I use LiPo Rechargeable Battery 7.4V 2800mAh 25C?

  • @user-iy8qw7jl2s
    @user-iy8qw7jl2s 6 месяцев назад +1

    What is the name of the wire that connects the switch with the battery and the l298n motor driver?

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

      That is JST connector . However you can use simple any wire 👍🏻👏🏻

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

    I have doubt on the connection from motor to sensor
    how did u connected i ground from motor to both the sensors and uno
    similarly 5 v one
    I see a jumper wire with one male and 3 female
    whats that

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

      It’s like join 3 wires together and then connect single wire to this joint . So it’s like 1->3 connections . 👍🏻👏🏻

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

      ok got it boss
      thanks
      @@hashincludeelectronics

  • @user-iy8qw7jl2s
    @user-iy8qw7jl2s 6 месяцев назад +1

    Is it also possible to use LR6 batteries?

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

      If it’s rechargeable battery then yes please use it 👍🏻👏🏻

  • @shanmitha4581
    @shanmitha4581 2 месяца назад +1

    Where to connect the switch and battery? Because it differs from the circuit diagram you gave in description

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

      The circuit diagram is correct . Please follow it and also video step 👍🏻👏🏻

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

    i have any question, if I Use Battery 9 Volt in Schematic . can it work?

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

    hello sir.........ur video is really helpful.......i did also try to mke it for my school expo.........but the problem is the ir sensor is not detecting the black line...............the ir sensor is just scanning any surface and it moves......pls help me sir...my expo is comong soon.....thank you

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

      You need to calibrate the sensors as shown in video 👍🏻👏🏻

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

    Can I use 1.5V batteries?

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

      PLease do not use those 1.5v non rechargeable batteries . Use only rechargeable batteries .