Line Follower Robot using Arduino🔥

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 1 тыс.

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

    Hi! This feels surreal. I remember watching your videos and how you helped us with our project-a hand sanitizer dispenser-back when I was in high school. Now, I'm watching your videos again as a college student! Thank you so much.

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

    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👍🏻

  • @haseeb3543
    @haseeb3543 9 месяцев назад +24

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

  • @g02anzanoakiraf.80
    @g02anzanoakiraf.80 9 месяцев назад +5

    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?

  • @tinkeringlabplus2516
    @tinkeringlabplus2516 2 года назад +12

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

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

    Hello, mine seems like the right motor is not spinning, for the battery I'm using 2x 3.7v 18560 batteries

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

      Please check the connections 👍🏻👏🏻

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

      still the same, sometimes it works but most of the time it does not@@hashincludeelectronics

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

    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.

  • @RaidenJ_Ei
    @RaidenJ_Ei 26 дней назад +2

    Hello! Do you still reply? I tried all of our codes and it's uploading it's just that our ir sensor doesn't show up any colors. For the dc motors, it doesn't work like the wheels doesn't spin. Thank you!

    • @hashincludeelectronics
      @hashincludeelectronics  6 дней назад

      Sorry for delayed reply . You need to calibrate sensors as shown in video . But the same sensors used in this project 👍🏻👏🏻

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

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

  • @anitaprajapati7576
    @anitaprajapati7576 5 дней назад +2

    Bro my all the parts are working but it is making a beep sound and no moving

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

    Thank you for such a great explanation

  • @Fishhigh-n4j
    @Fishhigh-n4j Месяц назад

    hello sir, I have a question. I am using a block based program to code the robot and I just cant seem to figure it out, I need to attribute a value to the sensors in order for them to pick up the black line but It keeps going on the white paper after I do every code, im using the Arduino uno. I would love any help!

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

      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 .

  • @nyssamohan-g7p
    @nyssamohan-g7p 10 месяцев назад +1

    The motor speed is not decreasing even on changing it in the code. (I re uploaded the code also). Please help.

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

      It should change the speed . Not sure why it’s not changing it . Let me check once I get time 👍🏻👏🏻

    • @nyssamohan-g7p
      @nyssamohan-g7p 10 месяцев назад +1

      @@hashincludeelectronics Thankyou!!

    • @nyssamohan-g7p
      @nyssamohan-g7p 10 месяцев назад

      @@hashincludeelectronics Please tell the solution. I have to show it in school on Monday

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

  • @dante.anderlich
    @dante.anderlich 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 👍🏻

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

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

    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 Год назад +1

      dude did you find the solution , facing the same issue

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

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

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

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

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

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

  • @Cool1233-o8j
    @Cool1233-o8j 2 месяца назад +1

    Excuse me, where is the GND of the left IR sensor connected to? I couldn’t really understand the diagram as it shows the black wire intersected with the wire in switch.

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

      Connect black wires together as shown in video and diagram. Those are all GND wires 👍🏻👏🏻

    • @Cool1233-o8j
      @Cool1233-o8j 2 месяца назад

      @@hashincludeelectronics will it be in a series connection?

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

    Awesome bro , this is helpful ..

  • @adityakiran4446
    @adityakiran4446 Год назад +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

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

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

  • @adityakiran4446
    @adityakiran4446 Год назад +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  Год назад

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

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

      ok got it boss
      thanks
      @@hashincludeelectronics

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

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

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

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

    Bro in my case motors are not rotating what i do please help

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

      Please use rechargeable battery 👏🏻👍🏻

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

      @@hashincludeelectronics bro now it's working i modified the code

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

      @@matrixxlord4225 nice job 👍🏻👏🏻

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

      @@matrixxlord4225how bro

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

      @@matrixxlord4225can you send the modified code

  • @Memee180
    @Memee180 3 года назад +3

    bro i am getting error when trying to upload the code
    Arduino: 1.8.17 Hourly Build 2021/09/06 02:33 (Windows 10), Board: "Arduino Uno"
    Sketch uses 1354 bytes (4%) of program storage space. Maximum is 32256 bytes.
    Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
    avrdude: verification error, first mismatch at byte 0x0000
    0x62 != 0x0c
    avrdude: verification error; content mismatch
    avrdude: verification error; content mismatch
    can you help urgently

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

      Thanks for visiting the channel 👍🏻. It looks like the problem is not with code . It is surely the problem with the hardware . Do you have other Arduino uno board ? If yes try uploading code into new board . And see if it works . I am assuming you are not using Arduino nano .

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

      I have same problem

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

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

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

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

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

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

    Hey I was following your video to make a Line Following Robot of my own, and I have everything set up as you do in the video, but the light on both of the IR Sensors labeled POWER is constantly lit red, not green like they are in your video. Also, the robot itself is not driving (the motors aren't spinning whatsoever). I was just wondering if you knew why this was the case and if you knew a fix for this issue. Thanks!

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

      Thanks for checking out the video 👍🏻. May be your IR sensor power LED is red . You should calibrate the sensors by placing them on black and white surface and adjusting the knob on sensors . Check the video properly . Also make sure you provide only rechargeable battery power .

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

      @@hashincludeelectronics Yes my Power LED on the IR Sensor is red, I was wondering if you knew why.
      I'll have code that I used to test if the robot could even drive attached below, and I believe something may be wrong with that as well so if you see anything wrong with it let me know.
      I calibrated the sensors just as you did in the video, so I do not believe that is an issue. The robot is detecting a change when I move it over the black tape, so again i do not believe that to be the issue.
      I checked the rest of the video twice, and everything seemed correct according to the video.
      And the battery I am using is a 6v battery pack, but I tried to power the robot by using a 9v battery and by plugging it into my laptop and running the code, but neither of those work.
      If you have any idea as to what could be wrong, let me know. Until then, thank you for the very detailed video!
      Attached code:
      // defining the pins
      void setup() {
      pinMode(10,OUTPUT);
      pinMode(9,OUTPUT);
      pinMode(8,OUTPUT);
      pinMode(7,OUTPUT);
      }
      // defining variables
      void forward(){
      digitalWrite(10,HIGH);
      digitalWrite(9,LOW);
      digitalWrite(8,HIGH);
      digitalWrite(7,LOW);
      }
      void pause(){
      digitalWrite(10,NULL);
      digitalWrite(9,NULL);
      digitalWrite(8,NULL);
      digitalWrite(7,NULL);
      }
      void loop() {
      // code to make the robot drive
      pause();
      delay(1000);
      forward();
      delay(3000);
      pause();
      delay(1/0);
      }
      And then the in a separate file I have your code that I copied from GitHub, but that too does not work.

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

      @@saladbar__ in your code you did not add enables pins . You need to provide analogWrite to those ena and enb pins . Check the code again .

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

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

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

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

      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

  • @Izzatwajdi
    @Izzatwajdi Год назад +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

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

    Sensor are work on all tha places not only black region and I test in paper, that place also sensor work and. Robot move .what I do

  • @BhargavMahajan
    @BhargavMahajan Год назад +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  Год назад +2

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

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

    Bro, how did you say that when the two IR sensors read low the black line is not detected. Notice that the IR sensor reads 0 when it detects blackline because black absorbs the ray from the transmitter, and it reads 1 when the black line is not detected because the infrared ray from the transmitter is reflected on the receiver. So, can you kindly explain to me why did you that if it reads low then the black line is not detected? because I am confused with that and I do not know if I am wrong or not. Thanks in advance.

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

      Sure . The sensors digital output is LOW when it does not detect black line . Sensors digital output is HIGH when it detects black line. Hope it’s clear now. About the light or ray absorption you are right . But I am talking about digital output from sensor which goes LOW or HIGH.

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

    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?

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

      It will work . Just add buzzer to any output pin .

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

      @@hashincludeelectronicsThanks, sir.

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

      Sir, do you know how to use ibt4 motor drivers on Arduino and esp32.

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

      @@fouzanjaved5441 unfortunately I don’t have any idea about this driver.

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

      @@hashincludeelectronics, 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?

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

    so i’ve completed almost all of it now the problem is that when I try connecting the power on the uno board (GND or 5V) i can only insert one wire and if i add the other it will cut off all power of the robot, I checked the battery, its just a bit different as it has 900MAH instead of 800 but other than that the battery is the same as the one you use. helpp

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

      You need to connect battery to L298N driver 12 v pin . And then need to provide 5v from L298N to Arduino Uno . Please check the circuit diagram for more details 👏🏻👍🏻

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

      @@hashincludeelectronicsI have done that the power first goes to the l298n board than to uno board by the help of jumper wires but for example (I put the jumper wire from l298n GND to uno board GND it works, but now if I try inserting the jumper wire from l298n 5V to uno board 5v everything turns off)

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

      @@jstx_xmua could you please check my how to use L298N driver module video ? May be you are missing something like you might be removing 5v jumper wire on L298N driver . Please check 👏🏻👍🏻

  • @zouhaierchedly8583
    @zouhaierchedly8583 9 месяцев назад +3

    Your english needs traduction 😂😂

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

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

  • @francismarievictoriamendoz3084
    @francismarievictoriamendoz3084 2 года назад +11

    instruction unclear I burned my house

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

      I am sorry to hear that and I hope everything is good. I have replied to you on other comment. Hope that helps .

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

  • @harshjain.26
    @harshjain.26 2 месяца назад +2

    Sir it is showing errors in the code in the last step can you please suggest something??

  • @A1_GRAVITY
    @A1_GRAVITY 4 месяца назад +2

    Thankyou bro finally now it's working properly

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

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

  • @aishwarya.m9481
    @aishwarya.m9481 Год назад +1

    for switch you have connected two wire for one thing what is it i don't understand please help me

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

    May I ask if we use a frame model that has four wheels (2 at the front, 2 at the back) whether we can still use the coding that has been shared using a frame model like that.
    and can explain how to connect the cable from the sensor to the driver and to the Arduino
    If coding is successful but not successful and the sensor is green, can you explain what to do? please explain min

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

      Yes we can use that 4WD model as well . Give it a try . There is parameter in code called MAX_MOTOR_SPEED which you change to increase the speed if needed . 👍🏻👏🏻

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

      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?

    • @MarkSmith-ty2xb
      @MarkSmith-ty2xb Месяц назад

      Figure it out

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

    Please help me out,can we use 4 pack battery holder with cells.please tell please in detail.

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

      Please use rechargeable battery only . The total voltage should be 7-12 V 👍🏻👏🏻

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

      Please help me out,I can't understand what are ground wires and and from where we can purchase it or tell in alternative and another thing that what if our l298n mother driver doesn't have ENA port will it work please tell.

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

      @@Sk_Gaming_Official1 just follow the circuit diagram for connection and also look into video . You can use any wires for connection . L298N driver has ena and enb. 👍🏻👏🏻

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

      @@hashincludeelectronics Thank you but what about ground wires please tell.

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

      @@Sk_Gaming_Official1 those are just connections. Check black wires connection in connection diagram for ground👍🏻

  • @SejiNathmine
    @SejiNathmine 26 дней назад +1

    Good job prefect ❤

  • @bdplsirivalonyareddy.gadda3390
    @bdplsirivalonyareddy.gadda3390 Год назад +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

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

    Sir,
    Front and back rotation of wheels is not happening!only forward taking place.No difference in rotation whether kept on line or not!
    Is the problem is in code or any connection which I made??This problem occurs due to code or connection?

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

      It should rotate in reverse direction as well . Check connections of motor . Reverse the wires of motors

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

    Hi, I have a issue is one of my wheel moving forward and another one is moving backward, if on the blackline, the both wheels seems to be change the direction too😢😢

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

      Interchange the polarity of wires of one motor connected to L298N driver which is rotating in wrong direction 👍🏻👏🏻

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

      do you mean change to another wire?
      @@hashincludeelectronics

  • @JuliusVanderWielen-q3f
    @JuliusVanderWielen-q3f 11 месяцев назад +2

    My robot is stopping when it reaches te black line instead of following it. How do i fix that?

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

      You should calibrate the sensors as shown in video 👍🏻👏🏻

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

    What can be the max speed value where you have kept it 180 in the program?

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

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

  • @bdplsirivalonyareddy.gadda3390
    @bdplsirivalonyareddy.gadda3390 Год назад +1

    and if I turn the screws of the ir sensor, it is not glowing on the white surface also

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

    Hi .. I have a issue IR sensor not properly follow the path.. and at a time only 1 motor rotate other doesn't.. I'm checking my connection properly but same problem occur .. kindly guide me thank u

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

      Please calibrate both the sensors as shown in video . Also use rechargeable battery only to avoid any power issues .

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

    would this work on more complex map with inersections, curves and straight lines?

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

      @@Zohathezombie23 no it will not . It’s very basic robot 👍🏻👏🏻

  • @chamansingh5219
    @chamansingh5219 11 месяцев назад +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  10 месяцев назад

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

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

    My bot is ready, but the ir sensor is not detecting & following the path.

  • @latikagurudu3618
    @latikagurudu3618 10 месяцев назад +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  10 месяцев назад

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

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

    It is better to show us how this kind of robot can bring food to a table in a restaurant or how it can bring medecine to sick ppl in time of covid, cholera...in order to avoid contamination.

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

    Fantastic explanation 🎉❤

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

    I did connection accordingly but my car is going back instead of moving forward with senseor

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

      @@SiyaShoco interchange the polarity of motor wires connected to motor driver module 👍🏻👏🏻

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

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

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

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

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

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

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

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

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

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

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

    I have done everything but the car motor is not running the ic was short I renewed it but it is not running but sensor is working perfectly

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

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

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

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

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

    Help, everything turns on, everything is well connected, I imagine the sensors are working because they sound and they are already calibrated, the problem is that the wheels do not make any movement. Please help me, it is for today

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

      Please make sure you use only rechargeable battery to provide enough power to your car 👍🏻

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

      @@hashincludeelectronics I used a square 9 volt battery, and now if I disconnect 1 motor, it only moves the wheel that is connected, but if I connect the 2 motors it does not move any wheel

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

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

    Its showing " rightMotorPin 1 was not declared in this scope"!!!! What might be the problem???

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

    My project also already set up as shown in video. But when i change the speed lower, about 20, there are no change on our project speed. Why 😢???

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

      Are you changing the speed in code and re uploading again ?

    • @nyssamohan-g7p
      @nyssamohan-g7p 10 месяцев назад

      @@hashincludeelectronics I have the same problem. I changed the speed and re uploaded the code but it still does not change.

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

    About the car chassis. May I ask that is it 2WD Car Chassis will be ok? Because the car chassis in your video is unavailable to deliver to my place.

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

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

    3:06 here u connected a brown wire to the ir sensors, this doesn’t make sense and the video doesn’t make sense pls explain in the comment

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

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

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

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

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

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

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

    can we convert the code you have provided for a robot that uses esp32 microcontroller ? if so what changes should we make in the code ?

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

      It will be different project . You will have to change pins . And also code will change a lot to use esp32 analog write 👏🏻👍🏻.

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

      @@hashincludeelectronics could you give us some resources if you have any for how to use esp32 analog write in the code ?

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

      @@sharanyaanil1512 there are many of my videos related to RC cars using esp32 . You can check any of those videos for reference 👍🏻👏🏻

  • @JuliusVanderWielen-q3f
    @JuliusVanderWielen-q3f Год назад +1

    My 850 goldbat battery doesn’t fit in the jst connector. Hoe do i fix that?

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

      Please use the connector which is suitable for your battery . 👏🏻👍🏻

  • @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 . 👍🏻👏🏻

  • @JuliusVanderWielen-q3f
    @JuliusVanderWielen-q3f Год назад +1

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

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

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

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

    sir I have connected all the connections like you said in the video . the car is not working please help

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

      Thanks for checking out video 👍🏻. What issues are you facing ? Could you please increase the speed in code MOTOR_SPEED till 255 ? Let me know how it goes .

    • @Intrestingchoices-wr5ty
      @Intrestingchoices-wr5ty 2 года назад

      U may Watch this
      ruclips.net/video/EJIZY2ukn1Y/видео.html

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

    I followed every step checked the code 10 times also saw the connections .Its not running I used 9v rechargeable battery

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

      What issue do you face ? Calibrate the sensors . Check if motors are working .

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

      @@hashincludeelectronics Moters are working properly sensors also but not working pls help

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

    The Indian link for Arduino uno is not available rn, Can u please provide the link which is compatible with this model?

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

    bro can you help me im trying to make this but the IR sensors detect everything and motors move even on the white floor how can i make it detect the black line and not floor

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

    Sir, our sensors are working fine but the wheels are not rotating.No issues with motor.Is it due to error in code or due to the 9v non rechargeable battery?

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

    Hello,
    I am having an issue where when i switch on the robot both the motor doesn't rotate but it makes a humming sound

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

      You can increase the speed in the code . 👍🏻👏🏻

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

      @@hashincludeelectronics can i connect each ground to different ground points on the arduino

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

    Hello sir,I made this project using Arduino atmega 2560 as it was not allowed to use the Arduino uno board in my college.... Bit sir,it is just rotating in circular manner... When i put the code you provided... Please help!!

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

      You need to make a line and put robot on it . Also make sure you calibrate IR sensors 👍🏻👏🏻

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

      Still not following the line sir ..

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

    Hello hash I have a important question do the wires that you soldered come with the chassis like the switch and motor wires

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

      It comes with Motor wires . However I would suggest to buy set of jumper wires for this project . It will be useful 👏🏻👍🏻

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

      Ok and what are all the kinds of batteries that I can use

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

      Can you solder jumper wires

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

      @@samir8943 yes you can 👍🏻

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

      And the batteries

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

    hi there. I am confused in one thing. how do you provide one ground connection to both the sensors??
    I see you have joined the wires. Can you explain how to do that?

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

      It’s just connecting single wire to multiple wires the at one end.

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

      @@hashincludeelectronics yes but how to do it practically.
      Please explain

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

      @@manualidadesde5minutos865 ok . Take single jumper wire . Cut it at one end . Then take 2 jumper wires . Join these 2 wires together at one end and then connect this end to single jumper wire . Like Y shape .

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

    If we supply power to Arduino via USB cable but not the L298N, will it still work..?

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

      Yea it will work . However you need to make sure the gnd of l298n is connected to Arduino .

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

      @@hashincludeelectronics Thanks for the quick reply, but unfortunately my robot isn't working 🥺. The IR Sensors are also calibrated, their LED glows when they are in front of white color, and don't when the white color isn't there.

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

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

    hello i have a question! why does it when we turn on our robot, the wheels on it runs in backwards or in reverse? how can we fix this? please answer asap ty!

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

      You need to put the robot on black line 👍🏻👏🏻

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

      @@hashincludeelectronics how about the ir? why is it not working?

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

    Hey. What is the enableRightmotor and enableLeftmotor?
    Why are they necessary?

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

      Those are to control the speed of the motors . Check for L298N driver for more details . There is a video as well on my channel 👍🏻

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

      @@hashincludeelectronics so to move the right motor forward, what pin do we give power to?

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

    Hey, can this robot run in only a closed arena or can we use any type of arena??

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

      This is very basic robot and has lot of limitations . So please use the basic black line for it 👍🏻👏🏻

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

    Sir.....we have tried but our motor speed is very low.... If we put it on surface it can't move... Please help me..

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

      Please use only rechargeable battery. Also you can increase the speed of motor by changing the value of MAX_MOTOR_SPEED from 0-255 max .

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

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

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

    Hola, tengo un problema hago todo lo del video e igual la calibracion pero no se activan las motores, estoy usando una pila recargable, cual cree que se el problema? tambien cambie la velocidad del motor a la maxima pero sigue sin funcionar