hey great video i would really appreciate it if you can share with us the specifications of material you used and also the code you used on arduino nano, thank you
I've tried this, however the robot quickly loses the line. This is due to the position of the sensor. The sensor needs to be located in the direction of motion. If the sensor is on the opposite side of motion, the robot isn't able to fully follow the line. Because you are trying the predict the line rather than follow the line. Or at least I haven't worked out how to work it well. For small corrections it may work but not reliably
Does it always need to calibrate first before starting? Can it calibrate the line at first switching on, and use that calibration for the next switch on/off?
yup after the first calibration you can make the arduino print these values record them and just hardcode them into the code but it's better to leave a few seconds for the calibration anyway, if you switch environment lighting conditions etc... could result in these sensors having different calibration values
I made my own IR sensor instead of buying the module. Mine has 4 sensor with 3 cm distance between them. Total length of my sensor is ~14cm Does you code with on my sensor?
Hello i am not able to order your kit from Nepal. So can you send me circuit diagram and components name of carrier board OR else any other alternative with carrier board
You will have to change the motor control functions. In the current program, it uses the tb66 library. Instead you will have to setup the wiring and functions as per the l298 motor driver
Try out the new code listed on our website. Will work with 3cm lines ( white and black) Just specify the relevant line details at the start of the code
hey bro do u happen to know if i can use 1000rpm n20 geared motors for my racing bot using only ir sensors? struggling to pick between 300rpm 6V or 1000rpm 6V to avoid wasting money. not sure if using 1000rpm will put my robot out of track. i ma using l298N motor driver
1000 rpm is pretty good in terms of speed. For n20 motors beyond this you will find that it's torque is poor. For faster motors, you may have to try out other kind of motors
You can use analog or digital, however the code will change accordingly. I find that students find it easier to use analog sensors especially when using without any libraries.
How can the robot use the proportional term in PID controller when it doesn't know how far away from the desired path is the robot? You can't calculate distance just based on two sensor that are detecting Light vs Dark Path
It's actually not calculating distance from the centre of the line. The sensor array has 5 total sensors out of which two sensors are on either side of the line (equidistant), and assumes that the centre of the line is where both sensors see the same value (since they are analog out) Error= left- right sensor value This isn't exactly the centre always but for practical purposes it works very well as you can see int the video.
In terms of the hardware compatibility, you can use an l293d instead, although its max output is slightly lower and is in general lower performance for this application. In terms of code, you will have to modify the code to work for the other motor driver and make associated functions for robot movement. In short, the code won't work directly, but will work with appropriate modifications
18650 Li ion cells tend to get a bit heavy, so robot may tend to become sluggish. 1000 rpm is a great option. Sourcing it becomes challenging at times hence we provide 600 rpm in our kit. You can check out our website for more details www.robojunkies.com
At kp = 0.020 Ki = 0.001 Kd = 0.010 My robot works well with speed 40.But I am clueless after many tries how to make it tune for speed 140.Please help me sir
@@HarshithDevadiga-pr2zc hey bro do u happen to know if i can use 1000rpm n20 geared motors for my racing bot using only ir sensors? struggling to pick between 300rpm 6V or 1000rpm 6V to avoid wasting money. not sure if using 1000rpm will put my robot out of track
One unfortunate thing I see about our Indian videos is the poor quality of communication. It becomes very uncomfortale saying that since many initiatives shown by these service providers/companies is reasonably commendable.... and comments like mine could sound de-motivating ... but in reality its quite the opposite.
Find the latest code here-
www.robojunkies.com/pages/resources
I notice that there is a Serial.begin(9600); is that for Bluetooth connection?
@@frostking7829 it's for serial monitor display
@@frostking7829 sensor reading in serial monitor
Great job Robojunkies team . This video series of LF2 bot is very detailed. Thanks a lot for your hardwork.
Thank you Surjit!
Your teaching method is very nice.
Thank you very much!
good explanation, you should also explain how to get the position of the line, how to calibrate sensors and how motor functions work.
how to add an led indicating end of track
Can you please guide me that how to make it more faster without running out please reply under 2 days
Please check out our website for the latest code under the resources tab
@@robojunkies can you give the link?
Can i change the motor to make it run faster? and does it work when there are intersections in the track?
The product is sold out,now how we bye it?
hey great video i would really appreciate it if you can share with us the specifications of material you used and also the code you used on arduino nano, thank you
Nice work! Do you have similar code in spike prime programming? Thanks!
We haven't worked with spike yet
What kind of method is this for finding Kp? Can you explain?
👏👏👏 good job 👏👏👏
Thanks Avinash!
How many volts of batteries???
Hello, can you do this with motor running backward? Thank you, i hope you can explain me how to do
I've tried this, however the robot quickly loses the line.
This is due to the position of the sensor.
The sensor needs to be located in the direction of motion.
If the sensor is on the opposite side of motion, the robot isn't able to fully follow the line. Because you are trying the predict the line rather than follow the line.
Or at least I haven't worked out how to work it well.
For small corrections it may work but not reliably
Does it always need to calibrate first before starting? Can it calibrate the line at first switching on, and use that calibration for the next switch on/off?
In that case you will have to modify code to save the calibration values in eeprom.
yup after the first calibration you can make the arduino print these values record them and just hardcode them into the code
but it's better to leave a few seconds for the calibration anyway, if you switch environment lighting conditions etc... could result in these sensors having different calibration values
What we have to do if we have to run the robo on white line on black surface?
Can I use 8 sensor array instead of 5?
Yes you can use 8 sensor also, however code will change accordingly.
Can you provide us the circuit diagram of carrier board please....
hello robojunkies, do u guys have a code for 8 sensors? im planning to buy the kit and upgrade the sensors, thankyou!
Hi, we do have code for 8 sensors, and will soon launch the sensor on our website along with accompanying code.
Nice work! Do you have similar code in EV3-g programming? Thanks!
Can you please drop a mail on our email id- robojunkiesindia(at)gmail(dot)com
are there programs like this that i can use if I use digital light sensors? please reply in 2~3 days because this is for a competition thanks
Hey can u segggest some line following sensors as on ur site, they are out of stock.
what board is used sir? the green one
It's the lf2 carrier board- www.robojunkies.com/products/dual-motor-control-carrier-board
It’s very informative ❤️😍
Thanks Jithosh!
I made my own IR sensor instead of buying the module. Mine has 4 sensor with 3 cm distance between them.
Total length of my sensor is ~14cm
Does you code with on my sensor?
You will have to change the code for a different sensor.
Can you deliver to Pakistan??
Hi did u find any alternative for tge carrier board?
Which motor is used?
Hello i am not able to order your kit from Nepal. So can you send me circuit diagram and components name of carrier board OR else any other alternative with carrier board
Did you find any alternative? Pls reply
as usualy my one didnt work . can you send me a link about how to make a real life robot pls
How fast is it going, mean any stats.
Will do a speed test and post soon.
Earlier tests showed an avg speed of around 1m/s
What's the Rpm for the dc motor
Do you ship worldwide? In romania
Will the old code still work
Yes old code will also work. Just need the library with the old code.
Sir can you please provide code for 8 ir sensor array
Brother, please give me the lf-2 carrier board circuit diagram
Hi,
Can you give the motors specs. ?
Thanks.
Motors are n20- 6V 600 rpm
Please provide a circuit diagram
hello, where did you get the pcb?
Its a product we sell on our store- www.robojunkies.com
Do you have a video tutorial about the car on the left at minute 0:25 ? pls
Hi, it was a Lego based line follower, pretty old video so don't have much with me now.
Will try to find the code on my computer
I am using l298 motor driver so what will be the changes in the code?
You will have to change the motor control functions. In the current program, it uses the tb66 library. Instead you will have to setup the wiring and functions as per the l298 motor driver
@@robojunkies ahh that seems like hard work😣
Pin 11 and 12,
are these push button with 10k resistor connected but 5v and groud along with 11 and 12?
We haven't used a pull up/ down resistor since we have configured the buttons as input pullup
It is available for purchase
Hi, it's available for purchase on our website- www.robojunkies.com
@@robojunkies it is urgent for me
Is it also available on Raspberry Pi?
This is only for Arduino nano as of now
What to change in code for 3cm wide line
Bro can you make a full video on how to make this robo
Hi, Please check the earlier video about the building guide on our channel
@@robojunkies bro can you make video about how to set pid value
What the line width ? 2cm?
how to make it work for 3cm lines?
Try out the new code listed on our website. Will work with 3cm lines ( white and black)
Just specify the relevant line details at the start of the code
I guess that, if we want to use this on a 3cm line we will need to change the Kp, Ki, and Kd values.
did you find an answer please?
Code works with a 3cm line. Check out our latest code on our website under the resources page.
can you provide the model solidworks file please
Bro I need that it should move fast pls help me bro in 2 day
help it doesnt go forward
Can you please provide circuit diagram
What it the cost of this . I want it to buy 🙃
Please contact us on instagram- @robojunkies to buy this kit
I am wanna to buy these products of pid line follower where I can get product link
Please contact our instagram page- @robojunkies to buy the kit
hey bro do u happen to know if i can use 1000rpm n20 geared motors for my racing bot using only ir sensors? struggling to pick between 300rpm 6V or 1000rpm 6V to avoid wasting money. not sure if using 1000rpm will put my robot out of track. i ma using l298N motor driver
1000 rpm is pretty good in terms of speed.
For n20 motors beyond this you will find that it's torque is poor.
For faster motors, you may have to try out other kind of motors
Bro why did not you use digital array
You can use analog or digital, however the code will change accordingly.
I find that students find it easier to use analog sensors especially when using without any libraries.
Can you tell me if it is possible to make the PID control with Digital IR sensors instead of Analog ones???
How can the robot use the proportional term in PID controller when it doesn't know how far away from the desired path is the robot? You can't calculate distance just based on two sensor that are detecting Light vs Dark Path
It's actually not calculating distance from the centre of the line.
The sensor array has 5 total sensors out of which two sensors are on either side of the line (equidistant), and assumes that the centre of the line is where both sensors see the same value (since they are analog out)
Error= left- right sensor value
This isn't exactly the centre always but for practical purposes it works very well as you can see int the video.
how to change code for 8 sensors?
Please refer to our website for code with 8 channel sensors
Can you provide the code, the previous link isn't working
Can you check again. The link works on my end
My motors are not running, it just making sound, if i change 100 to 180 then it rotates
I'll need more info about what hardware you are using to understand better
Nice
i can not see full code ..help me please
create.arduino.cc/editor/robojunkies/8f43a49f-aab5-494d-8dcf-c9f00e55a3c1/preview
Is it possible to use l293d instead of this TB motor drive.... Any difference
In terms of the hardware compatibility, you can use an l293d instead, although its max output is slightly lower and is in general lower performance for this application.
In terms of code, you will have to modify the code to work for the other motor driver and make associated functions for robot movement.
In short, the code won't work directly, but will work with appropriate modifications
hey i need ur help
What help do you need?
Keep it up
Thank you!
Y not use 2 li ion cells with 1000rpm motor
18650 Li ion cells tend to get a bit heavy, so robot may tend to become sluggish.
1000 rpm is a great option. Sourcing it becomes challenging at times hence we provide 600 rpm in our kit.
You can check out our website for more details www.robojunkies.com
At kp = 0.020
Ki = 0.001
Kd = 0.010
My robot works well with speed 40.But I am clueless after many tries how to make it tune for speed 140.Please help me sir
circuit diagram you have
@@HarshithDevadiga-pr2zc hey bro do u happen to know if i can use 1000rpm n20 geared motors for my racing bot using only ir sensors? struggling to pick between 300rpm 6V or 1000rpm 6V to avoid wasting money. not sure if using 1000rpm will put my robot out of track
@@LawerenceiRidgwayv 1000rpm will be very high bro. sensor and controller should br good enough to handle the response
Bro is other way apart from 11 and 12 button
bro it is not mworking bro
Try another motor driver
Price
Please contact our instagram page- @robojunkies to buy the kit
yes i want fastest line follower form your side
You can contact us on Instagram for sale inquiries
Mera bot 10m/s ki speed se chalta hai
please stop using music. The voice is not clear enough
Thanks for your feedback
Yes the code isn't working
Hi, try out the new code listend on our website
the code dose not work
Latest code available here- www.robojunkies.com/pages/resources
Can you send me schematic or pcb file for sensor sir
IIT Techfest generally happens in december every year.
One unfortunate thing I see about our Indian videos is the poor quality of communication.
It becomes very uncomfortale saying that since many initiatives shown by these service providers/companies is reasonably commendable.... and comments like mine could sound de-motivating ... but in reality its quite the opposite.
❤ thank you.
don't do this
? Didn't get you
Carrier board full na enna bro@robojunkies
Hi Ranjith! Carrier Board now available on our store- www.robojunkies.com
Awesome, nice ❤ 😉👍 👏👏👏 subscribed and like 578 @arduinomaquinas thanks you !