Mindstorms EV3 Tutorial #7: Use the gyro sensor

  Рет қаралды 193,829

Kevin Briggs

Kevin Briggs

Күн бұрын

Learn how to use the gyro sensor in order to make precise turns and drive in a straight line.

Пікірлер: 95
@x-raygamma
@x-raygamma 6 ай бұрын
Very useful for making a stabilized tank cannon. Lots of fun!
@dolevvudinsky587
@dolevvudinsky587 5 жыл бұрын
Thank you so much. You just saved me and my team. You have no idea what this mean to me.
@kenahoo
@kenahoo 8 жыл бұрын
For your first program: I'd suggest that instead of changing the termination condition to a little less than the target, change the speed to still be a small positive number when it reaches the target. For example, if your target is x degrees and the current sensor reading is k degrees, make the speed be something like 30*(x-k+5)/x, to start at speed 35 and end at speed 5, no matter the value of x.
@primestudioandphotoshoot
@primestudioandphotoshoot 4 жыл бұрын
Thank for your tutorials, after your tutorials, I built two three different my blocks - if I test the myblock individually it works as expected, but did get the same result all the time if I am trying use these myblocks to move the robot such straight - turn 90 R - straight - turn left 90 L also, I have another myblock with the input of speed and number of rotation all these combination of my blocks. Problem I have is if have 3-5 these types of myblocks, program just stop middle, not sure what wrong with the myblock. Can you help?
@smitharayala
@smitharayala 8 жыл бұрын
Hi Kevin, I did exactly as you did to move the Robot straight. Unfortunately, my robot does not move back to the intended straightline when I move it off the direction like you did. What I also did not understand is, the reason you are using gyro sensor reading to write into the variable staright angle but read the target angle to calculate the differnce. Please help.
@trampbuddies2004
@trampbuddies2004 5 жыл бұрын
Hey smitharayala, I've done the program as well and found out that it starts spinning out of control. The simple thing to do to the program is to change the math block to addition, instead of subtraction. That should fix it.
@rishishah575
@rishishah575 5 жыл бұрын
Sweet video my team is in FLL and this was very useful
@XenoBray
@XenoBray 4 жыл бұрын
ITS PRONOUNCED YEERRRRROOO NOY GYYYRO YERRROOO
@vihaanprakash3679
@vihaanprakash3679 2 жыл бұрын
Yes I need this
@chezzyboi3334
@chezzyboi3334 7 жыл бұрын
well explained.
@didierhelliet9591
@didierhelliet9591 8 жыл бұрын
The student did the straight line but if they add something after the loop, nothing happened. They want to make the robot go straight with the gyro sensor like you showed on your video but they want to add an other senser the tactil one and an other motor.
@benciruiz6493
@benciruiz6493 6 жыл бұрын
Hello, my robot does not follow the loop instruction for exiting, I have it program to move just 3 rotations and the robot just keeps going. Do you now why?
@gaojohn9452
@gaojohn9452 8 жыл бұрын
very good !thanks! it's a big help to me!
@elenagrassi5403
@elenagrassi5403 4 жыл бұрын
very useful tutorial! Thanks!
@daveslurz
@daveslurz 6 жыл бұрын
Any chance you can help me trouble shoot. my code that I copied from your tutorial is stuck in the loop. it just turns. I checked my ports cables restarted. Still just makes a turn Any thoughts on what to look for all the wires on the math block seem fine too
@murraybrown5521
@murraybrown5521 7 жыл бұрын
great video! Are you able to provide the algorithm (robotc) for reducing the speed while turning? many thanks
@chainbreaker9079
@chainbreaker9079 6 жыл бұрын
I m wrighting -90, 'cause im going left but my robo starts spining, y?? help plz fast, for straigh going
@ihmsstudent7195
@ihmsstudent7195 8 жыл бұрын
I'm having an issue with the 90 deg turn... it doesn't quite make it to 90 degrees, then kind of pauses and waits and never quite makes it. So it doesn't move onto the next part of the program. Any ideas?
@kevinbriggs8354
@kevinbriggs8354 8 жыл бұрын
+Ihms Student Have the exit condition of the loop be a few degrees less than than your turn (in your case 87 degrees) This will guarantee it exits the loop.
@ihmsstudent7195
@ihmsstudent7195 8 жыл бұрын
Thanks I'll try it!
@brianliu9552
@brianliu9552 7 жыл бұрын
thanks this is pretty easy to understand
@luks7962
@luks7962 2 жыл бұрын
thanks
@shafwananis3991
@shafwananis3991 5 жыл бұрын
the robot did turn 90 degree well, but the programme still running,help
@eugenechoi9146
@eugenechoi9146 5 жыл бұрын
i tried the code but my robot keeps on spinning forever. what's going on?
@ruslanusmanov3514
@ruslanusmanov3514 6 жыл бұрын
In the very last program you forgot to change variable to "straight" on reading. That can cause motor to circle around, unless the sensor pointed to calibrated direction.
@arnavprasad7594
@arnavprasad7594 5 жыл бұрын
change which variable to 'straight'? hello people
@valliammaisubbiah1092
@valliammaisubbiah1092 6 жыл бұрын
this was useful thank you and I named the same things as you with out knowing no what you did but thanks for the help
@lynnmyers3914
@lynnmyers3914 6 жыл бұрын
Our robot will not stop turning and will not exit the loop. We tried programming it exactly as you instructed. We also tried recalibrating the gyro to zero and it still won't exit. Any suggestions.
@anapaulanascimentomarega8520
@anapaulanascimentomarega8520 6 жыл бұрын
Change the rotation to -100, that way the gyro sensor can read the angle. This is happening because the sensor can't read 90 degres because he is turning to the opposite way.
@ayyoubalkhayyat574
@ayyoubalkhayyat574 8 жыл бұрын
Great channel thumbs up for sure :)
@Simon-me9fh
@Simon-me9fh 6 жыл бұрын
0:57 favorite moment
@name-yf2pl
@name-yf2pl 4 жыл бұрын
Bruh same
@captainsarcastic6044
@captainsarcastic6044 3 жыл бұрын
12:13 MINE IS THSI
@elsantana1032
@elsantana1032 6 жыл бұрын
Hi, I'm a student at a university, I could make a video LEGO robot solving a labyrinth and also please explaining how is the programming.
@xuzhiyuan71
@xuzhiyuan71 8 жыл бұрын
please post a video about abundant light intensity
@pikaninja2308
@pikaninja2308 6 жыл бұрын
How do you make it turn left
@kaiserindustries5567
@kaiserindustries5567 7 жыл бұрын
Why is that Robot blinking green on the left sied at 11:50
@ParthavGavini
@ParthavGavini 5 жыл бұрын
U better than Ninja
@thillock
@thillock 5 жыл бұрын
Moving in a straight line. This only works once, when used a second time the program simply exits. I have not traced down just how the variables are not using the current heading on the second use even when reseting to Gyro to 0 before it runs.
@hamzasaeedmalik8062
@hamzasaeedmalik8062 5 жыл бұрын
To use that program repeatidly you have to reset the motor values at the start of the program
@nathanyang6185
@nathanyang6185 6 жыл бұрын
This video is really helpful but can you put the program in the description so we can download it? Thanks.
@bosssmer
@bosssmer 6 жыл бұрын
I have a question, Doesn't matter where whe put the gyro sensor?
@hamzasaeedmalik8062
@hamzasaeedmalik8062 5 жыл бұрын
The axis matters
@mostafahusseini6473
@mostafahusseini6473 7 жыл бұрын
Hi Kevin! I can not find the gyro sesor in the software. There is not any selection or button in the software for this .
@veebhushah9667
@veebhushah9667 6 жыл бұрын
you need to dolold the brick
@THEQQMJ
@THEQQMJ 6 жыл бұрын
where???
@THEQQMJ
@THEQQMJ 6 жыл бұрын
never mind
@ROBOTROLOGY
@ROBOTROLOGY 6 жыл бұрын
download gyro sensor block in ev3 g
@tahachaf1683
@tahachaf1683 4 жыл бұрын
thank you best robot programer
@Skurk11
@Skurk11 8 жыл бұрын
Hello Kevin! Great stuff! I'm a teacher too and just starting to learn the basics. Will there be more tutorials?
@xuzhiyuan71
@xuzhiyuan71 8 жыл бұрын
Hey Kevin. I'm a 7 year old boy who is new to ev3.I would like if you could post a video about abundant light intensity.I have already watched many of your videos and like them but I could never find one with abundent light intensity
@ZebraSlapper
@ZebraSlapper 7 жыл бұрын
shoudn't you be 13 to be in youtube
@xuzhiyuan71
@xuzhiyuan71 7 жыл бұрын
I did all robot stuff with my son including watching youtube for EV3. thanks,
@jiesu532
@jiesu532 5 жыл бұрын
Thanks a lot!
@Sofia-yy2iz
@Sofia-yy2iz 7 жыл бұрын
it is 45544?
@ajt1992
@ajt1992 2 ай бұрын
fav part of the video is 12:13 🤣
@YourGMoney233
@YourGMoney233 4 жыл бұрын
What amazing!!!!!
@liamsuidan6510
@liamsuidan6510 7 жыл бұрын
My robot won't turn the other way, any suggestions, thanks, great video!
@lucasfranck1486
@lucasfranck1486 4 жыл бұрын
you need to do -90 degrees en -100 for turning
@gaojohn9452
@gaojohn9452 8 жыл бұрын
why the target value can receive the straight value.is not the same constant!i can't understand.my english is on the way .sorry!
@noobssindcool
@noobssindcool 3 жыл бұрын
THANKS!
@tridentgamer9248
@tridentgamer9248 6 жыл бұрын
what's with the second voice
@AnonyMous-hi5tr
@AnonyMous-hi5tr 6 жыл бұрын
WHERE WAS KEVIN WHEN I STARTED FLL
@arnavprasad7594
@arnavprasad7594 5 жыл бұрын
SAME - WHERE WERE U KEVIN????????
@xDD141
@xDD141 8 жыл бұрын
Can I have your mail sir, so I can contact you?
@shotzz8660
@shotzz8660 4 жыл бұрын
bro cant you just do greater than equal to 90
@gurmeetkaur-vw2ry
@gurmeetkaur-vw2ry 7 жыл бұрын
new tutorials please arrays ,advanced blocks etc please sir
@caitlinshen7610
@caitlinshen7610 7 жыл бұрын
The robot has a slight list, but otherwise your robot straight program is perfect!!
@name-yf2pl
@name-yf2pl 4 жыл бұрын
Kevinbriggs vs builderdude
@ZebraSlapper
@ZebraSlapper 7 жыл бұрын
4:32 Turn on [CC] [CC]: Now if I go to jail I returned
@aliburak3982
@aliburak3982 6 жыл бұрын
Anladım Abi
@quesopez98
@quesopez98 7 жыл бұрын
Hi
@xuzhiyuan71
@xuzhiyuan71 8 жыл бұрын
even though i'm an expert
@lincolndavis3302
@lincolndavis3302 4 жыл бұрын
Jeff
@user-tp1tx7qz6t
@user-tp1tx7qz6t 5 жыл бұрын
My Robot cannot work well on this project
@shafwananis3991
@shafwananis3991 5 жыл бұрын
@@SanujanSarveswaran-cm8ru You can try by finding the agent @supplier of your country on the internet
@BIG-vt2ez
@BIG-vt2ez 6 жыл бұрын
evkmd,
@jonita1989
@jonita1989 6 жыл бұрын
QUE
@gautamkathiravan366
@gautamkathiravan366 7 жыл бұрын
DAB
@mrigankgupta3490
@mrigankgupta3490 8 жыл бұрын
Stubborn robot
@ethanhsiungbasstrombone
@ethanhsiungbasstrombone 7 жыл бұрын
same
@iikazui
@iikazui 4 жыл бұрын
get a real job
@minecraftica5814
@minecraftica5814 3 жыл бұрын
Hi
Mindstorms EV3 Tutorial #8: Reading and Writing Files
14:59
Kevin Briggs
Рет қаралды 24 М.
Stop Making THIS MISTAKE With Your LEGO Gyro Sensor
10:18
Builderdude35
Рет қаралды 17 М.
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 99 МЛН
FOOTBALL WITH PLAY BUTTONS ▶️❤️ #roadto100million
00:20
Celine Dept
Рет қаралды 17 МЛН
How to use Motors and Movement in EV3 MicroPython [2]
25:03
Zain Khan
Рет қаралды 14 М.
World’s BEST Lego self-driving car
10:58
Creative Mindstorms
Рет қаралды 130 М.
Accurate Turns With The EV3 Gyro Sensor
15:53
Nate Simpkins
Рет қаралды 3,1 М.
15 | Combine a gyroscope and accelerometer to measure angles - precisely
9:49
How To Program The EV3 Ultrasonic and Touch Sensors
6:35
LEGORobotics Mr. Hino
Рет қаралды 10 М.
20 Mechanical Principles combined in a Useless Lego Machine
7:21
Brick Experiment Channel
Рет қаралды 42 МЛН
How to Make your Robot Drive Straight with the EV3 Gyro
5:11
Builderdude35
Рет қаралды 124 М.
Following a Line with Lego Mindstorms
15:56
Unibots
Рет қаралды 33 М.
How To Go Straight With A Gyro Sensor | Tutorial
4:34
Legos R Us
Рет қаралды 11 М.
ТЫ С МАМОЙ В БОЛЬНИЦЕ😂#shorts
0:53
BATEK_OFFICIAL
Рет қаралды 1,7 МЛН
Mom OR Dad‼️ Cute Dog Shiba Inu😂 Choose‼️ | JJaiPan #Shorts
0:42
เจไจ๋แปน J Jai Pan
Рет қаралды 6 МЛН
Miroşun siniri 🤣 #springonshorts #özlemlinaöz
0:18
Özlemlina Öz
Рет қаралды 59 МЛН
小女孩把路人当成离世的妈妈,太感人了.#short #angel #clown
0:53