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👍🏻
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.
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 👍🏻
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.
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 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.
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?
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 .
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 😢
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 . 👍🏻
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 👍🏻
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 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 .
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?
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.
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
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
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 .
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.
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 ?
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?
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?
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 .
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 .. 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
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!
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 .
We did everything as you shown but the problem is Bot's wheel runs when the bot is connected to laptop But when ones the laptop removed it don't run Please help us sir
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
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. 👍🏻👏🏻
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?
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
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
Heyy, can you help us We have done the connections but in one ir sensor the wheels are moving clockwise and in right it is moving anticlockwise Please let us know as early as possible
@@hashincludeelectronics and what if the ir sensor is not detecting the black line? Like it is detecting surface but is stoping when it sees black line..