Potentiometers, Trimpots
10k potentiometer — a variable resistor with a rotating shaft, 0–10 kΩ. The first analog-input lesson on Arduino, volume and brightness control, manual servo control and menu selection.
Potentiometers, Trimpots — buying guide
A potentiometer is a variable resistor with a rotating knob: as you turn the shaft, the output voltage changes. The Potentiometers, Trimpots category is used to set values manually in your code and to tune the circuit.
What to look for
- Pins: A 10 kΩ potentiometer has three pins. The outer pins go to power and GND, the middle pin goes to the board’s analog input.
- Reading value: On Arduino UNO, the analog input converts the 0–5 V range to a number from 0 to 1023.
- 3.3 V boards: On boards like the ESP32, connect the outer pin to 3.3 V, not 5 V, otherwise the input voltage limit is exceeded.
- Load: A potentiometer is for signal levels. You cannot directly change a motor’s speed with it; instead, read its value and feed PWM to a motor driver.
Typical projects
- Changing LED brightness by turning the knob.
- Manually controlling a servo motor angle.
- Setting menu selections or threshold values on a display.
Related categories
What is the difference between a potentiometer and a rotary encoder?
A potentiometer outputs a voltage based on position and has a limited rotation angle. A rotary encoder, on the other hand, can spin indefinitely and reports movement as pulses.
What if the value is jittery?
Small variations in analog readings are normal. Take the average of several readings and keep the wires short.

