@@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
@@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!
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
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
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?
@@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.
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
I have this annoying issue. S3, or the middle sensor, is the only sensor that's able to detect the contrast between black and white. Basically it's the only sensor that detects the line. The other sensors (S1, S2, S4 and S5) do not detect the contrast between black and white, and instead output 0 if it detects nothing (I face it away from anything or high up in the air) and 1 if it is in close proximity with anything, regardless of contrast or colour. Please help! Note: I'm using a TCRT5000 5-channel Line Tracking Module. It should still essentially work.
@aslamhossain1 TCRT5000 5 channel Line Tracking Module with Bump and Obstacle Sensor. I don't use the bump and obstacle sensors. The distance from the ground to the sensor fits the designated range the sensor is capable of. What's happening is that the middle sensor can detect the black line from a height of around 3 cm, but the other 4 sensors only detect the black line when it's touching the line. The potentiometer that supposedly adjusts the range doesn't detect any changes.
But please keep in mind that the analog value for esp32 is 4000. hence the threshold for digital conversion will be around 2000. need to modify the sensor reading part.
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.
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??
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.
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?
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.
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.
Thanks for making this vid , can you explain to me how to make the line follower turn left or right.I did by following your code with 8 channel but it can turn left or right.And again to say thanks for making this vid🥰🥰🥰🥰
Hi! This a great video and we're currently doing this one. Can I ask for the code or perhaps may you be able to give me what comes next in void PID_reading()? Thanks a lot!
sir i am making this but with 8 array sensor and oled display without using buck converter so how can i do this i write a code by myself but the motor is not working please help
𝙈𝙖𝙠𝙚 𝙔𝙤𝙪𝙧 𝙊𝙬𝙣 𝙄𝙍 𝙎𝙚𝙣𝙨𝙤𝙧 𝘼𝙧𝙧𝙖𝙮:
6 𝘾𝙝𝙖𝙣𝙣𝙚𝙡 𝘼𝙧𝙧𝙖𝙮: th-cam.com/video/ZPutfh1cwHA/w-d-xo.htmlsi=uf5BDpCFqIITt5tV
5 𝘾𝙝𝙖𝙣𝙣𝙚𝙡 𝘼𝙧𝙧𝙖𝙮: th-cam.com/video/7vuAqcf_HjQ/w-d-xo.htmlsi=C4faXFLzDOo0ogSC
vai video ta deke kicu buja jai naki deken🙄
th-cam.com/video/urSstqAQ9W4/w-d-xo.htmlsi=6XX30E3d4rG8b0SF
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
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
Do we need to manually set 5v and 12v for buck and boost converter or is it automatic?
Manually by adjusting potentiometer
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 you tell which model of arduino you used?
Arduino Nano
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?
What is the line calibration process ?
Threshold = ( Maximum + Minimum) / 2
no I ment after connecting the battery for calibrating what we should do ?
@@aslamhossain1
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.
can we use 4 motors giving 2 left motors to one output and other 2 another output
Yes. But it won't run properly.
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
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.
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
Can I change the motor sir? Which is 1500 rpm?
Yes
This can tack circle turn or need modification in code?
It can
@@aslamhossain1 thanks for your answer
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
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.
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 we make it without using aurdino by some other microcontroller??
Possible
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
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.
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
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
I have this annoying issue.
S3, or the middle sensor, is the only sensor that's able to detect the contrast between black and white. Basically it's the only sensor that detects the line. The other sensors (S1, S2, S4 and S5) do not detect the contrast between black and white, and instead output 0 if it detects nothing (I face it away from anything or high up in the air) and 1 if it is in close proximity with anything, regardless of contrast or colour. Please help!
Note: I'm using a TCRT5000 5-channel Line Tracking Module. It should still essentially work.
what type of sensor are you using? also the distance between the sensor and the ground matters.
@aslamhossain1 TCRT5000 5 channel Line Tracking Module with Bump and Obstacle Sensor. I don't use the bump and obstacle sensors. The distance from the ground to the sensor fits the designated range the sensor is capable of.
What's happening is that the middle sensor can detect the black line from a height of around 3 cm, but the other 4 sensors only detect the black line when it's touching the line. The potentiometer that supposedly adjusts the range doesn't detect any changes.
Hello, what motor did you use?
N20 gear motor of 600rpm
@@aslamhossain1 hello, may i request of maze solver using this build?
Aslam bhai eta ki line gap thakle,mane zebra crossing er moto thakle cholbe?
Cholbe.
Where did you buy the components from? Which website? Can you share the link?
Online
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
Can this robot follow paths that split into two or basically when there are like diamond shapes in the path?
Maybe.
wouldn't it be better using an esp32 as the microcontroller instead of arduino nano?
as your wish. you can also use esp32
But please keep in mind that the analog value for esp32 is 4000. hence the threshold for digital conversion will be around 2000. need to modify the sensor reading part.
@@aslamhossain1 Oh ok, thanks for letting me know.
1.How is the voltage balanced using potentiometer
2.Is it necessary to use Female berg strip?
Using DC-DC converter module.
@@aslamhossain1 also please answer the 2nd question
Can i use lithium 2s 7.4v for this
Yes.
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.
If you use a 1000 rpm motor would you need to adjust the code?
Don't use more than 600
if im using 6v motors then should i set the boost converter to 6 volts?
yes
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
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
@@Zayn-m5u bro do you make the maze follower in this
Please which software do you use to create model 3D of the car all electronic circuit ?
Adobe Illustrator
what is the width of the black line ?
3cm
how you import schematics and footprints in easyeda?
Designed Everything in EasyEDA
I have built this but with 5 ir sensor, ive seen your 5 ir line follower, will that code work with this bot? Are the ports same?
the code is slightly different
What changes should I make in 6ir lfr code so that 5ir lfr works?
@@kaneki246 watch my another videon on 5 channel lfr
How much it will cost in total (BDT)
please let me know
Sure. Approximately 2500 - 3000 BDT
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.
@@aslamhossain1
Which buttons are mandatory for calibration and line follow
@@jubair- 1 and 2
vai boro vero board gula koti paoya jai link ta dite dile vlo hoi??
leetechbd.com/product/12cm-x-18cm-vero-board/
Will it avoid obstacle?
No. Follow this if you want obstacles avoidance : th-cam.com/video/qwV1asq4Fqc/w-d-xo.htmlsi=gsvUNhMqKGsQWRnW
Good Work and it is initiative
Thank you
Say im using a line double the width. Will it compromise its line following ability
Make sure the width of the line is 3 cm
@@aslamhossain1 im taking this car in a competition. They are using 6cm
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
Assalamualikum.
Please clearly specify tha Habibur Rahman Plabon of buck converter and boost converter model 🙏
2596 buck & XL6009 boost
@@aslamhossain1if you use 3,5V input and Arduino need 5V why need buck converter?
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?
Can I get design of this robot? Which you made by EasyEDA
Given in the description
Good job 👏🏻
Thank You 🎉
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
@@a.m.videos3254c c++ python
It is good if i use 6V dc motor instead of 12v dc motor or not?
You can use
if you use 3,5V why need buck coverter?
For efficiency!
good job❤❤
Thank You
how many volts of battery do you use
@@ahmadmustofa3969 two lithium-ion cell of 3.7 volt in series.
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
bro will 300 rpm motor work?
please tell
Work.
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.
Hi sir, if I make a sensor with 3 IR sensor instead of ur 6 array linr sensor will it's work.For That the same code will rum?
Code need to be changed
How did you make the holes?
drill with 2mm bit
Can i use 5 channel array?
th-cam.com/video/AVE1QM0Vac8/w-d-xo.htmlsi=zVtYoCfPvqsro93Y
Can it go faster with the same motor
Possible
Sir can u tell me the list of components
0:23 to 1:05 in video
you can get required 5v output from that motor driver too , no need of extra buck converter
As your wish
what are the batteries specifications?
3.7 volt lithium ion battery.
Can you please share the specification of Buck and boost converter
L2596 Buck Model. XL6009 Boost Model
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.
does it works???
What?
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.
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...
Thanks for making this vid , can you explain to me how to make the line follower turn left or right.I did by following your code with 8 channel but it can turn left or right.And again to say thanks for making this vid🥰🥰🥰🥰
@@tungmai1377 most welcome.
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
Please reply to my comment. How can increase the bot speed.
Use motors of higer rpm. 800-1000
Bro tell me n20 motor voltage and rpm
at 12v 600rpm
Hi! This a great video and we're currently doing this one. Can I ask for the code or perhaps may you be able to give me what comes next in void PID_reading()? Thanks a lot!
Sure
you could replace l298n that takes alot of space and weight, and use l293d ic or DRV8833 driver
Use tb6612fng
Its going straight on triangle tracks, what to do so that the robot follows the triangle track
Check sensor values.
does this work for the width of 1.5 cma black tape
Sure
Can u please tell me the dimensions of the bot 🙃?
Length 18cm, width 12cm. Details given in the link.
Hello sir but why the circuit is not opening and i have already subscribed you
Do you have a code to use a qtr sensor and don't need buttons?
I don't have
Good works
can i able use qtr 5 array sensor ???
No
Bro apporax cost of this project???? To do or buy..
Around 30$
im sorry,what is the function of the push button?
Activate different mode. Such as motor test/sensor value display/line follow mode
@@aslamhossain1What if you meet a crossroads or t junction?
Can you help in this
Which app did you used for ai voice?
How if meet crossroads or t junction?
Will go to forward in cross. And right turn in T
sir the provided link for source code and circuit diagram dosent work please help me out.
whats app me.
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
@@কোরআনেরপাখি-গ৯র I've provided it in the link given.
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
❤❤❤
can you give me link of motor to buy
robu.in/product-category/dc-motors/motors/n20-gear-motor/micro-gear-motor-without-encoder/
sir i am making this but with 8 array sensor and oled display without using buck converter so how can i do this i write a code by myself but the motor is not working please help
You need to contact through whats app
@@aslamhossain1 Sir your whats app
Can i use esp 32
Yes
Hello guys
Could you help me to make connections correctly please...???
check the diagram
@@aslamhossain1 bro i didnt understand it 😔😔😔😔
can i have the code for 5 channel ir sensor? i cant find your facebook profile
facebook.com/aslamhossain3852?mibextid=ZbWKwL
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