How to Make a 2 Sensor Proportional Line Follower in EV3-G

  Рет қаралды 98,081

Builderdude35

Builderdude35

Күн бұрын

Пікірлер: 91
@samtenthije2419
@samtenthije2419 9 жыл бұрын
being efficient is always good ;)
@alialqallaf6565
@alialqallaf6565 7 жыл бұрын
Keep up, you're my teacher please don't stop. 😘😘
@Builderdude35
@Builderdude35 7 жыл бұрын
Don't worry, more tutorials to come!
@kitsune7017
@kitsune7017 2 жыл бұрын
Could this tackle smooth curves?
@jakubfrgal7112
@jakubfrgal7112 6 жыл бұрын
I just made proportional program, but better. When the robot drive of the line he remember witch sensor saw the last value 25 (white) and the second too it will get the last value and then come back to the line. It works really well. Sorry for my english :P
@nromy2006
@nromy2006 3 жыл бұрын
did you try it to cross an intersection with a green mark?
@Karl-yq1hd
@Karl-yq1hd 9 жыл бұрын
While I was playing around with 2- and even 3-sensor line followers, I came up with quite a bit ideas, however the one you utilised didn't come to mind! Way simpler than what I had done, I must admit. However can your robot react to if it has lost the line, for example if it has to turn a 90 degree turn? My 3-sensor design can :p I will make a video of it soon enough, you will see what my idea was.
@samtenthije2419
@samtenthije2419 9 жыл бұрын
how does that work? 3 sensors?
@Karl-yq1hd
@Karl-yq1hd 9 жыл бұрын
sorry replied with my other account, I mess up sometimes. :p (Karl Aleksander Leoste is me, just another account) but, back to the point, how 3 sensors works is the two front ones detect which way the line is going and the middle one detects how far off the line the robot is. I also added a memory system to keep turning if the robot should be off the line.
@ggg-pq8jq
@ggg-pq8jq 4 ай бұрын
can it do curves?
@darshgoel6292
@darshgoel6292 Ай бұрын
yoo man!! Does the robot take turns cause mine didn't
@gerardgarcia9265
@gerardgarcia9265 8 жыл бұрын
Thank´s for your time !
@anamtaassociates1909
@anamtaassociates1909 6 жыл бұрын
Want to make for completion help which would be better
@thomasq.z.4615
@thomasq.z.4615 9 жыл бұрын
great job! keep it up!
@Builderdude35
@Builderdude35 9 жыл бұрын
+Qian Zheng Thanks!
@arhamjain7306
@arhamjain7306 5 жыл бұрын
Nice and I will make it to my blocks
@ΘάνοςΜαρκούλης
@ΘάνοςΜαρκούλης 9 жыл бұрын
Can we take a close turning or just a turning with this robot because in Greece we have a contest and i need to know.Please give me an answer quickly because I need it.Thank you very much!
@Builderdude35
@Builderdude35 9 жыл бұрын
+Θάνος Μαρκούλης Sorry, I'm not sure what you're asking.
@ΘάνοςΜαρκούλης
@ΘάνοςΜαρκούλης 9 жыл бұрын
+Builderdude35 sorry i mean turns
@Builderdude35
@Builderdude35 9 жыл бұрын
+Θάνος Μαρκούλης You can adjust the turning to your needs with this follower.
@jeroenodb
@jeroenodb 8 жыл бұрын
I think that if you do the sum of the two sensors, with one minus that you a better result.
@bohnman
@bohnman 9 жыл бұрын
What is the model number of the wheels you use?
@Builderdude35
@Builderdude35 9 жыл бұрын
+bohnman #88516 and #88517
@johnnyfalcon184
@johnnyfalcon184 7 жыл бұрын
I tried you 2 sensor proportional program but I couldn't get it to work. Any suggestions. I want it to go 2806 degrees and then follow a curved line and then stop.
@Builderdude35
@Builderdude35 7 жыл бұрын
Send me an email through the "Contact Me" form on my website (builderdude35.com) with a description of your problem and what went wrong.
@teghveersinghrekhi2339
@teghveersinghrekhi2339 9 жыл бұрын
Hey i was wondering if u could explain the use of math blocks in the program again
@Builderdude35
@Builderdude35 9 жыл бұрын
+Teghveer Singh Rekhi Sorry, I don't think I can explain it better than the video. :)
@teghveersinghrekhi2339
@teghveersinghrekhi2339 9 жыл бұрын
Ok thanks
@hongleiyu1730
@hongleiyu1730 7 жыл бұрын
Builderdude35, thank you. I like ur vids and u have helped me out a ton. And the pid line follower was way to complicated for me and my dad said that it was college stuff. By the way, this isnt my utube account
@Builderdude35
@Builderdude35 7 жыл бұрын
I'm glad to have helped! and yes, PID line following IS college level. But it's certainly not necessary; there are simpler programs that work about as well.
@safaa8065
@safaa8065 8 жыл бұрын
hi! i was wondering, after the robot finishes the black line, does it just stop? bc u always cut it off and i never know what happens to it. thx :)
@Builderdude35
@Builderdude35 8 жыл бұрын
No, this particular program repeats infinitely. You need to program some kind of case for it to exit the line following loop.
@anmolkaran57
@anmolkaran57 5 жыл бұрын
@@Builderdude35 How do I do that?
@efthymiosn3381
@efthymiosn3381 8 жыл бұрын
hi, i love your videos. thnxs very much. I'd like to ask you if we have made callibration and set white to 100 what should 35 be replaced with?
@Builderdude35
@Builderdude35 8 жыл бұрын
+bob xatzibasiliou Use "Port View" and place the color sensor half over the black, half over the white to measure the value. It should be about 50.
@efthymiosn3381
@efthymiosn3381 8 жыл бұрын
thnx
@novarecondo3868
@novarecondo3868 8 жыл бұрын
How did you place those sensors?
@Builderdude35
@Builderdude35 8 жыл бұрын
They're simply attached to the dig gear interface on the front of the robot. The sensors are placed one stud apart.
@ahmedabbasi6976
@ahmedabbasi6976 8 жыл бұрын
hi . what if i use the line as a track the after following it for couple of inches i want to switch to do a mission next to it
@Builderdude35
@Builderdude35 8 жыл бұрын
+Ahmed Abbasi Set the Loop block to end after a certain number of degrees or seconds.
@ahmedabbasi6976
@ahmedabbasi6976 8 жыл бұрын
+Builderdude35 thx
@timothykim6693
@timothykim6693 9 жыл бұрын
Hi, like your video but I was wondering if you can make a video of how to make a robotic arm.
@Builderdude35
@Builderdude35 9 жыл бұрын
+Timothy Kim I have some videos similar to that. See "How to make a Claw and Lift Mechanism."
@timothykim6693
@timothykim6693 9 жыл бұрын
+Builderdude35 thanks
@gabrielferreiragomes6220
@gabrielferreiragomes6220 6 жыл бұрын
Hello, I'm Brazilian. I do not speak English and I'm using the translator to talk to you. It explains to me which part he sees in black and in which part he sees white could answer that comment to explain me. I look at the translator.
@abcs1942
@abcs1942 8 жыл бұрын
Hi Builderdude35! I have a question. How do I limit how many rotations/seconds the robot line follows?
@aureliony
@aureliony 8 жыл бұрын
use a loop block and loop for X number of motor rotations.
@uk2781
@uk2781 Ай бұрын
Thanks alot
@timothykim6693
@timothykim6693 9 жыл бұрын
Hi, also I was wondering if you can make a video of how to make a autonomous soccer bot.
@Builderdude35
@Builderdude35 9 жыл бұрын
+Timothy Kim I have a video on how to build one, but not one on how to program one.
@Brian-jn2pi
@Brian-jn2pi 7 жыл бұрын
How could you convert the proportional part to PID? Do you put a PID program where you put the proportional part?
@Builderdude35
@Builderdude35 7 жыл бұрын
Excellent question! The PID line follower is an extension of a proportional line follower, so you can start by programming a proportional line follower then building more on top of it. My video on PID line following will explain everything: kzbin.info/www/bejne/d36liImVfayMoJY
@Brian-jn2pi
@Brian-jn2pi 7 жыл бұрын
Great thanks!! i've watched the video twice haha. Thank you so much for these videos!!
@Builderdude35
@Builderdude35 7 жыл бұрын
You're very welcome!
@anmolkaran57
@anmolkaran57 5 жыл бұрын
How do I make it stop at the end of the line instead of continuing to go?
@Builderdude35
@Builderdude35 5 жыл бұрын
Check out my tutorial on loop interruption.
@anushiyak8116
@anushiyak8116 7 жыл бұрын
hi!! dude this is gud ...We tried this program ...could you please explain about the values u given for two math blocks???
@fasihah5425
@fasihah5425 3 жыл бұрын
Hi may I ask
@itteacher9168
@itteacher9168 8 жыл бұрын
how can i program it, if i want the color sensor to compare the colors, not to compare RLI. ???
@Builderdude35
@Builderdude35 8 жыл бұрын
+it teacher Check out my video on the color sensor, coming this Thursday.
@itteacher9168
@itteacher9168 8 жыл бұрын
+Builderdude35 i will wait for your video. BTW, i tried the program in this video.. i doesn work. the robot only turnning around. i did exactly as you did in this video.
@rascubulous
@rascubulous 6 жыл бұрын
you should do a 9 sensor PID line follower
@Builderdude35
@Builderdude35 6 жыл бұрын
I like that idea!
@combatwombat4957
@combatwombat4957 2 жыл бұрын
So helpful very epic
@hindalrobaidy9739
@hindalrobaidy9739 8 жыл бұрын
Excuse me , I want the robot form desine steps please
@chrisweixunlai5677
@chrisweixunlai5677 7 жыл бұрын
What should i do if my 1 of my ports till remain color
@Builderdude35
@Builderdude35 7 жыл бұрын
Sorry, I'm not sure what you mean.
@siddiqkhancmsrobotics3136
@siddiqkhancmsrobotics3136 6 жыл бұрын
Plz make maiz solver with 3 color sensor if possible
@KhoaNguyen-mq1he
@KhoaNguyen-mq1he 7 жыл бұрын
Can you make a Gyro Turning Program? I have my own, maybe you could put that on a video?
@Builderdude35
@Builderdude35 7 жыл бұрын
See my video on Gyro Following.
@minhnguyenduc2620
@minhnguyenduc2620 4 жыл бұрын
What is the link?
@safaemirilbey565
@safaemirilbey565 6 жыл бұрын
I don’t now a white line follower How can ı make it please help me you describe you new video ı am from turkey so ı speak some english ı want to add a turkish subtitle
@KolisiHoorn
@KolisiHoorn 6 ай бұрын
Can you make a video building 2023 robot ideas😊😊😊
@andrewrommel900
@andrewrommel900 3 жыл бұрын
Does anyone have the code in labview
@advaitmalhotra5384
@advaitmalhotra5384 6 жыл бұрын
can it turn
@ahmedabbasi6976
@ahmedabbasi6976 8 жыл бұрын
the robot does not stay stable and carve out of the track
@Builderdude35
@Builderdude35 8 жыл бұрын
+Ahmed Abbasi Sorry, not sure what you mean here.
@melcclem9750
@melcclem9750 6 жыл бұрын
Probally your logic is wrong.... go check your cable where you plug the motors and where you plug your light sensors
@ahmedabbasi6976
@ahmedabbasi6976 8 жыл бұрын
i have another problem
@weeettyremmle8041
@weeettyremmle8041 6 жыл бұрын
cool
@Ilianaisme
@Ilianaisme 6 жыл бұрын
In text code this is only 2 simple lines of code with 2 variables. This is why Id never use visual language lol its way too long
@Builderdude35
@Builderdude35 6 жыл бұрын
I agree, text-based languages are more efficient in this respect.
@GiorgosLegoEv
@GiorgosLegoEv 7 жыл бұрын
What do you mean threshold value 65 when both sensors are over the white line. That's what you said on the video and it makes no sense. And why do you divide by a factor of 1.5. Shouldn't you have multiplied by 1.5. The Formula is Turning = (a-b)*c where a is the light sensor's value, b is the threshold value and c is the turning multiplier. You are confusing people if you are using Math operations out of your mind.
@DJ.Gaming24
@DJ.Gaming24 Ай бұрын
YOOO MAN! Can your bot take turns cause mine can't😡😡😡💩
@rascubulous
@rascubulous 6 жыл бұрын
that was a joke!!!!!!!!
@Builderdude35
@Builderdude35 6 жыл бұрын
I may decide to make it a reality!
@arhamjain7306
@arhamjain7306 5 жыл бұрын
It is very complicated I have a very much very much easier
PID Line Follower for EV3 - The Ultimate Line Follower!
21:38
Builderdude35
Рет қаралды 257 М.
Proportional Line Follower for EV3 - Follow the Line Smoothly!
7:59
Builderdude35
Рет қаралды 208 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 28 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 101 МЛН
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
Stop Making THIS MISTAKE With Your LEGO Gyro Sensor
10:18
Builderdude35
Рет қаралды 19 М.
Are PID line followers ACTUALLY faster?
6:07
Haase Industries
Рет қаралды 25 М.
What is the Best EV3 Line Follower For You?
8:32
Builderdude35
Рет қаралды 75 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,3 МЛН
Remote Control LEGO MINDSTORMS 51515 With Your Smart Device
10:48
Builderdude35
Рет қаралды 14 М.
I Made My Own Computer | Let's See How It Works
7:51
3DSage
Рет қаралды 811 М.
I'm Scared of his MESS
16:55
Linus Tech Tips
Рет қаралды 1 МЛН
Mindstorms EV3 Tutorial #6: Use the color sensor to follow a line
17:06
I made a SUPER FAST Line Follower Robot Using PID!
10:02
Shyam Ravi
Рет қаралды 363 М.
Robocup Rescue with EV3
17:19
Club Engineer
Рет қаралды 71 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 28 МЛН