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 V5 Potentiometer V1.

The VEX V5 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 block returns the angular position of the Potentiometer.

([PotentiometerA v] ángulos en [% v])

Parameter

Description

Which

units

The unit of measurement:

  • % – The position as a percentage of full rotation (0 to 100%)
  • degrees – The current rotation angle (0 to 250 or 330)