How To Make Line Follower Robot Using PID Controller | Maze Solver Robot Using Arduino At Home

  Рет қаралды 166,817

GeekTechnophiles

GeekTechnophiles

Күн бұрын

Пікірлер: 215
@alandelgado5406
@alandelgado5406 3 жыл бұрын
This is the best I have seen so far. Thank you for sharing!
@hichemchtara6327
@hichemchtara6327 3 жыл бұрын
Bravo, Excellent !!! My remark regarding this kind of projects about the car, and the motors. The motors are very fragile !!! you should reinforce the motors connections with some tape. The other thing, is that the key for this project is the batteries !!! I finished by using 18650 batteries. I will try to use this PID source. It looks very fluid robot. BRAVO one again. Thanks to share.
@saradindurana3300
@saradindurana3300 4 жыл бұрын
Hi where the negative point of the two batteries for motor driver is used?
@emiruzuner8628
@emiruzuner8628 2 жыл бұрын
First,thank you I used TCRT5000 5 sensors and I adapted your code to mine.Very beautiful.Thank you
@subhashjadav2677
@subhashjadav2677 2 жыл бұрын
@emir uzuner can you share your code
@citlalygonzales4609
@citlalygonzales4609 Жыл бұрын
can you share your code please
@tranngocduykhanh8269
@tranngocduykhanh8269 Жыл бұрын
Hi sir, Can you share your code please, Thanks
@vamsitechnotran
@vamsitechnotran Жыл бұрын
is it ur modify code is work
@jcaguero332
@jcaguero332 5 ай бұрын
Hi, good job, but i have 1 obs: Integral part must be "I = I + error", delete "previous_I" because it not necessary, then you can use when Ki>0
@aminanoushad7232
@aminanoushad7232 2 ай бұрын
Can i use array sensor for this instead of separate ir
@shahzaibshamim6524
@shahzaibshamim6524 6 жыл бұрын
Does it can simply solve maze or it can record shortest path to solve the maze ?
@FatmaTarek-cj8vi
@FatmaTarek-cj8vi 7 ай бұрын
will i have to change in the code if i use a 5 ir channel sensor?
@tomiio6
@tomiio6 4 жыл бұрын
I'm not getting why you use the speed of 110 and 90 in any cases, is it just to sync both of the motors? It depends on our motor working the same or not, right?
@Jawadayoub-gg1qx
@Jawadayoub-gg1qx Жыл бұрын
yes because the commercial motors is not the same quality and speed so he made some tests to make the motors the same speed
@aravinda513
@aravinda513 4 жыл бұрын
How do you all learn this?! I want to be that good but I don't even get past basic ideas!
3 жыл бұрын
Start with C or C++
@Jawadayoub-gg1qx
@Jawadayoub-gg1qx Жыл бұрын
no
@Jawadayoub-gg1qx
@Jawadayoub-gg1qx Жыл бұрын
watch a full courses of arduino
@Jawadayoub-gg1qx
@Jawadayoub-gg1qx Жыл бұрын
because th C and C++ will take alot of time but arduino is easier
@shauryashukla2198
@shauryashukla2198 Жыл бұрын
Does it also learns the shortest path ?
@Quizifyme
@Quizifyme 3 жыл бұрын
How did you powered up the dc motors of 12 v with the battery of 9v. Will it not go slow??
@ryanregivan8498
@ryanregivan8498 2 жыл бұрын
if you need more power, just add some converter (step-up converter),
@farhaanrazakhan3808
@farhaanrazakhan3808 6 жыл бұрын
Undoubtedly the best video on this topic... and keep making more videos 👍
@geektechnophiles2494
@geektechnophiles2494 6 жыл бұрын
Thank you so much brother 💓💓🤓
@rafinmahfuz8979
@rafinmahfuz8979 5 жыл бұрын
@@geektechnophiles2494 can i use arduino uno???
@abdulhafidhka9359
@abdulhafidhka9359 5 жыл бұрын
@@rafinmahfuz8979 yes of course
@fouzanjaved5441
@fouzanjaved5441 2 жыл бұрын
Sir, can you give me the circuit diagram and the code for the 5v buzzer for the line follower robot, so the line follower robot gives the sound when crossing the checkpoints of the black line for the line follower robot, is it possible or not?
@Dmobzyt
@Dmobzyt 11 ай бұрын
can it do turns which are more than 90 degree?
@Aman_shetye
@Aman_shetye Жыл бұрын
It rotates round and round and round😅😅 i m fed up whats the solution
@yashchavan9051
@yashchavan9051 8 ай бұрын
I also facing this problem any solution if you have
@ashfaqjuna
@ashfaqjuna 2 жыл бұрын
Very cool indeed You could sell the whole thing as a kit, including a printed path :)
@motazmsaddak5242
@motazmsaddak5242 3 жыл бұрын
Good job... can I use 3 sensors instead of 4 sensors?
@SURYAPRAKASHR-ch9ph
@SURYAPRAKASHR-ch9ph 2 жыл бұрын
for 3 want to alter the code bro
@Raavanan_Veeran
@Raavanan_Veeran 6 жыл бұрын
can I use 8 IR sensors instead of 4 IR sensors? will it work just by modifying the read sensor values by adding 4 more sensors values and their if condition statement? or I need to change the entire code of yours?
@geektechnophiles2494
@geektechnophiles2494 6 жыл бұрын
No you can go ahead and modify the code with four new sensors input.
@sayedsahbeni2598
@sayedsahbeni2598 5 жыл бұрын
where did you get the kp ki and kd values for the pid regulateur?did you find them by trial and error or are they random?
@juanarielgodoybaez5071
@juanarielgodoybaez5071 8 ай бұрын
PID controllers are normally made by trial and error, but if you know the transfer function there are some methods to approximate the values, but they don't take into account the non-idealities such as noise and things like that
@michaelquinn1926
@michaelquinn1926 5 жыл бұрын
hey bro, I have several questions, 1. why did you put analogwrite right motor speed -30? is it because of your l298n didn't give the same voltage for both of motors? 2. why did you only concern about error 100-103? Are the others are not impornant? Michael, thanks
@TheAdoris
@TheAdoris 4 жыл бұрын
Hi, I built the same robot as You. But I used 2xpololu motors (micro version 12v N20-BT03 micro 10:1 3000RPM - 12V). But when i started the motors havent power to move the robot. Idk why. I done everything like You but have different motors that's all.
@ryanregivan8498
@ryanregivan8498 2 жыл бұрын
anyway cmiiw, maybe your supply ennergy for your motor is not enough. you must increase voltage your power supply ,maybe other poeple in here may give other advice
@hoangoan6507
@hoangoan6507 3 жыл бұрын
Thank you for a wonderful video. Now I have a project about PID. Can you give me some reason to find out constants PID. Thank a lot
@md.hafizurrahman5495
@md.hafizurrahman5495 5 жыл бұрын
is there any problem if the width of the black line is less than the width of the black line in this video?
@thabassumnaseer8454
@thabassumnaseer8454 Жыл бұрын
Can I use a reflective array sensor instead?
@Elexpedia
@Elexpedia 3 жыл бұрын
this is really helpfull , glad to see this vid !
@16ankurrajput61
@16ankurrajput61 5 ай бұрын
Source code file not working
@yoyeah1461
@yoyeah1461 6 жыл бұрын
can i use analog value of sensor to read the line instead of digital value. Thanks
@geektechnophiles2494
@geektechnophiles2494 6 жыл бұрын
Yes you can but for this code you need digital values of sensors.
@EDISONSCIENCECORNER
@EDISONSCIENCECORNER 5 жыл бұрын
Ir module uses which op amp 358 or 393
@ranveershah5630
@ranveershah5630 6 жыл бұрын
Can i use 100 rpm motors in this project??
@Copterlord
@Copterlord 4 жыл бұрын
Bro, does the source code given in your description use only pid algorithm or both? And can replacing sensor(number)==high or low instead of 0s and 1s work for analog pin?
@srinivasarajunallaparaju4228
@srinivasarajunallaparaju4228 4 жыл бұрын
Bro we can use L293D instead of L298N...Is there any code problem when motor driver is changed
@Jawadayoub-gg1qx
@Jawadayoub-gg1qx Жыл бұрын
you can , but make the pins the same
@KillySeven
@KillySeven 9 ай бұрын
How about dificult Track.. Can we use this robot?
@manojitroy6144
@manojitroy6144 6 жыл бұрын
In the code you have used ENB with the right motor ...is that correct ?
@vikasjha2029
@vikasjha2029 Жыл бұрын
What i have to do if a want to run the bot on white line on black surface ? pls tell
@repune7203
@repune7203 5 жыл бұрын
What should be change in the code if there is a white line and black background?
@rubenmay8
@rubenmay8 7 ай бұрын
Does the code work as you uploaded it? Or are there modifications required?
@mamtachahal1277
@mamtachahal1277 5 жыл бұрын
Why did u connect the +5v pin of L298n with the +5v pin of arduino when u are powering the arduino with a separate powersource?
@farankhan9736
@farankhan9736 2 жыл бұрын
The ground and Vcc of motordriver and arduino must be same
@vasu5346
@vasu5346 5 жыл бұрын
bro, how you made the black line (either paint or any other)
@afonsoteixeira571
@afonsoteixeira571 4 жыл бұрын
hi, what was done at 5:39 ? i didnt really understand that part
@gopi.h.a8986
@gopi.h.a8986 5 жыл бұрын
bro I have build as same as you build . it will follow the lane but if curve comes some times it will go out of track and it will be rounding in circle . can you suggest me what I should alter in it
@shahriyarharis4887
@shahriyarharis4887 4 жыл бұрын
Hey, why did u use -30 in case of right_motor_speed?
@geektechnophiles2494
@geektechnophiles2494 4 жыл бұрын
Just to sync both motors speed.
@shahriyarharis4887
@shahriyarharis4887 4 жыл бұрын
@@geektechnophiles2494 Thanks. Is it necessary or does it depend on the bot?
@lifeofviky1646
@lifeofviky1646 5 жыл бұрын
Which is the best motor.. And can we use aurdino uno bro. Pls.. Last doubt
@geektechnophiles2494
@geektechnophiles2494 5 жыл бұрын
If you have BO motor use it otherwise use suggested motor in video components list
@parkle_
@parkle_ 2 жыл бұрын
Can you explain why you use different value for Enable A and Enable B (Enable A is 120 but Enable B is 90). Is it due to motor is not "perfectly" the same?
@Jawadayoub-gg1qx
@Jawadayoub-gg1qx Жыл бұрын
because the commercial motors is not the same quality and speed so he made some tests to make the two motors at the same speed
@anuragsinghchauhan8304
@anuragsinghchauhan8304 4 жыл бұрын
Amazing , Geek Tehnophiles
@yassinemekaoui6089
@yassinemekaoui6089 4 жыл бұрын
is the maze already implemented with pid????
@lunacraig375
@lunacraig375 6 жыл бұрын
Good work with full of explanation.. 👍👍
@electro-baka8505
@electro-baka8505 3 жыл бұрын
can we just use 2 sensor IR ? i have tired now but its not working :V
@TheRiishii
@TheRiishii 6 жыл бұрын
Have you connected all three batteries on breadboard. You have used three batteries. 1 and 2 batteries joined with common ground. 2 and 3 are connected in series. I m not able to see the red wire of battery 3 fixed underneath chassis. Could you please help? In diagram you have shown connection with +9v but in this video demonstration I am not able to see any that connection? Kindly help
@tushardeora8811
@tushardeora8811 5 жыл бұрын
same problem with me also
@techthunder1119
@techthunder1119 4 жыл бұрын
Bro can u share me the code a line following bot that is capable of following the path of black line as well as the white line in a black surface.
@srinivasarajunallaparaju4228
@srinivasarajunallaparaju4228 4 жыл бұрын
awesome broo very nice video
@saurabhkuhikar8237
@saurabhkuhikar8237 5 жыл бұрын
Battery konsi use kiye
@vishnudasnayak8582
@vishnudasnayak8582 5 жыл бұрын
Where did you connect the battery please tell
@tanjibmahmud6666
@tanjibmahmud6666 4 жыл бұрын
This is an excellent tutorial.......but can you plz help me? i want to track black and white both line with one code at a time... can you plz provide me the code using these same materials?
@trisiantonadapdap4602
@trisiantonadapdap4602 5 жыл бұрын
I want to try to practice it ... but I am confused how the program would you share the program? please
@hariprasanth5720
@hariprasanth5720 5 жыл бұрын
What is the line width si?
@basu9195
@basu9195 4 жыл бұрын
if i want to follow a white line then what should i change in code
@anthonymigan3144
@anthonymigan3144 5 жыл бұрын
Please explain me the interest to use more than 2 IR sensor for that application
@geektechnophiles2494
@geektechnophiles2494 5 жыл бұрын
4 IR sensor is used to make it more accurate and i have used PID algorithm and Left hand wall algorithm to solve a maze which can't be possible with 2 sensors...
@salmanrifath6331
@salmanrifath6331 4 ай бұрын
bro how to make this one with 8 sensor line follower sensor
@lifeofviky1646
@lifeofviky1646 5 жыл бұрын
Can we use bo motor
@geektechnophiles2494
@geektechnophiles2494 5 жыл бұрын
Yes
@tirionlanaster2626
@tirionlanaster2626 5 жыл бұрын
If code is duplicated will it be same outcome
3 жыл бұрын
How do you choose Kp Ki Kd?
@abdullahakhtar2557
@abdullahakhtar2557 4 жыл бұрын
How can i buy these tires
@MamedTech
@MamedTech 3 жыл бұрын
Nice info bro🔥
@aravindan9188
@aravindan9188 2 жыл бұрын
Can you describe the connections from battery.
@santoshkhurana4322
@santoshkhurana4322 5 жыл бұрын
Can it find shortest path
@kuyamhanz
@kuyamhanz 4 жыл бұрын
This is something else wooooooooooo 🤟🤟🤟 this is better line follower I've ever watch so far 👍🤟 but can I ask sir? how about using motor shield? And Arduino uno?
@Justananothergirl
@Justananothergirl 6 жыл бұрын
Is the code differs for l239d
@geektechnophiles2494
@geektechnophiles2494 6 жыл бұрын
No, you can use L293D driver module which has PWM input pins.
@bilalmalik8283
@bilalmalik8283 5 жыл бұрын
Bro mera robot nhi chal raha connection jo circuit diagram walay wohi kiye or code wohi ap ny diya tha but wo round round ghoom raha bas or submission date kal hai btao ab mai kya krn
@n.trivikramprasad7979
@n.trivikramprasad7979 5 жыл бұрын
whatif we are using uno module??
@bpriyanka605
@bpriyanka605 6 жыл бұрын
can we use L293D instead of L298N
@nazmussakib1551
@nazmussakib1551 5 жыл бұрын
yes but l298n is better
@KillySeven
@KillySeven 9 ай бұрын
First Thank for your video. IF I WANT TO INCRASE SPEED HOW SHOULD I DO?
@louisc8873
@louisc8873 6 жыл бұрын
How do you power up your system
@geektechnophiles2494
@geektechnophiles2494 6 жыл бұрын
I have used three 9v batteries one for Arduino nano and another two for L298N module to drive motors. Watch video carefully to understand it.
@lifeofviky1646
@lifeofviky1646 5 жыл бұрын
Bro can we use two sensors
@Jawadayoub-gg1qx
@Jawadayoub-gg1qx Жыл бұрын
you can , but it is not very accurate and you need to modify the code for 2 sensors
@hanshuang4287
@hanshuang4287 5 жыл бұрын
It's a very detail and beautiful process! Thank you very much! Likes for your music taste
@pranjalisinghal6012
@pranjalisinghal6012 6 жыл бұрын
Can someone tell me where did he connected the red wire of 3rd battery
@geektechnophiles2494
@geektechnophiles2494 6 жыл бұрын
I have connected two batteries in series so red wire of one battery is connected with black wire of another battery to make series connection between two batteries. I hope you understand 😃😃
@tushardeora8811
@tushardeora8811 5 жыл бұрын
Dude iam not able to undertand what connection u r doing at 5:39 and how u have connected battery which is below chasis. dude pls reply fast. as iam in middle of making this project. and i cann't complete this project . if u don't answer me. CAN I get ur phone no. pls ?????
@geektechnophiles2494
@geektechnophiles2494 5 жыл бұрын
You can text me on my social pages
@JayKumar-xl9te
@JayKumar-xl9te 3 жыл бұрын
Can you please show how to connect the batteries or explain it properly plz.
@jatinsahoo458
@jatinsahoo458 5 жыл бұрын
Hey why kp value is greater than kd value....???
@nishanthraj7443
@nishanthraj7443 5 жыл бұрын
For stability
@somdebsar7378
@somdebsar7378 2 жыл бұрын
Done using Left hand wall algorithm and PID algorithm, kindly note!
@throughhell8670
@throughhell8670 6 жыл бұрын
Greate work 👌
@lifeofviky1646
@lifeofviky1646 5 жыл бұрын
Can we increase the speed of the motor bro
@geektechnophiles2494
@geektechnophiles2494 5 жыл бұрын
Yes
@hamzakhattak5365
@hamzakhattak5365 5 жыл бұрын
It gives me error in the code after uploading?what should I do please help me
@atulpurna1936
@atulpurna1936 4 жыл бұрын
What error is it?
@akshaykumarbhupathi9995
@akshaykumarbhupathi9995 6 жыл бұрын
We can use this code in Arduino uno?
@geektechnophiles2494
@geektechnophiles2494 6 жыл бұрын
Yes you can use Arduino uno. 🤓
@akshaykumarbhupathi9995
@akshaykumarbhupathi9995 6 жыл бұрын
Okay
@gktech8220
@gktech8220 5 жыл бұрын
Can you share its clear image of circuit diagram
@madcrispy321
@madcrispy321 5 жыл бұрын
Help me for doing white line follower instead of black line i am in middle of my project pls help me fast of tell me code for it plsssss
@gouravsinghshekhawat4606
@gouravsinghshekhawat4606 6 жыл бұрын
doing great job bro👍🏻
@geektechnophiles2494
@geektechnophiles2494 6 жыл бұрын
Thanks buddy 🤓🤓🤗🤗
@krishnachettri9095
@krishnachettri9095 3 жыл бұрын
@@geektechnophiles2494 hello bro, I had tried to make same but it won't work will helpe plzz 6295494500 this is my whatsapp No. Plzz help me
@itszablyas5914
@itszablyas5914 3 жыл бұрын
good video thankyou
@parasarora8006
@parasarora8006 6 жыл бұрын
I need your code as a reference for my project i.e. maze solving line follower.
@geektechnophiles2494
@geektechnophiles2494 6 жыл бұрын
You can download code and schematic from description 🤓
@parasarora8006
@parasarora8006 6 жыл бұрын
ohh...thanks sir😅
@prakashjha3339
@prakashjha3339 6 жыл бұрын
code is not downloading sir ..
@_KEVIN_BRADLEY
@_KEVIN_BRADLEY 6 жыл бұрын
@@prakashjha3339 drive.google.com/file/d/1uwIm4XU1AwaXNGly-rAxr1xzuumuc8uO/view
@akashmk4150
@akashmk4150 5 жыл бұрын
sir iam not getting 12volt supply for motor please help me....
@nishanthraj7443
@nishanthraj7443 5 жыл бұрын
Ask for motor driver l298d
@Abdelhamid_Helal
@Abdelhamid_Helal 4 жыл бұрын
can you send me the fritzing file for IR sensor to make the citcuit diagram of mine ?!
@vickysanthosh
@vickysanthosh 5 жыл бұрын
This robot works any kinds of maze structures
@jayadithyanalajala9604
@jayadithyanalajala9604 5 жыл бұрын
Sir please send me an circuit diagram for aurdino uno please is urgent and also a code if we use 8 it sensor
@VISHNUKUMAR-vb2gx
@VISHNUKUMAR-vb2gx 5 жыл бұрын
can anyone explain, why in code we take the value of Kp=25,Ki=0and Kd=15
@asvsharma3508
@asvsharma3508 5 жыл бұрын
Actually thats just a number....... U shud start with all three 0.... And keep on trying with diff variation of three nos....and fins the best possible value......it's complete practical thing
@santoshkhurana4322
@santoshkhurana4322 5 жыл бұрын
Can it follow white line
@elroytan2851
@elroytan2851 Жыл бұрын
If you make the other place black yes it is just the color line that it is following as long as the IR sensor can detect it it ca line trace
@RamaDani-sr2vy
@RamaDani-sr2vy 8 ай бұрын
This code not working. Left sensor no work
@teddyreacts6591
@teddyreacts6591 5 жыл бұрын
Can u please provide another link for the code
@milaptrivedi1885
@milaptrivedi1885 3 жыл бұрын
What does ENA and ENB mean here?
@elroytan2851
@elroytan2851 Жыл бұрын
The speed control of the motor driver.... The spec sheet if you Google mention it
@udayanchanda626
@udayanchanda626 5 жыл бұрын
i have done all the connection and uploaded the code but it still not working what to do
@glitchbug3728
@glitchbug3728 2 жыл бұрын
Same
@kavitabadgali9435
@kavitabadgali9435 5 жыл бұрын
good keep it up
@geektechnophiles2494
@geektechnophiles2494 5 жыл бұрын
Thanks 🤓
I made a SUPER FAST Line Follower Robot Using PID!
10:02
Shyam Ravi
Рет қаралды 374 М.
Making a simple Arduino Line Follower Robot
18:57
Bot Reboot
Рет қаралды 57 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Controlling Self Driving Cars
4:41
AerospaceControlsLab
Рет қаралды 520 М.
LVBots Line Following Competition April 2015
5:56
Pololu People
Рет қаралды 373 М.
7 Programming robot for line following and Junction identification
10:53
Mastering Linefollower Optimization with Spike Prime!
3:44
Robots are not boring!
Рет қаралды 7 М.
Line Following / Tracking Robot Car (Arduino and QTR-8 Sensor)
11:09
Are PID line followers ACTUALLY faster?
6:07
Haase Industries
Рет қаралды 27 М.
How to Make PID Line Follower Robot Using Arduino
6:50
EDISON SCIENCE CORNER
Рет қаралды 124 М.
How To Make A DIY Obstacle Avoidance Line Follower Robot At Home
7:36
How to build a Line Follower robot
5:51
NYDER
Рет қаралды 11 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН