# Potentiometer

The REV Potentiometer ([REV-31-1155](https://www.revrobotics.com/rev-31-1155/)) converts the angular position of a shaft into an analog voltage signal. A potentiometer acts as an adjustable resistor, fluctuating resistance as the shaft is turned. As the wiper (the knob) moves up and down along the coils of the resistor and the resistance and voltage output change proportionally at each new position.‌&#x20;

<figure><img src="https://1166281274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-ME3KPEhFI6-MDoP9nZD%2Fuploads%2FWwNpHz2DCRpplIg4B6D7%2FPotentiometer-Overview.png?alt=media&#x26;token=4842f4f8-ec4a-4ced-b8a6-d5426c8cb5f7" alt=""><figcaption></figcaption></figure>

The Potentiometer has a 270° limit to rotation. The sensor detects how much rotational motion has occurred in a mechanism. A specific limit is set in code to ensure rotation stops at a certain point. This is helpful when building simple arm joints because if properly applied it can prevent a mechanism from damaging itself or other parts of the robot.

{% hint style="warning" %}
It is important to install the Potentiometer so that it will not be forced beyond its 270° range of motion.
{% endhint %}

### Kit Contents

|                                  Part Number                                 | Description                      | Qty |
| :--------------------------------------------------------------------------: | -------------------------------- | :-: |
|            [REV-31-1155](https://www.revrobotics.com/rev-31-1155/)           | 2m Distance Sensor               |  1  |
| [REV-31-1407](https://www.revrobotics.com/jst-ph-4-pin-sensor-cable-4-pack/) | JST PH 4-pin Sensor Cable - 30cm |  1  |


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.revrobotics.com/rev-crossover-products/sensors/potentiometer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
