man, this channel helped me get through so many stuff with my team. switching over to Arduino next year. Been here since 2017. You probably won't see this, but thank you so much for everything.
I am a new fan, BuilderDude35. You have great topics, and you are a very good presenter. I am a new FLL coach, and my team and I will definitely be learning a lot from you. Thank you for your time and knowledge.
My solution: If the sensors are on each side of the line, subtracting the sensor values gives a number roughly between -100 and 100. This number can be used as a speed adjustment for each motor. You add the number to one motor and subtract the number from the other motor. As the sensors diverge more the adjustment becomes stronger. Not quite a standard PID loop, but interesting in any case. SA = Sensor A, SB = Sensor B, MA = Motor A, MB = Motor B, SPD = Speed MA Speed = (SPD + (SA - SB)) MB Speed = (SPD - (SA - SB)) Put this in a named loop so you can exit when needed. Put a MA and MB motor off w/coast to clear the motors before you exit. For extra points you can reset the degree sensor before the loop and use the average degrees as a loop exit for pretty close distance measurement. In the loop: Average degrees = ((MA + MB) / 2) And knowing the wheel diameter you can easily convert desired distance into rotation degrees.
Amazing work honestly! I want to ask about how to make the code when we have gap on the line ???? Is there any solution to communicate in private if it’s possible please
will you make a tutorial on how you make your line follower bot move faster when it goes on a straight line and it will go slower when it detects a turn
Builderdude35 Love your videos. I too am a new FLL coach. We are starting to learn programming this week and I plan to have the team watch several of your videos to aid them in learning. I would love to see a turtorial on to accurate determine where you are on the field, i.e. If you need to stop and perform a mission 50% down the line you are following, how can you tell you have gotten there, accurately?
Excellent video. Do you know how to use 2 color sensors to perpendicularly line the robot up when crossing over a line. For example, “if one sensor sees a line the line the robot will turn until both see the line, and then continue forward.”
It's not really calibrating. You just run the motors in opposite directions and determine how many rotations/degrees are necessary to complete the 90 degree turn.
It depends on the lighting conditions, as well as how sharp the turns are. This would work on any line with a little bit of adjustment if you are going between different light levels, or varying degrees of turns.
Hello Builderdude35, I was just wondering what piece you use to connect your two color sensors on the front of your dog-gear interface, as it seems to allow you to attach the sides of your color sensor connection holes to the side of that piece - or am I missing something that connects them underneath? Either way, I haven't been able to find an efficient way to connect my dual-color sensors to the front of my dog-gears in a stable way and was wondering if you had any tips regarding that?
Hello, I am using the two pins that are normally used for the dog gear interface to attach the sensors. I simply slide a beam onto the two pins (5 studs or longer) and then mount the color sensors onto that using crossblocks. It's a very simple mount.
U did perfect job 👏🏻👏🏻👏🏻👏🏻i want to know how u build ur robot in ur video ( how to follow line in 2 minute thanks really i learn too much from u good luck in ur all life
hey I'm a newb so do you have any videos on programming basic like bout variables and constants explaining everything,I just love this stuff but wasn't able to do all this before please help
Hi Builderdude35, I was planning on having the color sensor on the side of the robot instead of directly in the middle. would this cause any issues with its line following?
Santiago Arcos I have a proportional line follower tutorial coming out this Thursday, if you want to try another one of my single-sensor line followers.
i am having some glitches With my ev3 brick when it runs a program like a line following sudenly the colorsensor shuts off and 1 to 2 sec later it turns back on again .. anyone else have that problem
Hey Builderdude35, my FLL team is trying to create a line following program. However, when we tried using your program, it didn't work. I changed the light value for the black line using the PortView just like you said, so I don't think the problem is there. However, we do have our 2 color sensors on the back of our robot, not in the front like yours, could this be the problem? If so, what would you recommend?
It is a logic using only 1 sensor. It follows lines by taking the colour of the line and the floor, after that it follows the line on the edge. So if the value of the line is 80 and the floor is 10, the middle of these values are 45. When the sensor shines on the edge of the line, it has the value of 45 so it goes straight. So basically fuzzy logic involves the colours of not only black and white but also grey, which is the value of the edge.
zechariah boey Ah, okay. So I basically have something along those line with my proportional line follower tutorial: th-cam.com/video/NZISXcAQJRk/w-d-xo.html
Yasin Kas Change the Loop brock from "Infinity" to "Color Sensor -> Color" and select green in the bottom. This will make the robot break out of the loop when a color sensor sees green. Then, drag out whatever blocks you want the robot to perform after seeing green, placing them after the loop.
Hi! I was so exciting when i watched your video. I' m so interested in how to build this robot. Could you please help me to be able to build your robot? Thank you
If the ideal spacing for EV3 Line Following is ~one stud between the two EV3 Color Sensors, what is the ideal spacing for LINE SQUARING, as shown in your tutorial th-cam.com/video/82EaySXvta0/w-d-xo.html ? As you know, in FLL almost all of the lines on the FLL Robot Game mat have perpendicular lines in front of each Challenge model. It would seem that the best, all-around spacing between two EV3 Color Sensors in FLL would be 4-5 studs -- would you agree?
dluders You ask a very good question! I meant to mention that in this tutorial, but forgot (I may make a quick video explaining that). For line squaring, the farther apart the color sensors, the more effective; I'm not sure how they fare when they're this close. However, I don't recommend using this line follower with the sensors farther apart than what I have here, as the robot will wander farther off the line and reduce consistency. So, my recommendation is that, if someone wishes to use both, the best bet is to have 2 pairs of color sensors, one for each task.
man, this channel helped me get through so many stuff with my team. switching over to Arduino next year. Been here since 2017. You probably won't see this, but thank you so much for everything.
I am a new fan, BuilderDude35. You have great topics, and you are a very good presenter. I am a new FLL coach, and my team and I will definitely be learning a lot from you. Thank you for your time and knowledge.
+Rob Tesdahl You're very welcome!
This helped a lot u have no idea how much my team will benefit from this wish me luck!
Awesome! Good luck!
Me and My 10 years old daughter love it...we are planning to experiment!! very good job thanks!
+Arnulfo Hernandez Glad to hear I've helped!
me and my team watch your videos all the time they are very helpful
+kalola stokely-keith Thank you!
Man you're best at this.
You are born to do youtube and to explain stuff
Superb Video......very helpful tips in all your videos.....Thanks for helping the community learn
Thank you very much! I am pleased to serve the community.
Im a little new with programing this helped alot.
My solution:
If the sensors are on each side of the line, subtracting the sensor values gives a number roughly between -100 and 100. This number can be used as a speed adjustment for each motor. You add the number to one motor and subtract the number from the other motor. As the sensors diverge more the adjustment becomes stronger. Not quite a standard PID loop, but interesting in any case.
SA = Sensor A, SB = Sensor B, MA = Motor A, MB = Motor B, SPD = Speed
MA Speed = (SPD + (SA - SB))
MB Speed = (SPD - (SA - SB))
Put this in a named loop so you can exit when needed. Put a MA and MB motor off w/coast to clear the motors before you exit.
For extra points you can reset the degree sensor before the loop and use the average degrees as a loop exit for pretty close distance measurement.
In the loop: Average degrees = ((MA + MB) / 2)
And knowing the wheel diameter you can easily convert desired distance into rotation degrees.
+Lee Saferite That is a great idea! Thanks for sharing it with the community!
Thanks for the video!!! Now I can use this program in a contest.
No u cant
@@izlaiqaizlan452 yes u can
i want to know how to make a robot take both left and right turns using a single colour censor. can u help me out?
Yes, see my video on proportional line following.
I used 3 sensors in my robot can you please give me any tips on how to program it?
Amazing work honestly! I want to ask about how to make the code when we have gap on the line ???? Is there any solution to communicate in private if it’s possible please
will you make a tutorial on how you make your line follower bot move faster when it goes on a straight line and it will go slower when it detects a turn
+Miibn 1977 That would be what a proportional line follower does; I have a tutorial for that.
+Builderdude35 TQ. I love your videos. It helps me prepare for competitions. Thank You So Much
Can you show us how to make the robot follow a line that has a loop at somewhere? Please!
+Anna Mayer Do you mean a line that has a loop or roundabout at the end? The concept is the same, just adjust the line follower for tighter turns.
Ok. Thank you so much!!!!
Please can you tell me what is better and more faster PD line follower or proportional line follower with switch.
Do you have a tutorial on how to build the bot?
Thanks for the video. What if the line is dashed or like a maze.. Does this program work???
+Muna Al.Matrushi Check out one of my recent tutorials, about line following through gaps in the lines.
+Builderdude35 please give me the link for that tutorial. i need my robot to follow dashed lines. i have only one sensor>
+it teacher Here is the video: th-cam.com/video/LXdm6-Gl0WE/w-d-xo.html
you are very smart and this helps so many people except me this doesnt really work so uhhhh fix it
+Sydney Prier What's wrong with your line follower? And what have you tried doing to fix it?
can you make a video on how to make/build the robots?
I already have plenty of such videos. Keep in mind that I cannot offer specific advice or complete designs.
Builderdude35 Love your videos. I too am a new FLL coach. We are starting to learn programming this week and I plan to have the team watch several of your videos to aid them in learning. I would love to see a turtorial on to accurate determine where you are on the field, i.e. If you need to stop and perform a mission 50% down the line you are following, how can you tell you have gotten there, accurately?
+StreeterBlake With that, you could just have the liner follower loop for x number of wheel rotations.
i just programed it and installed both sensor the way you did ,but i didn't responded the same way as in your video .
+Ahmed Abbasi What was wrong?
whats the programmet
i am in a comp. and do you know how to follow a oval in under 30 secs and to make it quicker?
can I do it with one color sensor
for me, the end block on the switch is unlimited, and my program keeps going in circles. how do you make the unlimited do it only once
You need to change the condition of the Loop block so that it exits based on another condition, such as motor rotations.
i have tryed to use one color sensor by moving the color sensor but not the robot
Santiago Arcos Could you please clarify?
Can you please show me how to use a gyro sensor.
Excellent video. Do you know how to use 2 color sensors to perpendicularly line the robot up when crossing over a line.
For example, “if one sensor sees a line the line the robot will turn until both see the line, and then continue forward.”
Absolutely! You're asking for line squaring, which happens to be my specialty. Check out this video: th-cam.com/video/voMlsdVAERQ/w-d-xo.html
Is this line follower effecient for 90° turns (please answer wro competition in 5 days:/)
Where did u get those big wheels?
+Austin Shipman bricklink.com or brickowl.com
Where can you find that super big wheels?
thanks
what does it called
the wheels?
They are the motorcycle wheels. The wheels alone cost about $20 so it's better to buy a set of the Technic Motorcycle instead.
do you know where to get the wheels
What if you have a light and a color sensor?
+Eduardo Medina It's not really necessary. The EV3 Color sensor is already also a light sensor.
Can you calibrate the move tanks to make the robot turn a 90 degree angle?
I mean like _|
I care just if I can calibrate it, not the value
It's not really calibrating. You just run the motors in opposite directions and determine how many rotations/degrees are necessary to complete the 90 degree turn.
+Builderdude35 thank you very much
can u make a video on turn when green block detected for ev3
Yep, I actually already have it! Check out my tutorial on Loop exits: th-cam.com/video/_YRwKHP4v8A/w-d-xo.html It's exactly what you need.
Does this work on different lines
It depends on the lighting conditions, as well as how sharp the turns are. This would work on any line with a little bit of adjustment if you are going between different light levels, or varying degrees of turns.
Put a small tire on the sensor blocks out most light should get about 6 RLI
Can you provide us how to make line follower if we have transactions and intersection 10cm how we can do it if we have spaces in the line
+Elearning Coordinator I will add that to the list of tutorial topics to do!
If my two light sensors are further apart, can I use two separate lines?
Yes, I suppose it is possible, as long as the lines are parallel and you size the width between the two sensors appropriately.
@@Builderdude35 Okay thanks man and keep up the great tutorials.
Can you do this with one colour sensor?
Absolutely; see my video on proportional line following.
if we have callibrated and set black as 0 what do we do??
hii can you please do the programming for obstacle avoider
idkh to link the color sensors... help
+Gerardo Guadalupe Gámez Romero Check out my video on the color sensor.
can you make an video about 3 light sensers
I've added it to the list. Thanks for the suggestion.
How can i make the loop stop
I've got you covered: th-cam.com/video/_YRwKHP4v8A/w-d-xo.html
Can this work with only one
No, but I have another video on a single sensor line follower (proportional line follower).
thanks , have you email to ask you about a thing?
could you please do a toturial of how tho make it go for a certain number of rotations
good content!
Awesome tutorial. Are you planning on doing a wall follower?
Karen Chyntia Cuevas Mendoza Hmm... That's an interesting idea! Maybe...
Hello Builderdude35, I was just wondering what piece you use to connect your two color sensors on the front of your dog-gear interface, as it seems to allow you to attach the sides of your color sensor connection holes to the side of that piece - or am I missing something that connects them underneath? Either way, I haven't been able to find an efficient way to connect my dual-color sensors to the front of my dog-gears in a stable way and was wondering if you had any tips regarding that?
Hello, I am using the two pins that are normally used for the dog gear interface to attach the sensors. I simply slide a beam onto the two pins (5 studs or longer) and then mount the color sensors onto that using crossblocks. It's a very simple mount.
Thank you very much! :)
U did perfect job 👏🏻👏🏻👏🏻👏🏻i want to know how u build ur robot in ur video ( how to follow line in 2 minute thanks really i learn too much from u good luck in ur all life
+بينه الكواري Thanks!
is there a faster line follower?
+Chirag Gupta Yes, but it will require more sensors and therefore more complexity.
Hi ,i appreciate your videos , Can you show us how to make an effective puck collector ?please thanks
+Zuhra Salieva Soorry, I don't think I can help you with that.
Your programs are cool.
+astro Thanks
Hi Builderdude35! I have a question. How do I limit how many rotations/seconds the robot line follows?
+Saket Mudaliar Change the Loop block's case from "infinity" to rotations, and enter the desired amount.
Do you mean numerical?
+Saket Mudaliar Yes, this is a numerical value; it should specifically be labelled "motor rotation."
Oh Ok Thanks!
Hey Dude ! What's up? I was thinking... This robot can do curves of 90° degress? Good Job and good video! :)
hey I'm a newb so do you have any videos on programming basic like bout variables and constants explaining everything,I just love this stuff but wasn't able to do all this before please help
Yes, I have some tutotials on constants/variables as well as tutorials on how to program every sensor.
Yes it. Won't stop
+Sydney Prier You need to program it to stop when you want it to. :)
Hi Builderdude35, I was planning on having the color sensor on the side of the robot instead of directly in the middle. would this cause any issues with its line following?
+ChubbyRainLTG No, the line following will still work mostly the same; of course, the robot will just be on the side of the line.
thanks man very helpfull
+Mad Assasin360 :)
never mind, sorry but i use the medium motor to move the color sensor by doing that the color sensor see the black moves but i'm still ttrying.
Santiago Arcos I have a proportional line follower tutorial coming out this Thursday, if you want to try another one of my single-sensor line followers.
Nice!!!!
hey .it want work ....... help
+Ahmed Abbasi What's wrong and what have you tried to fix it?
Que software é esse que você esta usando? onde consigo download?
I am using the EV3 Home Edition software.
Can i ask for thee robot model plz..
I had to use this at a very slow speed , my course in college has really sharp turns
do you have instructions?
This video is the instructions; it will teach you all that you need to know.
does anyone know how to program an ev3 to parallel park?
i am having some glitches With my ev3 brick when it runs a program like a line following sudenly the colorsensor shuts off and 1 to 2 sec later it turns back on again .. anyone else have that problem
That;'s strange. I recommend reinstalling the firmware on the robot and re-downloading the program onto the brick.
I found out that IT was a problem with the color sensor i orderd a new one and the problem dissaperd
thanks i will see it.
Hey Builderdude35, my FLL team is trying to create a line following program. However, when we tried using your program, it didn't work. I changed the light value for the black line using the PortView just like you said, so I don't think the problem is there. However, we do have our 2 color sensors on the back of our robot, not in the front like yours, could this be the problem? If so, what would you recommend?
+Jac Carlson I recommend color sensors on the front of the robot. You could have the robot drive in reverse as it line follows.
I was wondering if this is faster than a rcx robot because i am taking part in a line following contest where rcx always wins
+jun run No, the program won't be too much different between platforms. It's really going to come down to hardware.
If u use fuzzy logic it can also be as accurate and u only need 1 colour sensor.
zechariah boey Thanks; could you please define "fuzzy logic?"
It is a logic using only 1 sensor. It follows lines by taking the colour of the line and the floor, after that it follows the line on the edge. So if the value of the line is 80 and the floor is 10, the middle of these values are 45. When the sensor shines on the edge of the line, it has the value of 45 so it goes straight. So basically fuzzy logic involves the colours of not only black and white but also grey, which is the value of the edge.
zechariah boey Ah, okay. So I basically have something along those line with my proportional line follower tutorial: th-cam.com/video/NZISXcAQJRk/w-d-xo.html
Ok then i was just sharing, no need for anger.
Dammit
Thanks for the video!!! Now I can use this program in FLL.
SAME...
Nice
it really works, thanks. I need your help with one more thing; how can we make a turn on green while it is following the line
Yasin Kas Change the Loop brock from "Infinity" to "Color Sensor -> Color" and select green in the bottom. This will make the robot break out of the loop when a color sensor sees green. Then, drag out whatever blocks you want the robot to perform after seeing green, placing them after the loop.
CAN YOU FOLLOW A CURVY LINE?
Yes.
Hi! I was so exciting when i watched your video. I' m so interested in how to build this robot. Could you please help me to be able to build your robot? Thank you
You can find it under the "Downloads" tab on my website, builderdude35.com.
But really nicely programed
Hi! I'm a new fan. I'm learning a lot! Can you do a tutorial with a line follower which needs to know intersections please?
+Alejandro Fuentes Sure! I will add that to the list!
Thanks
Idkh to do that do a tutorial of it plz
For a certain number of rotations
+Sydney Prier You have to set the loop for the specified number of rotations.
terrerrrrrr!!!!!
You can do it with only one sensor
Yes indeed. This is just one type of line follower. Here's another type: th-cam.com/video/uPFfevfpMxs/w-d-xo.html
You should make a tutorial on stabilizing your robot.
Can we communicate I have some question for you
What if you only have 1 color sensor
+Ashwin D Use my proportional line follower. I have a tutorial on that.
is it really 2 mins tho
i like your probrram
+Logan Shimabukuro Thanks!
Yo i am Carol :D
Yeah.
nice, have a look at mine!
I don't know how I'm kinda new to programming
+Sydney Prier All you have to do is click on the Loop block (the button on the right) and change it.
Thank u because my teacher wouldn’t help me
If the ideal spacing for EV3 Line Following is ~one stud between the two EV3 Color Sensors, what is the ideal spacing for LINE SQUARING, as shown in your tutorial th-cam.com/video/82EaySXvta0/w-d-xo.html ? As you know, in FLL almost all of the lines on the FLL Robot Game mat have perpendicular lines in front of each Challenge model. It would seem that the best, all-around spacing between two EV3 Color Sensors in FLL would be 4-5 studs -- would you agree?
dluders You ask a very good question! I meant to mention that in this tutorial, but forgot (I may make a quick video explaining that). For line squaring, the farther apart the color sensors, the more effective; I'm not sure how they fare when they're this close. However, I don't recommend using this line follower with the sensors farther apart than what I have here, as the robot will wander farther off the line and reduce consistency. So, my recommendation is that, if someone wishes to use both, the best bet is to have 2 pairs of color sensors, one for each task.
hi billy
спасибо
Please make a boxing robot