Stop Making THIS MISTAKE With Your LEGO Gyro Sensor

  Рет қаралды 17,648

Builderdude35

Builderdude35

Күн бұрын

The LEGO gyro sensor is notoriously difficult to work with. Whether it's the EV3 gyro sensor, LEGO 51515 gyro sensor, or a third party gyro sensor for LEGO MINDSTORMS, you may be making a critical mistake that is holding you back from extracting the most performance for your LEGO MINDSTORMS robot. After watching today's tutorial, you will have a better understanding of how a LEGO gyro sensor works and how to minimize issues like gyro drift.
If you are using a LEGO MINDSTORMS gyro sensor to build an FLL robot or just a MINDSTORMS hobbyist at home, you will benefit from understanding the inner workings of the LEGO gyro sensor, which is the topic of today's video.
🔴 Watch my LEGO MINDSTORMS 51515 Review: • LEGO MINDSTORMS 51515 ...
🤖 See all of my LEGO 51515 Tutorials here: • LEGO 51515 Tutorials -...
CONTENTS
0:00 - Introduction
1:18 - Rhetorical Question
1:47 - Misunderstanding the Gyro Sensor
2:17 - What a Gyro Sensor Actually Measures
3:23 - How a Gyro Sensor "Measures" Angle
4:17 - Understanding Gyro Sensor Calibration
6:42 - Understanding Gyro Drift
8:02 - Best Practices to Minimize Gyro Drift
📕 Check out my book, “Building Smart LEGO MINDSTORMS EV3 Robots,” available on Amazon: amzn.to/2MyGVCl
🔴 Subscribe to Builderdude35: kzbin.info...
🕸 My Website: builderdude35.com/
📷 Follow me on Instagram: / builderdude35
🦸‍♂️ My supporters on Patreon contribute additional funding that allow me to build up and improve this channel and to make more videos. If you would like to help, you can support me here: / builderdude35
🎵 Thank you to my friend OTT for producing the beats and music used in this video. You can check him out on Instagram here: / onetaketom
🎥 Thank you to Garry Law from Creator Academy Australia for designing the intro animation and end screen animation! You can check out his KZbin channel here: / @creatoracademyaustralia
📽 Thank you to my friend Preston Nichols for designing Builderdude35's logo!
#builderdude35 #legogyrosensor #legomindstorms

Пікірлер: 34
@jefftaylor6719
@jefftaylor6719 2 жыл бұрын
At FLL Competitions, I always instruct my team to boot the EV3 on the floor in a quiet corner of the pit before heading out. There are 2 reasons for this. Booting on competition tables are a poor choice because someone is always bumping the tables. The second reason took me a few years to understand. Most competitions use large sound systems during the competitions. That massive sound produces vibrations which can be picked up by the sensor which can mess with the initialization. The pits are usually far more quiet than the competition floor. In the pit you should always check with a test program to verify the sensor is working properly. If not, shut and and reboot again until it works right before heading to the competition tables.
@Unbrickme
@Unbrickme 2 жыл бұрын
The robot inventor hub's angle output is kinda strange, since on some axes when it reaches 180, it immediately jumps to -179 up until zero. Negative numbers really mess up the code, so I always just use the angular velocity block and I have a basic code that measures the actual angle based on the angular velocity. Very useful for measuring 0-360 on certain axes
@Builderdude35
@Builderdude35 2 жыл бұрын
The new LEGO 51515 gyro certainly has its quirks. The observation you noted is actually not unusual because this gyro is set up to measure heading relative to 0 degrees, where one direction is positive and the other is negative. It "jumps" from 180 to -179 because you are crossing over from the "positive" side to the "negative" side. You can think of 180 like the way 0 functions in the number line as a value between negatives and positives, except it feels weird because 180 is definitely a positive value. The 51515 gyro actually has a 5 degree dead zone in one of its axes, which limits some of what you can build. I have a more thorough explanation here if you are interested: kzbin.info/www/bejne/i5qwmH2KqriAbbs
@dluders
@dluders 2 жыл бұрын
In FLL competitions, sometimes team members bump or lean on the FLL Game Table while their robot's Gyro Sensor is calibrating. In their haste, they unwittingly introduce error into their robot turns....
@Builderdude35
@Builderdude35 2 жыл бұрын
Thank you for your sagely wisdom yet again!
@schulercd
@schulercd 2 жыл бұрын
Thanks Kyle for continuing to make great informative videos about the EV3 and Spike. I learned even more about the gyro sensor today. I'm going teach it to my FLL team for sure. Thanks again!
@Builderdude35
@Builderdude35 2 жыл бұрын
You're very welcome! Thanks for supporting the channel over the years!
@not_billkill4495
@not_billkill4495 2 жыл бұрын
New video about the hardest thing to master in ev3 So excited
@Builderdude35
@Builderdude35 2 жыл бұрын
Thanks! Now you'll have to see if it lives up to the hype!
@BTTFF
@BTTFF 4 ай бұрын
Thank you, you just saved my life! I was going crazy with my Gyro angle reading going up forever.
@eranbrown617
@eranbrown617 3 ай бұрын
First time FLL mentor & appreciate this contribution!
@ericgolombek9037
@ericgolombek9037 2 жыл бұрын
I have been watching your videos for years and you continue to be awesome! I have always wondered what the impact of the position of the gyro sensor is. I feel like putting it to the side or forward is going to make a difference. But putting it dead center is tricky. How do you adjust for the position of the sensor on the robot?
@Builderdude35
@Builderdude35 2 жыл бұрын
You are absolutely correct, the gyro sensor position on the robot makes a difference, although it's not critical as long as your choice of placement is reasonable. Ideally, the gyro should be located between the two drive wheels so its rotation axis is concentric with the axis around which the robot turns. There's no specific way to calibrate for other placements as far as I know, but close to the ideal position will work fine too. In some of my past videos, I had the gyro on the side of the robot and it also worked reasonably well
@BobHamburger_MIT_EE
@BobHamburger_MIT_EE 2 жыл бұрын
Kyle, I'm pretty certain that the gyro sensor employs a MEMS force gauge, and the primary measurement is actually angular acceleration, not velocity. It integrates once to get angular velocity, and again to get angular measurement -- all of which means that the drift and accumulating offset errors are even worse than we think they are.
@Builderdude35
@Builderdude35 2 жыл бұрын
Hi Bob, as far as I know, the LEGO gyro is a MEMS vibrating structure gyroscope, which measures angular velocity. This is by far the most common (and cheapest) was to manufacture gyro sensors right now. But if I am in fact wrong on this, please let me know! More info on vibrating structure gyro sensors, if you are interestd: en.wikipedia.org/wiki/Vibrating_structure_gyroscope?fbclid=IwAR3ikF_Hqi7N4qcOhQ2iAgTHcwAd-Twmn9nveWB4W2m10V2xbybD5GDrHBY
@learntodiscover
@learntodiscover 2 жыл бұрын
Great video. Thanks!
@Builderdude35
@Builderdude35 2 жыл бұрын
You're very welcome! Did you learn something new today?
@sarp_ege_solen
@sarp_ege_solen Жыл бұрын
kyle, I have a question for you.Is this gyro sensor the same as the gyro sensor in rc drift cars? If not, how can I make it similar to the ones in the rc car?
@justadude7455
@justadude7455 2 жыл бұрын
Personally not a fan of the gyro sensor for making turns, but great video regardless. Thanks for the new content!
@Builderdude35
@Builderdude35 2 жыл бұрын
I consider myself in that camp as well, for me it's too unreliable. What do you prefer for making turns?
@Grzehu993
@Grzehu993 Жыл бұрын
Hey Is possible to make program on ev3 gyroboy (self balancing robot) with stering from app to control his movment to go where you want, when he is self balancing himself?
@PanLukasz
@PanLukasz 2 жыл бұрын
So young So smart THANKS!
@daviddezellturner
@daviddezellturner 2 жыл бұрын
thanks for saving me from such a *heinous* mistake
@Builderdude35
@Builderdude35 2 жыл бұрын
I figured I'd save you from doing something so despicable 😂
@lelouchjoestar7591
@lelouchjoestar7591 2 жыл бұрын
@@Builderdude35 dude where is the gyroscopic sensor located in a robot?
@davidwestmusic01
@davidwestmusic01 2 жыл бұрын
Real world practical experience: there is no motion on the "Earth".
@IllusionQuest16
@IllusionQuest16 2 жыл бұрын
2:16 - lol "unBASED"
@Builderdude35
@Builderdude35 2 жыл бұрын
In other words... Cringe
@IllusionQuest16
@IllusionQuest16 2 жыл бұрын
@@Builderdude35 Do you play the Double Bass
@techwith_tj
@techwith_tj 2 жыл бұрын
New Video(Premiere). I don't like Premiere I want you to go live. I like your vids Tanmay from India
@Builderdude35
@Builderdude35 2 жыл бұрын
Hi Tanmay, I have a live video in the plan sometime in the next few weeks. Keep your eyes peeled for that!
@techwith_tj
@techwith_tj 2 жыл бұрын
@@Builderdude35 omg This is the first time a big youtuber like you has replied to me
@nickvillareallycool5228
@nickvillareallycool5228 2 жыл бұрын
your intro is cringe af dude step away from the camera
@nickvillareallycool5228
@nickvillareallycool5228 2 жыл бұрын
like youre so offputting i literally cant watch the video just talk over images jesus
Proportional Line Follower for LEGO 51515 - Fast and Reliable
14:31
Builderdude35
Рет қаралды 46 М.
This Next Gen FLL Robot Will Change the Game Forever
14:02
Builderdude35
Рет қаралды 25 М.
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 46 МЛН
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 3,3 МЛН
"The LEGO Mindstorms EV3 Gyroboy: What It Does How Do You Fix It"
7:34
LEGORobotics Mr. Hino
Рет қаралды 15 М.
LEGO 51515 Motor Secrets - Accuracy, Speed, Torque, Form Factor
11:10
5 Reasons Why LEGO Spike Prime Will Take Over FLL
12:50
Builderdude35
Рет қаралды 28 М.
How to Defy Physics With LEGO 51515 - PID Self Balancing Robot
17:52
20 Mechanical Principles combined in a Useless Lego Machine
7:21
Brick Experiment Channel
Рет қаралды 42 МЛН
I Built a Working LEGO Hologram Table!!
11:50
Brick Science
Рет қаралды 762 М.
10 Best LEGO Mindstorms Sets of All Time
11:40
Unbrickme
Рет қаралды 37 М.
Robot Inventor, SPIKE Prime Gyro Turns - Precise 90 Degree Turns
8:15
Mr. Goddard's STEM Tutorials
Рет қаралды 6 М.
How to make a grab and lifting mechanism for your EV3 robot
10:26
Creatorboi94
Рет қаралды 84 М.
10 Reasons Why NXT is the Golden Age of LEGO Mindstorms
10:04
Unbrickme
Рет қаралды 34 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 6 МЛН
🔥Идеальный чехол для iPhone! 📱 #apple #iphone
0:36
Не шарю!
Рет қаралды 1,3 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3,4 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 6 МЛН