Potentiometer#

Introduction#

The Potentiometer is an analog sensor that measures the angular position of a rotating shaft. It outputs a voltage proportional to its position.

Depending on the Potentiometer version, the amount of rotation it can detect varies:

  • Potentiometer – Up to 250 degrees

  • Potentiometer V2 – 330 degrees (Continuous)

The VEX Potentiometer V1.

The VEX Potentiometer V2.

Potentiometer

Potentiometer V2

Below is a list of available blocks:

  • Potentiometer angle – Reports the angular position of the Potentiometer in degrees or as a percent.

Potentiometer angle#

The Potentiometer angle reporter block reports the angular position of the Potentiometer.

  ([PotentiometerA v] angle in [% v])

Parameter

Description

device

Which Potentiometer to use, configured in the Devices window.

units

The unit of measurement: % reports the position as a percentage of full rotation (0 to 100%). degrees reports the current rotation angle in degrees (0 to 250 or 330).