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

  Рет қаралды 96,732

Builderdude35

Builderdude35

Күн бұрын

Пікірлер: 88
@samtenthije2419
@samtenthije2419 8 жыл бұрын
being efficient is always good ;)
@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
@gerardgarcia9265
@gerardgarcia9265 8 жыл бұрын
Thank´s for your time !
@alialqallaf6565
@alialqallaf6565 7 жыл бұрын
Keep up, you're my teacher please don't stop. 😘😘
@Builderdude35
@Builderdude35 7 жыл бұрын
Don't worry, more tutorials to come!
@Karl-yq1hd
@Karl-yq1hd 8 жыл бұрын
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 8 жыл бұрын
how does that work? 3 sensors?
@Karl-yq1hd
@Karl-yq1hd 8 жыл бұрын
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.
@thomasq.z.4615
@thomasq.z.4615 8 жыл бұрын
great job! keep it up!
@Builderdude35
@Builderdude35 8 жыл бұрын
+Qian Zheng Thanks!
@arhamjain7306
@arhamjain7306 5 жыл бұрын
Nice and I will make it to my blocks
@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.
@jeroenodb
@jeroenodb 8 жыл бұрын
I think that if you do the sum of the two sensors, with one minus that you a better result.
@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.
@combatwombat4957
@combatwombat4957 2 жыл бұрын
So helpful very epic
@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???
@nromy2006
@nromy2006 3 жыл бұрын
did you try it to cross an intersection with a green mark?
@anamtaassociates1909
@anamtaassociates1909 5 жыл бұрын
Want to make for completion help which would be better
@kitsune7017
@kitsune7017 Жыл бұрын
Could this tackle smooth curves?
@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
@bohnman
@bohnman 8 жыл бұрын
What is the model number of the wheels you use?
@Builderdude35
@Builderdude35 8 жыл бұрын
+bohnman #88516 and #88517
@timothykim6693
@timothykim6693 8 жыл бұрын
Hi, also I was wondering if you can make a video of how to make a autonomous soccer bot.
@Builderdude35
@Builderdude35 8 жыл бұрын
+Timothy Kim I have a video on how to build one, but not one on how to program one.
@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.
@timothykim6693
@timothykim6693 8 жыл бұрын
Hi, like your video but I was wondering if you can make a video of how to make a robotic arm.
@Builderdude35
@Builderdude35 8 жыл бұрын
+Timothy Kim I have some videos similar to that. See "How to make a Claw and Lift Mechanism."
@timothykim6693
@timothykim6693 8 жыл бұрын
+Builderdude35 thanks
@teghveersinghrekhi2339
@teghveersinghrekhi2339 8 жыл бұрын
Hey i was wondering if u could explain the use of math blocks in the program again
@Builderdude35
@Builderdude35 8 жыл бұрын
+Teghveer Singh Rekhi Sorry, I don't think I can explain it better than the video. :)
@teghveersinghrekhi2339
@teghveersinghrekhi2339 8 жыл бұрын
Ok thanks
@ΘάνοςΜαρκούλης
@ΘάνοςΜαρκούλης 8 жыл бұрын
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 8 жыл бұрын
+Θάνος Μαρκούλης Sorry, I'm not sure what you're asking.
@ΘάνοςΜαρκούλης
@ΘάνοςΜαρκούλης 8 жыл бұрын
+Builderdude35 sorry i mean turns
@Builderdude35
@Builderdude35 8 жыл бұрын
+Θάνος Μαρκούλης You can adjust the turning to your needs with this follower.
@KolisiHoorn
@KolisiHoorn 4 ай бұрын
Can you make a video building 2023 robot ideas😊😊😊
@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.
@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
@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?
@rascubulous
@rascubulous 6 жыл бұрын
you should do a 9 sensor PID line follower
@Builderdude35
@Builderdude35 6 жыл бұрын
I like that idea!
@ggg-pq8jq
@ggg-pq8jq 2 ай бұрын
can it do curves?
@siddiqkhancmsrobotics3136
@siddiqkhancmsrobotics3136 6 жыл бұрын
Plz make maiz solver with 3 color sensor if possible
@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.
@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
@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!
@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?
@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.
@hindalrobaidy9739
@hindalrobaidy9739 7 жыл бұрын
Excuse me , I want the robot form desine steps please
@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.
@weeettyremmle8041
@weeettyremmle8041 6 жыл бұрын
cool
@fasihah5425
@fasihah5425 2 жыл бұрын
Hi may I ask
@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.
@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
@andrewrommel900
@andrewrommel900 2 жыл бұрын
Does anyone have the code in labview
@ahmedabbasi6976
@ahmedabbasi6976 8 жыл бұрын
i have another problem
@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.
@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.
@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
Рет қаралды 254 М.
I made a SUPER FAST Line Follower Robot Using PID!
10:02
Shyam Ravi
Рет қаралды 324 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 23 МЛН
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 1,1 МЛН
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Have you ever seen soldering THIS close?
9:53
Robert Feranec
Рет қаралды 335 М.
Lego Spike Prime Line follower sensor height
6:47
Robots are not boring!
Рет қаралды 245
The Fastest Maze-Solving Competition On Earth
25:22
Veritasium
Рет қаралды 19 МЛН
Make the TINIEST Line Follower Robot without a Microcontroller!
11:34
Max Imagination
Рет қаралды 307 М.
WRO 2024 SENIOR RUSSIAN CHAMPION
3:51
Aлександр Мандрон
Рет қаралды 10 М.
Unlock the Potential of Your Old Hard Drives: Build a Drone Engine!
8:12
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 23 МЛН