Fast Line Follower Robot using PID: Step by Step Tutorial
ฝัง
- เผยแพร่เมื่อ 12 ม.ค. 2024
- Welcome to the 𝐀𝐬𝐥𝐚𝐦 𝐇𝐨𝐬𝐬𝐚𝐢𝐧 TH-cam channel!
𝐓𝐢𝐭𝐥𝐞: Fast Line Follower Robot using PID | Competitive Line Follower Robot | Fastest Line Follower Robot using PID | Fast Line Follower Robot using PID | PID Line Following Robot | Line Follower Robot | RC Roborace Robot using FlySky | High Speed Robo Racing Bot | Soccer Bot with Fs-i6 FlySky | High Speed Robot Soccer | Robo Soccer Bot using FlySky FS i6 Transmitter and BTS7960 Motor Driver | Without Brushed ESC | Soccer Bot Making using Arduino and FlySky | Soccer Bot using 555 37GB Gear Motor | How to Make Soccer Bot using FlySky | Servo Motor as ESC | ESP32 Soccer Bot | Robo Racing Bot Making | Roborace Robot using Arduino and BTS7960 | Wireless Robot with Flysky fsi6 | Fast Line Follower Robot | Soccer Bot Competition | Best Soccer Bot | BTS7960 with FlySky | DIY Robot Soccer Bot | How to Make Battle Bot | Self Balancing Robot | Soccer Bot Chassis Making | Soccer Bot using Brushed ESC | DIY 5 Channel IR Sensor Array | Robot Gathering | Maze Solver Robot.
🤖 Dive into the world of robotics with our comprehensive tutorial on creating a high-speed Line Follower Robot using PID control! 🏎️ Follow along step by step as we guide you through the process of building and programming your own efficient and lightning-fast robot that can track lines with incredible accuracy. Whether you're a beginner or an experienced hobbyist, this tutorial will empower you to understand and implement PID control for optimal performance. Join us on this exciting journey of robotics and automation!
𝐓𝐡𝐢𝐬 𝐜𝐡𝐚𝐧𝐧𝐞𝐥 𝐡𝐚𝐬 𝐬𝐨𝐦𝐞 𝐞𝐥𝐞𝐜𝐭𝐫𝐨𝐧𝐢𝐜 𝐩𝐫𝐨𝐣𝐞𝐜𝐭𝐬 𝐟𝐨𝐫 𝐛𝐞𝐠𝐢𝐧𝐧𝐞𝐫𝐬. 𝐒𝐨 𝐟𝐞𝐞𝐥 𝐟𝐫𝐞𝐞 𝐭𝐨 𝐜𝐡𝐞𝐜𝐤 𝐭𝐡𝐞𝐦:
Fast Line Follower Robot using 5 Channel IR Sensor and PID: Step-by-Step Tutorial:
• Fast Line Follower Rob...
Robo Race Robot using FlySky Transmitter | How to Make Robo Racing Bot without Arduino and ESC:
• Robo Race Robot using ...
DIY 5 Channel IR Sensor Array For Line Follower Robot | Best IR Sensor For Line Follower Robot:
• DIY 5 Channel IR Senso...
Robo Soccer Bot using Brushed ESC and FlySky Transmitter | How to Make Soccer Bot in Easiest Way:
• Robo Soccer Bot using ...
Robo Soccer Bot Competition 2024 | Soccer Robot at Premier University Chittagong:
• Robo Soccer Bot Compet...
Arduino Joystick Control Bluetooth Car Using HC-05 Master and Slave:
• Arduino Joystick Contr...
Robo Soccer Bot using FlySky FS-i6 Transmitter and BTS7960 Motor Driver:
• Robo Soccer Bot using ...
Fast Line Follower Robot / Fast LFR / Fastest LFR / PID Line Follower:
• Fast Line Follower Rob...
How To Test Battery Capacity Using HW-586 Battery Capacity Tester:
• How To Test Battery Ca...
Soccer Making Bot Competition:
• Soccer Bot Competition...
Hand Drawing PCB Layout Using Marker Pen and Etching:
• Hand Drawing PCB Layou...
DIY Self Balancing Robot using Arduino and MPU6050 Accelerometer:
• DIY Self Balancing Rob...
Line Follower Robot:
• Line Follower Robot us...
How to Make ESP32 RC Robotic Car:
• How to Make ESP32 RC R...
Human Following Robot Arduino:
• Human Following Robot ...
Line Sensor Array for LINE FOLLOWER ROBOT:
• 6 Channel Line Sensor ...
ESP32 Soccer Bot / Soccer bot using ESP32 / How to Make Soccer Bot using ESP32:
• How to Make Soccer Bot...
Make Professional PCB at Home:
• How to Make Profession...
PCB Layout Design in Proteus:
• How to Design PCB Layo...
How To Use Sim800l GSM Module with Arduino:
• How To Use Sim800l GSM...
Music Rhythm LED Light Circuit:
• Music Rhythm LED Light...
FLIP FLOP LED Light Circuit:
• FLIP FLOP LED Flasher ...
Fire Detector Circuit using IR Photodiode:
• Fire Detector Circuit ...
IR Proximity Sensor / Obstacle Detector Circuit:
• IR Sensor and Obstacle...
Soccer Bot Competition 2023:
• Grand Final Match | So...
𝐂𝐨𝐦𝐩𝐨𝐧𝐞𝐧𝐭𝐬: 0:22 - 1:00
𝐂𝐢𝐫𝐜𝐮𝐢𝐭 𝐃𝐢𝐚𝐠𝐫𝐚𝐦 𝐚𝐧𝐝 𝐂𝐨𝐝𝐞: sub4unlock.io/wrEkU
#RoboticsTutorial #LineFollowerRobot #PIDControl #RoboticsEngineering #DIYRobot #ElectronicsProjects #Programming #FastRobot #PrecisionControl #TechTutorial #RoboticsEnthusiast #FastLineFollower #SpeedyRobot #HighSpeedRobot #LineFollowingBot #FastRobotics #PIDControlledRobot #QuickBot
Like, Follow & Subscribe !!!
Instagram: / _aslam._hossain_
Facebook Page: / aslamhossain3852
What's App: wa.me/qr/HHV27IBDLRZCA1
If this video is helpful to you, Please Subscribe! (#Aslam_Hossain)
---------------------------------------------
👉For any inquiries: aslamhshakil20@gmail.com
--------------------------------------------- - วิทยาศาสตร์และเทคโนโลยี
𝙈𝙖𝙠𝙚 𝙔𝙤𝙪𝙧 𝙊𝙬𝙣 𝙄𝙍 𝙎𝙚𝙣𝙨𝙤𝙧 𝘼𝙧𝙧𝙖𝙮:
6 𝘾𝙝𝙖𝙣𝙣𝙚𝙡 𝘼𝙧𝙧𝙖𝙮: th-cam.com/video/ZPutfh1cwHA/w-d-xo.htmlsi=uf5BDpCFqIITt5tV
5 𝘾𝙝𝙖𝙣𝙣𝙚𝙡 𝘼𝙧𝙧𝙖𝙮: th-cam.com/video/7vuAqcf_HjQ/w-d-xo.htmlsi=C4faXFLzDOo0ogSC
Good Work and it is initiative
Thank you
Good job 👏🏻
Thank You 🎉
Excellent work, sir! I'm truly impressed. I have a quick question: Could you please provide the dimensions of the black line you created? and thanks.
Thanks for watching my video. Its 3mm
cm i guess
Good works
good job❤❤
Thank You
if i use 8 ir channel sensor that can be bought in local shop will the exact same code that you provided work or do i need use differently?
TIA
Make sure they provide analog value. Then you've two option. 1st: You can change in code for 8 array.
2nd: ignore the two ir sensor from left and right corner and use 6 array.
Do we need to manually set 5v and 12v for buck and boost converter or is it automatic?
Manually by adjusting potentiometer
Excellent Work sir!, sir can I ask? in your schematic diagram the IN1 is pin 7, and IN2 is pin 4 but in the code the IN1 is 4 and the IN2 is 7. is it a mistake? where should I side in the diagram or in the code?
Follow the the code. When my motor was running in reverse direction then i've interchange the control pin in the code rather than changing in the circuit.
Or you can interchange the motor terminal.
Hey if I use arduino uno will it work? (I think so it will) and if I use 12v, 1000rpm will it will be useful for speed and I want to participate in a comp so can I make this or will I need sonar
It will work with any version of arduino.
Gr8 job.. i have one question instead of two buck convert can i take 5v from motor driver it will do pl guide me
You can take 5v from motor driver. But this is not enough for ir sensor array. Using buck converter is better.
Sir or I can use regular ic7805
@@rajivgaur2729 yes with heat shrink
Thx I'm trying to make this for my racing competition...it will do na sir
Can I do this with a 5 channel line sensor?, if yes what changes do I have to make, please guide
Knock me through facebook
@@aslamhossain1 thanks a lot brother never expected you'll reply, I just have made my robot today with 5 channel sensor, but I think I have messed something up, my motors are not moving, I'm messaging you in Facebook
Im working on my own project could you explain why you chose to use buck and boost converters?
Buck converter to provide 5v stable power for arduino and ir sensor array. Boost converter to convert the input (7-8v) to 12v stable power for motors so that the motors can rotate at higest rpm all the time. If you don't use boost converter then the speed of motors will reduce according to the discharge rate of the batteries. As my motors are 12v rated hence i've set the output at 12v. You can set according to your motors voltage rating. Thank you
Isn't 12v battery continuously powered the sensor and the motor s?
Hello sir! great video! it really helped thank you. Can i ask what type of battery you are using?
Lithium ion. 2s = 8v. You can use compact size lipo battery of 2s/3s (1000-1500mah)
@@aslamhossain1 Thank you! I have another question if you dont mind... Does it still work if I dont use buck and boost converter? does it overheat? does it not work at all? I am new to robotics and i am curious!
Sure. You can skip boost converter but buck converter is must be needed.@@Zypher_desu
Hello sorry to bother you again.. but what voltage does the n20 gear motor need?
can we use 4 motors giving 2 left motors to one output and other 2 another output
Yes. But it won't run properly.
hi sir, what should i change in the code to make it work in a 5 channel ir sensor?
Knock me through facebook for the code
will the code also work if I used a 5 channel module instead of 6? given that I modify it for 5 array
Need to modify the code. If you want contact with me through facebook: facebook.com/aslamhossain3852?mibextid=ZbWKwL
But usually lfr competitions have obstacle avoiding in it,so which would be more feasible adding 3 sonar on 3 sides or adding a sonar on the top of a servo?
Yes. For competition you need to add these features. In this video i've shown only line following process. Will make advance lfr tutorial in future.
@@aslamhossain1 can you Please tell me which would be more feasible for those competitions,adding a sonar on a servo or adding three sonars on three sides on the lfr?
@@torque7649 for obstacle avoidance you don't need servo. only add a sonar in front. and the other two sonars on the left and right side to follow the wall.
@@torque7649adding 3 will make it heavy but it will do a good job in detection so that’s a price you may have to consider paying
Assalamualikum.
Please clearly specify tha Habibur Rahman Plabon of buck converter and boost converter model 🙏
2596 buck & XL6009 boost
Can I ask why when I press the 4th button, the serial number reads 1023, not 900? And when I press the 1st button, the car only moves a little and doesn't follow the line.
Maximum analog value is 1023 when no reflection occur.
Can you tell which model of arduino you used?
Arduino Nano
Sir can I use 5 channel array sensor 6 channel is not available
you can make it. I've shown in this video: th-cam.com/video/ZPutfh1cwHA/w-d-xo.htmlsi=GeNJ_lRaDjXPjHVD
Is the torque of n20 600 rpm enough when using a 18650 battery?
Yes. I'm using
What is the weight of that lf robot
This can tack circle turn or need modification in code?
It can
@@aslamhossain1 thanks for your answer
Can we make it without using aurdino by some other microcontroller??
Possible
❤❤❤
how you import schematics and footprints in easyeda?
Designed Everything in EasyEDA
we followed exactly what you did but we only have 5 sensors, which part of the code should we change?
Possible. Knock me through facebook
Does your boost converter and wires heat up?
No. Because N20 doesn't consume more than 1 Amp.
@@aslamhossain1 is it 6v motor or does the voltage not matter?
@@Zypher_desu 12v. at 12v it provides maximum rpm.
Sir im trying to make this its all ok but while starting on black line its giving beep sound why can you tell me
Check all the connection
aslam bhaiii... amra jodi ekhane l298n motor driver er bodle tb6612fng motor driver use kori tahole ekhane apni j pin gula conect korsen l298n er tokhon kirokom kore korbo??
Kindly ektu amke whats app e knock din. Facebook page e dhukle paben: facebook.com/aslamhossain3852?mibextid=ZbWKwL
Can i use 1000rpm motors instead? Also what is that green thing you used for the body? What is it called?
yes you can use 1000 rpm. Vero Board: freepreeet.xyz/product_details/46728398.html
Can I have the printed blueprint of the body? @@aslamhossain1
@@rydenixontalata6294 given in the github link
What to do if I only have 5 channel sensor. I'm not Advance enough to build a 6 channel.@@aslamhossain1
Can I change the motor sir? Which is 1500 rpm?
Yes
Hello, can you do it with backward mode instead it has to rotate 360 degrees
motor(-250,-250)
delay(...) adjust delay for backward.
then turn
hmm.. I see a lot of differences. If the robot goes straight, the robot deviates to the left, then the robot will skew to the right if it goes backwards. I still haven't been able to fix this.@@aslamhossain1
what is the width of the black line ?
3cm
What is the line calibration process ?
Threshold = ( Maximum + Minimum) / 2
no I ment after connecting the battery for calibrating what we should do ?
@@aslamhossain1
Does this code work for maze type of patterns too?
Yes. Will work
@@aslamhossain1 Wow nice!What specific changes to make in the code if it has to follow white line on black background
@@user-zw1fu4vw8t bro do you make the maze follower in this
Aslam bhai eta ki line gap thakle,mane zebra crossing er moto thakle cholbe?
Cholbe.
Hello, what motor did you use?
N20 gear motor of 600rpm
@@aslamhossain1 hello, may i request of maze solver using this build?
What is the width of the line? Is it 3 CM?
2.5 or 3 cm. Width of the track won't effect robot if you're using pid control.
Can i use lithium 2s 7.4v for this
Yes.
you could replace l298n that takes alot of space and weight, and use l293d ic or DRV8833 driver
Use tb6612fng
How much time one needs to create this?
Hardware part can be completed within a few hours. But it may takes time in tunning the code for perfection.
Can n20 motor have different
RPM ?
Yes.
@@aslamhossain1
Which one should I buy for Line follower robot contest
What Battery voltage and what voltage- rpm motor?
N20 or 25GA Gear Motor of 600+ RPM. 2s/3s Lipo or Lithium Battery.@@jubair-
@@aslamhossain1
Ok. Thank u
One thing, boost converter is a must?
Which engineering branch did you study?
Electronic and Telecommunication Engineering.
@aslamhossain1 OH ok. I am from India,preparing for JEE,aiming for the same branch. I will give exam this year.
Which programming language is needed?
cpp/embedded c@@a.m.videos3254
@@a.m.videos3254, Arduino programming
Which app did you used for ai voice?
Please tell me what sort of changes i have to make in the code for a 5 sensor array... And i just wanted to ask if the code is just as much as you have showed.. like there is nothing more to it.
For 5 channel: th-cam.com/video/AVE1QM0Vac8/w-d-xo.htmlsi=WIDRwPso6mWIbc2g
How much it will cost in total (BDT)
please let me know
Sure. Approximately 2500 - 3000 BDT
Can you help in this
vai boro vero board gula koti paoya jai link ta dite dile vlo hoi??
leetechbd.com/product/12cm-x-18cm-vero-board/
It is good if i use 6V dc motor instead of 12v dc motor or not?
You can use
Sir can u tell me the list of components
0:23 to 1:05 in video
Sorry, I'd like to ask why the 220 Ohm resistor is connected to the GND pin of the combined GND of LM2596, XL6009, 4 push buttons, and 2 LEDs? What is the purpose of this?
Ground for all the devices is common.
Bro tell me n20 motor voltage and rpm
at 12v 600rpm
Bro what is the total battery supply?
Two 3.7v Lithium-Ion batteries of 2000mAh in series provides 8v. then it boosted by boost module to 12v constant. It always remains constant at 12v until the batteries cross discharge level.
@@aslamhossain1 Thanks.
does it works???
What?
I tried with 5 array IR but the button & motor are not working properly. Would you please tell me the reason?
Please follow this video for 5 array: th-cam.com/video/AVE1QM0Vac8/w-d-xo.htmlsi=pysijxYS8412Gbvi
can i have the code for 5 channel ir sensor? i cant find your facebook profile
facebook.com/aslamhossain3852?mibextid=ZbWKwL
Can u please tell me the dimensions of the bot 🙃?
Length 18cm, width 12cm. Details given in the link.
Please reply to my comment. How can increase the bot speed.
Use motors of higer rpm. 800-1000
does this work for the width of 1.5 cma black tape
Sure
Sir , can i know why we are using push buttons and can we create pid line follower without push buttons...
Push button for different features. And Start the bot by pressing buttons. You can make without it.
@@aslamhossain1 sir ,if I make it without push buttons ,is there any need to change the code?
@@Aadhav17 yes
As a newbie I don't don't much about PID coding sir. Where can I get the modified code for it...
Do you have a code to use a qtr sensor and don't need buttons?
I don't have
Can you give me the pcb design?
I didn't make traces. just made the shape and placed components
@@aslamhossain1 then give me the print copy for the diagram
@@user-lk2oy3jb7g I've provided it in the link given.
Bro then how to connect 8 sensor line follower connections to this circuit
Connect sensor pin A0 to A7
how do you make the ir sensor
I've shown in these video.
6 channel: th-cam.com/video/ZPutfh1cwHA/w-d-xo.htmlsi=uWx354GMwlW5Fq0v
5 channel: th-cam.com/video/7vuAqcf_HjQ/w-d-xo.htmlsi=o_BeWgK3yqBaZzd6
Hii I just wanted your guidance. I need to share some photos of my project. How can I contact you?
Whats App number available in my facebook page: facebook.com/aslamhossain3852?mibextid=ZbWKwL
Can you give me this code? Pls.
Given in the description
I'm not getting any port option when loading code .What to do??
Maybe You didn't install the driver for arduino.
Can you give code for matlab 2018
No. Its for Arduino IDE
Okey,thank youu
Sell kren vaia?
Sell krle ekta nitam
Ji. Contact me: wa.me/qr/HHV27IBDLRZCA1
Sir I am unable to unlock the code can anyone plz give me the code for this
Send a mail: aslamhshakil20@gmail.com
I have subscribed you but still it's not giving me the link
Kindly send an email to me
Sir I Subscribed you but code is not opening...
Your channel*
Thank you so much❤❤❤
God bless you
Code..?
Given in the description. Download it by completing task
ITS 12CM BY 18CM TT dont get fooled 😂😂😂
Hmm