Component guide · Beginner · 3 min read
Potentiometers and Trimmers
Types, Wiring and Reading Them
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
A potentiometer is a three-terminal variable resistor: the outer pins connect across the full resistance and the middle pin (wiper) taps a point you set with the knob. Wire the outer pins to supply and ground and read the wiper with an analog pin to get a 0 to 100% control. 10 kΩ linear is the standard choice for microcontroller inputs; use a logarithmic (audio) taper for volume.
Key specs at a glance
- Common values
- 1 kΩ, 5 kΩ, 10 kΩ, 50 kΩ, 100 kΩ
- Taper
- B = linear, A = logarithmic (audio)
- Rotation
- About 270° for rotary pots; 25 turns for 3296 trimmers
- Power
- Panel pots about 0.1 to 0.25 W; do not use as a motor speed control
- Pins
- 1 and 3: track ends; 2: wiper
- Module versions
- Slide and rotary pots on breakout boards with VCC, GND, OUT
Types of potentiometer
| Type | Looks like | Use |
|---|---|---|
| Rotary panel pot (16 mm) | Shaft with knob | Volume, brightness, user settings |
| Slide pot | Linear slider | Mixers, faders, position input |
| Trimmer (single-turn) | Small flat pot with a screw slot | Set-and-forget adjustments on a PCB |
| Multi-turn trimmer (3296, 3386) | Blue cube with a brass screw | Precise set points, e.g. on buck converters |
| Rotary encoder | Knob that turns forever | Menus and digital control (not a pot, see the encoder guide) |
| Digital potentiometer (X9C103, MCP4131) | IC | Software-controlled resistance |
- Rotary panel pot (16 mm)
- Looks like:
- Shaft with knob
- Use:
- Volume, brightness, user settings
- Slide pot
- Looks like:
- Linear slider
- Use:
- Mixers, faders, position input
- Trimmer (single-turn)
- Looks like:
- Small flat pot with a screw slot
- Use:
- Set-and-forget adjustments on a PCB
- Multi-turn trimmer (3296, 3386)
- Looks like:
- Blue cube with a brass screw
- Use:
- Precise set points, e.g. on buck converters
- Rotary encoder
- Looks like:
- Knob that turns forever
- Use:
- Menus and digital control (not a pot, see the encoder guide)
- Digital potentiometer (X9C103, MCP4131)
- Looks like:
- IC
- Use:
- Software-controlled resistance
Wiring: voltage divider vs variable resistor (rheostat)
pin 1 to GND, pin 3 to VCC (5 V on an Uno, 3.3 V on ESP32/Pico), pin 2 (wiper) to an analog pin. Turning the knob sweeps the pin from 0 V to VCC.
use the wiper and one end only. Link the unused end to the wiper so the circuit still works if the wiper lifts. Use this for setting LED brightness through a transistor, timing in a 555 circuit or LCD contrast.
Never put a pot directly in series with a motor or lamp: the thin track cannot carry the current and will burn.
Read a potentiometer with Arduino or ESP32
const int POT = A0; // ESP32: GPIO 34, pot powered from 3.3 V
const int LED = 9;
void setup() { pinMode(LED, OUTPUT); Serial.begin(9600); }
void loop() {
int raw = analogRead(POT); // 0 to 1023 (Uno), 0 to 4095 (ESP32)
int level = map(raw, 0, 1023, 0, 255); // use 4095 on ESP32
analogWrite(LED, level);
Serial.println(raw);
delay(50);
}Linear vs logarithmic taper
A linear (B) pot changes resistance evenly with rotation: halfway is half the value. A logarithmic (A) pot changes slowly at first and quickly at the end, matching how we hear loudness, so it is used for volume controls. For sensors and microcontroller inputs, always choose linear. The letter is printed on the body: B10K is 10 kΩ linear, A10K is logarithmic.
Choosing the value
For a microcontroller analog input, 10 kΩ is ideal: low enough to give a stable reading, high enough to waste almost nothing (0.5 mA at 5 V). The Arduino ADC prefers a source under 10 kΩ. For a 555 timer or RC circuit, pick the value from the timing formula. For LCD contrast, 10 kΩ. For audio volume, 10 kΩ to 50 kΩ log.
Using multi-turn trimmers
The 3296 trimmer needs about 25 turns end to end and clicks faintly at the limits, so it will not break if you keep turning. On buck converters, charger boards and sensor modules it sets the output voltage or threshold: adjust slowly while watching a multimeter.
Try it: Voltage divider calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Wiring the wiper to VCC and the ends to the pin, so the reading barely changes.
- Using a logarithmic pot for a sensor input and getting a bunched-up range.
- Running motor or lamp current through a pot.
- Powering the pot from 5 V on a 3.3 V board.
- Reading a jittery value with long wires; add a 100 nF capacitor from the wiper to ground.
Frequently asked questions
How do I wire a potentiometer to an Arduino?
Outer pins to 5V and GND, middle pin to an analog input such as A0. analogRead() then returns 0 to 1023 as you turn the knob.
What is the difference between a potentiometer and a rheostat?
A rheostat uses two terminals as a variable resistor; a potentiometer uses all three as a voltage divider. The same part can do either, depending on how you wire it.
What does B10K mean on a potentiometer?
B means linear taper and 10K means 10 kΩ total resistance. A10K would be a 10 kΩ logarithmic (audio) pot.
Can I control a motor's speed with a potentiometer?
Not directly; the pot cannot carry the current. Read the pot with a microcontroller and drive the motor with PWM through a driver, or use a PWM speed controller module that includes a pot.
Why does my potentiometer reading jump around?
Noise on long wires or a worn track. Add a small capacitor at the wiper, average several readings, and replace pots that crackle.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 28 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
- Bourns 3296 trimmer datasheet
- Alpha 16 mm rotary potentiometer datasheet
- Arduino analogRead() reference
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




