0% found this document useful (0 votes)
14 views7 pages

GYRO SENSO English

The document discusses using a gyro sensor to help a robot turn more precisely to exact angles. It provides instructions to build a robot and program it using the gyro sensor to complete point turns of various angles. The gyro sensor allows the robot's rotations to be less influenced by factors like surface friction or motor slack. The document then has the user modify the program to turn the robot through different angles and explore using loops to drive the robot in a square pattern.

Uploaded by

arsanymagdy904
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views7 pages

GYRO SENSO English

The document discusses using a gyro sensor to help a robot turn more precisely to exact angles. It provides instructions to build a robot and program it using the gyro sensor to complete point turns of various angles. The gyro sensor allows the robot's rotations to be less influenced by factors like surface friction or motor slack. The document then has the user modify the program to turn the robot through different angles and explore using loops to drive the robot in a square pattern.

Uploaded by

arsanymagdy904
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

GYRO SENSOR

(5 minutes)

Rotating using a wheel is not very precise. If you try to turn your robot in the
dust or on a slippery surface, it may not reach the right angle. What the Gyro
Sensor does is to help you make much more precise movements.

Your mission is to program your robot to complete a point turn to an exact


angle by using the Gyro Sensor.

Construct
(20 minutes)

Build Your Robot


Click the links below to open the building instructions, then build the model
and return to this project to continue. Skip this step if the model is already
built.

IMPORTANT:
Keep the Gyro Sensor and EV3 Brick steady when connecting the cable and
during start-up of the EV3 Brick.

Create your Program


Re-create the program shown and then download it to your robot.

Program Summary
Start
Move Tank - Power B[10], Power C[-10]
Wait - Gyro Sensor - Compare Angle - Type[3] (Greater Than or Equal),
Degrees [90]
Move Tank – Off
Troubleshooting
The angle needs adjustment – typically the value needs to be lower than 90
degrees.

Theory
When using the Gyro Sensor, the value of rotation written in the sensor block
corresponds to the rotation of the driving base. The precision of the sensor is
+/- 3 degrees.
The motor slack and the delay caused by stopping the rotational momentum
can also affect the precision.
The power of the battery, the size of the wheels, the friction of the robot on
the surface, the distance between the two wheels are no longer factors that
can influence the precision of the rotation of the robot.

Contemplate
(20 Minutes)

Run your program and observe.


Place your robot on starting position 2 of mat 2 and run your program.

Document Your Finding


• Describe here what each of your programming blocks did:
My robot point turned until the Gyro Sensor read the value 90 degrees and
stopped.
• Estimate the rotation angle of your robot:
My robot turned approximately 90 degrees.
• Explain the difference between the rotation of your robot with and without
the Gyro Sensor:
The rotation controlled by the Gyro Sensor is linked to fewer factors of
uncertainty on your robot.

Contemplate and Modify


Rebuild your program to make your robot do the following point turns:
1. Clockwise for 45 degrees
2. Clockwise for 180 degrees
3. Clockwise for 360 degrees followed by a counterclockwise point turn for
360 degrees

How much did your robot rotate, compared to what the program told
it to do?
It rotated typically further due to the rotational momentum.

Task
Turn your robot clockwise for 45 degrees.

Solution - Program Summary


Move Tank - Power B[10], Power C[-10]
Wait - Gyro Sensor - Compare Angle - Type[3] (Greater Than or Equal),
Degrees [45]
Move Tank – Off
Troubleshooting
The angle needs adjustment – typically the value needs to be lower than 45
degrees.

Task
Turn your robot clockwise for 180 degrees.
Solution - Program Summary
Move Tank - Power B[10], Power C[-10]
Wait - Gyro Sensor - Compare Angle - Type[3] (Greater Than or Equal),
Degrees [180]
Move Tank – Off
Troubleshooting
The angle needs adjustment – typically the value needs to be lower than 180
degrees.

Task
Turn your robot clockwise for 360 degrees, followed by a counterclockwise
point turn for 360 degrees.

Solution- Program Summary


Start
Move Tank - Power B[10], Power C[-10]
Wait - Gyro Sensor - Compare Angle - Type[3] (Greater Than or Equal),
Degrees [360]
Move Tank – Off
Wait - Seconds[2]
Move Tank - Power B[10], Power C[-10]
Wait - Gyro Sensor - Compare Angle - Type[5] (Less Than or Equal to),
Degrees [0]
Move Tank – Off

Continue
(15 Minutes)

Continue to explore
Create a new program using a Loop to make your robot drive in a square.
When you are ready, test your program on starting position 4 on learning
mat 1.

Solution - Program Summary


Loop - Count[4]
Move Steering - Degrees[682], Power[30]
Wait - Time[1s]
Move Tank - On, Power B[10], Power C[-10]
Wait - Gyro Sensor - Change Angle - Direction[0] (Increase), Degrees [85]
Move Tank – Off
Wait - Time[1s]

Troubleshooting
The angle needs adjustment – typically the value needs to be lower than 90
degrees.

Explain here what a Loop can be used for:


I can use the Loop structure to repeat actions.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy