Skip to Content
Circuitera

Rotary potentiometer

Identify the wiper and end terminals of a rotary potentiometer and wire a voltage divider to an Arduino analog input.

Rotary potentiometer photograph
Rotary Potentiometer.jpg by User:Zephyris · CC BY-SA 3.0. Resized and encoded as WebP without cropping.

How it works

A movable wiper taps a resistive track between two fixed end terminals. Applying a voltage across the ends produces an adjustable fraction of that voltage at the wiper.

Source: Arduino

Typical wiring

For Arduino’s Analog Read Serial example, connect the ends to the board supply and ground and the wiper to A0. Swapping the two end connections reverses the direction of increase. Check an unmarked part with a multimeter instead of assuming the physical middle pin is always the wiper.

Source: Arduino

Choosing a taper

The ADC reports voltage at the wiper. A linear taper is useful for position controls, while a non-linear taper changes how quickly voltage moves with rotation. The apparent reading also depends on loading, so keep the ADC/input impedance in mind.

Source: Arduino

Specifications

ParameterValue or conditionSource
TerminalsTwo fixed ends and one wiperArduino
Example resistance10 kΩ in Arduino’s reference circuitArduino

Compatibility and practice

Works with 3.3 V or 5 V ADC inputs when the divider is powered from the corresponding safe ADC range.

Sources and datasheets