> For the complete documentation index, see [llms.txt](https://wiki.purduesigbots.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.purduesigbots.com/vex-electronics/vex-sensors/3-pin-adi-sensors/gyroscope.md).

# Gyroscope

The VEX Yaw Rate Gyroscope returns the rate of rotation around the vertical axis.

{% hint style="warning" %}
The Gyroscope is no longer sold on the VEX storefront. Check out the [V5 Inertial Sensor (IMU)](/vex-electronics/vex-sensors/smart-port-sensors/imu.md) for the most up to date sensor carried by VEX.
{% endhint %}

![](https://phabricator.purduesigbots.com/file/data/p7jm7bskc4bq23bdhvxn/PHID-FILE-w3fvfl5l6ijotesvazfz/vex_gyro.jpg)

The **VEX Yaw Rate Gyroscope**, or simply the **VEX Gyro**, is an analog gyroscope which returns a voltage between 0 and +5 V approximately proportional to the **rate** of rotation around the vertical axis through the sensor. The sensor can detect a rotation of up to +/- 1000 degrees per second. While the Yaw Rate Gyroscope is acceptable for coarse positioning, use of a digital gyroscope may lead to more precise readings. When powered, the Yaw Rate Gyroscope becomes illuminated by a bright green light, which can be seen next to the "PWR" marking.

In [VEXCode](/software/vex-programming-software/vex-coding-studio-vcs.md), the Yaw Rate Gyroscope returns the angle of rotation in degrees. However, in [PROS](/software/vex-programming-software/pros.md), the Yaw Rate Gyroscope returns the angle of rotation in decidegrees (tenths of a degree). This means that rather than receiving a reading of 360 degrees, it will return 3600 decidegrees instead. Additionally, the sensor measures heading from -3600 decidegrees to 3600 decidegrees. This differs from how the [V5 Inertial Sensor](/vex-electronics/vex-sensors/smart-port-sensors/imu.md) works when measuring heading, since it only has a range from 0 degrees to 360 degrees.

The VEX Yaw Rate Gyroscope is highly vulnerable to [Line Noise](/electronics/general/line-noise.md) and should be shielded or placed far from [motors](/vex-electronics/vex-electronics/motors.md). All gyroscopes must be placed at the robot's center of rotation for optimal results. Dynamic calibration is therefore a must before each run.

## Teams Contributed to this Article:

* [BLRS](https://purduesigbots.com/) (Purdue SIGBots)
* [904U](https://www.youtube.com/channel/UCKvtsL9hJ_x7bqrpl3nJ3Gg/) (B.E.S.T.I.E. Robotics)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.purduesigbots.com/vex-electronics/vex-sensors/3-pin-adi-sensors/gyroscope.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
