The Gyro sensor can be positioned horizontally, vertically or at a random angle. Have you ever wonder what does the gyro detect when it is positioned vertically. This is the subject of this video tutorial for the LEGO Mindstorms EV3 Gyro Sensor.
- #157
- 01 Jan 2017
- 4:08
Previous video tutorials:
English
Previously we did a program that turns the robot to 90 degrees and then returns back the robot. Now an interesting question here is what will happen if we remove the sensor from here and place the sensor like this. It's not horizontal, but vertical. Would the program work, what would be the value returned from the gyro sensor? Let's check out the program.
Same program as before only this time the sensor is positioned vertically. I'll run the program.
The robot does not stop, I'll stop the program and we see that there is a completely different value returned from the sensor. It returns 19 degrees. Although the whole motor is turning the gyro sensor detects that it's turning on 19 degrees. Why does this happen with the sensor? Let's run the program again.
The motor turns, make a few rotations but the sensor is detecting an angle that's increasing very slowly.
This time only to 40 degrees angle. Let's see the construction. What actually happens here is that when the sensor detects an angle of turning in a plane. There's quite some mathematics here in the sensor going on. Without entering into much detail. When we have the sensor perfectly aligned horizontally and we turn it, it will give us the degree of turning. But if we have the sensor perfectly vertically, like this and we just turn the sensor there's is no turning in the direction of the sensor. So we are turning vertically, but we are not turning in this direction and that's why we are returning 0. We have no turning and that's very tricky with this sensor. When you want to work with this sensor you must have 2 conditions. First, you must either place this sensor perfectly horizontally or perfectly vertically. In our case you see that while we are turning the robot, the sensor returns some values of 14, 40, so it's a slightly increasing value. That's because our whole construction is not perfectly horizontal and the sensor is not perfectly vertical. We must lift the construction like this for about a millimeter or something so that we have the sensor perfectly vertical and if you have it that way it won't detect any turning in the direction the sensor detects turning. So it detects turning in this plane not in this one. That's very tricky for the sensor. Have this in mind when you are using you sensor on you robots. If you want to have some precise turning with the gyro sensor.
Курсове и занятия включващи този Урок
Този Урок е използван в следните курсове и занятия.
Moving Straight with LEGO Mindstorms EV3 robots
One of the most controversial topics when it comes to LEGO Mindstorms robots is how to make them move in a straight line. This is a problem that has caused a lot of confusion among teachers, parents, rookie teams and students. The robot makes about 2-3 centimetres error for every meter, which is about an inch for every 3-4 feets. In this course, I would like to discuss the different ways in which you can improve the behaviour of the robot and how you could make it move in a straight line with the help of the LEGO Mindstorms EV3 Gyro Sensor.
- 24
- 102:09
- 3
Gyro Sensor Introduction
The Gyro sensor in LEGO Mindstorms EV3 sets is new for the sets and we answer basic questions about its usage. The sensor detect when the whole constructions turns at a particular angle, but there are a number of gotchas in using it.
- 5
- 0
- 3
- 3d_rotation 0
EV3 Basic Course. Introduction to robot programming, construction and sensor use
This course is designed for students, mentors and teachers that are completely new to LEGO Mindstorms EV3 robots and would like to start using them to learn, in classes or at competitions. It is quite different from previously built resources at FLLCasts because it makes no assumption on any previous knowledge and tries to introduce everything step-by-step.
- 38
- 193:26
- 30
Gyro Sensor
The Gyro sensor in LEGO Mindstorms EV3 sets is new for the sets and we answer basic questions about its usage. The sensor detect when the whole constructions turns at a particular angle, but there are a number of gotchas in using it.
- 5
- 0
- 3
- 3d_rotation 0
Instructors Remote Training
If you are working with students and you want to introduce Robotics to your class or you want to mentor a FLL team, but you are insecure about your technical knowledge in the Robotics field, then this is the right place for you. Having in mind teachers' busy schedule, we have design two different schedules and added an option to design one just for you. FLLCasts's Mindstorms EV3 Robotics Online Training is the perfect match for any teacher.
After the completion of each task the participant has to upload his solution for verification.
- 136
- 280:11
- 156
Gyro Sensor
The Gyro sensor in LEGO Mindstorms EV3 sets is new for the sets and we answer basic questions about its usage. The sensor detect when the whole constructions turns at a particular angle, but there are a number of gotchas in using it.
- 4
- 0
- 4
- 3d_rotation 0
Instructors Remote Training
If you are working with students and you want to introduce Robotics to your class or you want to mentor a FLL team, but you are insecure about your technical knowledge in the Robotics field, then this is the right place for you. Having in mind teachers' busy schedule, we have design two different schedules and added an option to design one just for you. FLLCasts's Mindstorms EV3 Robotics Online Training is the perfect match for any teacher.
After the completion of each task the participant has to upload his solution for verification.
- 136
- 280:11
- 156
Gyro Sensor Theory
The Gyro sensor in LEGO Mindstorms EV3 sets is new for the sets and we answer basic questions about its usage. The sensor detect when the whole constructions turns at a particular angle, but there are a number of gotchas in using it.
- 4
- 0
- 0
- 3d_rotation 0