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.
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👍🏻
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?
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.
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!
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!
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 .
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.
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 👍🏻
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 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
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.
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.
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
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.
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 👍🏻
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
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
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 . 👍🏻
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
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 .
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!
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 .
@@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.
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
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 👍🏻
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?
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
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.
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.
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.
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, 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?
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
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 👏🏻👍🏻
@@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)
@@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 👏🏻👍🏻
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
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 . 👍🏻👏🏻
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.
@@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. 👍🏻👏🏻
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?
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😢😢
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
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
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?
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.
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
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 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
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 😢
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.....
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 .
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
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?
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!!
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?
@@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 .
@@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.
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!
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!
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
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.
That is awesome!
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👍🏻
Hu
Huhuhuhu
Huhuhuhu
Huhuhu
Do we have any code to control the speed like to make it go faster
Finallyyyy maaaaaahnnnn finallyyyyyyyyyyyyyyyy ............ GUYZZZ IT IS WORKING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
That’s amazing news 👍🏻👏🏻. Good job
What battery you used plz reply
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?
Kawawa ka nmn 😔
Please use rechargeable battery 7-12 V 👍🏻👏🏻
Harsh I find it highly professional channel. It is well organized. Please do videos on micro mouse and AI. All the best!
Hello, mine seems like the right motor is not spinning, for the battery I'm using 2x 3.7v 18560 batteries
Please check the connections 👍🏻👏🏻
still the same, sometimes it works but most of the time it does not@@hashincludeelectronics
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.
Try 1:48 ratio motor which will have 200 rpm . 👏🏻👍🏻
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!
Sorry for delayed reply . You need to calibrate sensors as shown in video . But the same sensors used in this project 👍🏻👏🏻
when output is high then the motors are not working but when output is low then it works.... please help asap
Please check your connections again .
Bro my all the parts are working but it is making a beep sound and no moving
Use 7-12 v rechargeable battery to avoid power issue 👍🏻👏🏻
Thank you for such a great explanation
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!
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?
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 .
The motor speed is not decreasing even on changing it in the code. (I re uploaded the code also). Please help.
It should change the speed . Not sure why it’s not changing it . Let me check once I get time 👍🏻👏🏻
@@hashincludeelectronics Thankyou!!
@@hashincludeelectronics Please tell the solution. I have to show it in school on Monday
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.
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 👍🏻
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
Please use rechargeable battery only 👍🏻
@@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
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.
dude did you find the solution , facing the same issue
How many jumper wires will be required and which male to female or male to male connecters?
You can buy set of mixed jumper wires . Those will be used in future as well . Keep it with you 👍🏻👏🏻
Thank you so much for this video. It's really helped me a lot to practice with Arduino UNO.
You are welcome 🙏
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.
Connect black wires together as shown in video and diagram. Those are all GND wires 👍🏻👏🏻
@@hashincludeelectronics will it be in a series connection?
Awesome bro , this is helpful ..
Glad you think so!
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
Please check the pins and make connections accordingly 👍🏻👏🏻
Sir it's not working@@hashincludeelectronics
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.
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 👍🏻
@@hashincludeelectronics How can I make it do a 180-degree turn?
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
It’s like join 3 wires together and then connect single wire to this joint . So it’s like 1->3 connections . 👍🏻👏🏻
ok got it boss
thanks
@@hashincludeelectronics
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
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 . 👍🏻
Bro in my case motors are not rotating what i do please help
Please use rechargeable battery 👏🏻👍🏻
@@hashincludeelectronics bro now it's working i modified the code
@@matrixxlord4225 nice job 👍🏻👏🏻
@@matrixxlord4225how bro
@@matrixxlord4225can you send the modified code
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
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 .
I have same problem
My query is can this robot travel in an unclosed loop (i.e. a curvy line ) and stops at end point
Yes it can .
You have make a great stuff. Can i slow down the motor from 180? if can i will compose message for you.
Thanks you 👍🏻. Yes you can slow down the speed if needed .
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 ?????
Unfortunately it’s not possible with this robot
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!
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 .
@@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.
@@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 .
you saved me alot of hard work bhai. love it!!!!!
Happy to help 👍🏻
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
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 👍🏻
Dude, I'm doing the same project to control the motor.
I'm using an encodere to try it.
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?
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
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
Yes you can use that 👏🏻
7.4 v Battery can useable?
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
Please follow the video carefully and slowly 👍🏻
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.
Unfortunately I will not be able to help with this simulation 👍🏻👏🏻
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.
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.
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?
It will work . Just add buzzer to any output pin .
@@hashincludeelectronicsThanks, sir.
Sir, do you know how to use ibt4 motor drivers on Arduino and esp32.
@@fouzanjaved5441 unfortunately I don’t have any idea about this driver.
@@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?
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
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 👏🏻👍🏻
@@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)
@@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 👏🏻👍🏻
Your english needs traduction 😂😂
Can we use a case of 4 batteries with 3.7 v each instead of this lippo battery mentioned in your video ??
Use 2 batteries 👍🏻👏🏻
instruction unclear I burned my house
I am sorry to hear that and I hope everything is good. I have replied to you on other comment. Hope that helps .
Will this work if i use a black sellotape to make the line on a gray colored floor?
It might work but you will have to calibrate the sensor accordingly. For better response please use white floor only 👍🏻
Sir it is showing errors in the code in the last step can you please suggest something??
What exact error are you getting ? 👍🏻👏🏻
Thankyou bro finally now it's working properly
@@A1_GRAVITY awesome 👍🏻👏🏻
Our robot stops when it reaches the black line instead of following it. How do we make it follow the line?
for switch you have connected two wire for one thing what is it i don't understand please help me
Please check the circuit diagram for clarification 👏🏻👍🏻
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
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 . 👍🏻👏🏻
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?
Figure it out
Please help me out,can we use 4 pack battery holder with cells.please tell please in detail.
Please use rechargeable battery only . The total voltage should be 7-12 V 👍🏻👏🏻
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.
@@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. 👍🏻👏🏻
@@hashincludeelectronics Thank you but what about ground wires please tell.
@@Sk_Gaming_Official1 those are just connections. Check black wires connection in connection diagram for ground👍🏻
Good job prefect ❤
@@SejiNathmine Thank you very much 👍🏻👏🏻
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
Yes you can 👍🏻👏🏻
@@hashincludeelectronics ok thank you
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?
It should rotate in reverse direction as well . Check connections of motor . Reverse the wires of motors
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😢😢
Interchange the polarity of wires of one motor connected to L298N driver which is rotating in wrong direction 👍🏻👏🏻
do you mean change to another wire?
@@hashincludeelectronics
My robot is stopping when it reaches te black line instead of following it. How do i fix that?
You should calibrate the sensors as shown in video 👍🏻👏🏻
What can be the max speed value where you have kept it 180 in the program?
255
I have the same kit, what do you recommended me to do for additional speed?
Increase the speed in the code .
and if I turn the screws of the ir sensor, it is not glowing on the white surface also
You need to calibrate the sensors 👍🏻👏🏻
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
Please calibrate both the sensors as shown in video . Also use rechargeable battery only to avoid any power issues .
would this work on more complex map with inersections, curves and straight lines?
@@Zohathezombie23 no it will not . It’s very basic robot 👍🏻👏🏻
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
Please check for any loose connection. Also calibrate the IR sensor 👍🏻👏🏻
My bot is ready, but the ir sensor is not detecting & following the path.
👍🏻
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?
Please check the video slowly and carefully. You might have missed some step 👍🏻👏🏻
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.
Fantastic explanation 🎉❤
Thanks for checking out the video 👏🏻👍🏻
I did connection accordingly but my car is going back instead of moving forward with senseor
@@SiyaShoco interchange the polarity of motor wires connected to motor driver module 👍🏻👏🏻
Where to connect the switch and battery? Because it differs from the circuit diagram you gave in description
The circuit diagram is correct . Please follow it and also video step 👍🏻👏🏻
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
Yes, It will work. Upon uploading the code to Arduino, it executes every time power is supplied to the board.
Thanks Parvez for explaining this . 👏🏻👏🏻 nice cooperation 👍🏻
@@parvezkhan5198 thank you i also wanted to know if there's any arduino code to control the speed of the robot
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
As suggested earlier please try changing MOTOR_SPEED to max 255 in code .
U may Watch this
ruclips.net/video/EJIZY2ukn1Y/видео.html
What is the minimum distance between both the ir sensors? My robot is not following the line properly.
Make it around 5-6 cm . And the line thickness less than that 👍🏻👏🏻
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
Please make sure you use only rechargeable battery to provide enough power to your car 👍🏻
@@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
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 😢
You can buy this robot chassis online . It’s easily available 👍🏻
Its showing " rightMotorPin 1 was not declared in this scope"!!!! What might be the problem???
Plss answer by tmm
Copy past the code properly 👏🏻👍🏻
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 😢???
Are you changing the speed in code and re uploading again ?
@@hashincludeelectronics I have the same problem. I changed the speed and re uploaded the code but it still does not change.
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.
This car chassis is 2WD.
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.....
Don’t use that AA battery . Try LiOn 18650 2 cells .
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
Please check the circuit diagram for details 👍🏻👏🏻
In my project...wheels are not taking left or reoght turn...its just going in forward direction
Please check video again for any missing step . Also use only rechargeable battery 👍🏻👏🏻
i have any question, if I Use Battery 9 Volt in Schematic . can it work?
You can use 9V battery. But use only rechargeable battery.
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 ?
It will be different project . You will have to change pins . And also code will change a lot to use esp32 analog write 👏🏻👍🏻.
@@hashincludeelectronics could you give us some resources if you have any for how to use esp32 analog write in the code ?
@@sharanyaanil1512 there are many of my videos related to RC cars using esp32 . You can check any of those videos for reference 👍🏻👏🏻
My 850 goldbat battery doesn’t fit in the jst connector. Hoe do i fix that?
Please use the connector which is suitable for your battery . 👏🏻👍🏻
Sir alll functiality work good but vehicle not running if lift up then it's runs wheels
The power supplied is not enough . Please use good rechargeable battery . 👍🏻👏🏻
What is the name of the wire that connects the switch with the battery and the l298n motor driver?
That is JST connector . However you can use simple any wire 👍🏻👏🏻
sir I have connected all the connections like you said in the video . the car is not working please help
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 .
U may Watch this
ruclips.net/video/EJIZY2ukn1Y/видео.html
I followed every step checked the code 10 times also saw the connections .Its not running I used 9v rechargeable battery
What issue do you face ? Calibrate the sensors . Check if motors are working .
@@hashincludeelectronics Moters are working properly sensors also but not working pls help
The Indian link for Arduino uno is not available rn, Can u please provide the link which is compatible with this model?
Try this amzn.to/49nnyG0
Will it work with the model...as it is not ATmega328??
@@akanksharai8710 yes it will 👍🏻
Thank you 🎉
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
Please calibrate the IR sensors 👍🏻👏🏻
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?
Yes . Please use only rechargeable battery 👍🏻👏🏻
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
You can increase the speed in the code . 👍🏻👏🏻
@@hashincludeelectronics can i connect each ground to different ground points on the arduino
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!!
You need to make a line and put robot on it . Also make sure you calibrate IR sensors 👍🏻👏🏻
Still not following the line sir ..
Hello hash I have a important question do the wires that you soldered come with the chassis like the switch and motor wires
It comes with Motor wires . However I would suggest to buy set of jumper wires for this project . It will be useful 👏🏻👍🏻
Ok and what are all the kinds of batteries that I can use
Can you solder jumper wires
@@samir8943 yes you can 👍🏻
And the batteries
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?
It’s just connecting single wire to multiple wires the at one end.
@@hashincludeelectronics yes but how to do it practically.
Please explain
@@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 .
If we supply power to Arduino via USB cable but not the L298N, will it still work..?
Yea it will work . However you need to make sure the gnd of l298n is connected to Arduino .
@@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.
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!
Please check the video for connections 👏🏻👍🏻
Hello, can you resolve the problem? . In my case, i have the same problem than you
@@robertmanuelgonzalez2332 i rewatched the video and turns out my connections were wrong, try to check your connections!
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!
You need to put the robot on black line 👍🏻👏🏻
@@hashincludeelectronics how about the ir? why is it not working?
Hey. What is the enableRightmotor and enableLeftmotor?
Why are they necessary?
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 👍🏻
@@hashincludeelectronics so to move the right motor forward, what pin do we give power to?
Hey, can this robot run in only a closed arena or can we use any type of arena??
This is very basic robot and has lot of limitations . So please use the basic black line for it 👍🏻👏🏻
Sir.....we have tried but our motor speed is very low.... If we put it on surface it can't move... Please help me..
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 .
what kind of double wires are u using to connect arduino and sensors?
Those are connected wires . Connect 2 wires together at one end .
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
May be there is loose connection. Please check 👍🏻👏🏻