Circuit Bytes · Episode 77 · Electronics · Components
"Potentiometers: the volume knob"
A potentiometer is a resistor you adjust by turning. A curved resistive strip sits between two end pins, with a fixed resistance end to end, and the middle pin connects to a wiper that slides along the strip. Turning it shifts resistance from one side of the wiper to the other, and with a battery across the ends the wiper gives any voltage from zero up to the battery's.
What's inside the knob
Many knobs, on radios, guitar amps, lamps and project boards, are potentiometers. Under the knob is a small round part with three pins.
Inside is a curved resistive track, often made of carbon, cermet or conductive plastic. It runs in a horseshoe shape between the two end pins. Measured from one end pin to the other, the resistance is fixed: that number is the pot's rating, such as 10 kΩ. Turning the knob doesn't change it.
The wiper
The middle pin connects to the wiper, a small metal contact that presses on the track and slides along it as you turn the shaft.
The wiper splits the track into two parts: one from the first end pin to the wiper, and one from the wiper to the other end pin. Turn the knob, and one part gets shorter (less resistance) while the other gets longer (more resistance). The two parts always add up to the total. On a 10 kΩ pot, for example, if one side reads 2 kΩ, the other side reads 8 kΩ.
A voltage you can dial
Put a battery across the two end pins and the pot becomes a voltage divider (episode 15). The wiper "picks off" part of the battery's voltage: turned all the way one way it gives 0 V, all the way the other way it gives the full battery voltage, and anywhere in between gives a voltage in between.
That voltage is useful:
- A microcontroller reads it with its analog input (an analog-to-digital converter) and turns it into a number, so the chip knows where the knob is. The Arduino "Analog Read Serial" example does exactly this.
- In audio gear, the pot sets how loud the sound is. (The video simplifies this: in many amplifiers the pot adjusts the sound signal itself rather than sending a separate control voltage.)
Try it yourself
With a multimeter on its resistance setting, measure a spare potentiometer between its two end pins: the reading stays the same however you turn it. Now measure from the middle pin to one end pin and turn the knob slowly: watch the reading climb from near 0 Ω up to the full rating, and then measure the other side to see that the two readings add up to the total. If you have a microcontroller board, try the Arduino "Analog Read Serial" example on 5 V or 3.3 V and watch the number follow the knob.
Good to know
- A potentiometer is a three-terminal variable resistor: a resistive track between two end terminals, and a wiper on the third terminal that slides along the track (SparkFun; DigiKey).
- The resistance between the two ends is fixed (the pot's rating); the resistances from the wiper to each end add up to that total.
- Wired with its ends across a supply, the pot is a voltage divider, and the wiper gives any voltage from 0 V to the supply (SparkFun, "Voltage Dividers"). Wired with only one end and the wiper, it works as a simple variable resistor (a rheostat).
- Resistance changes evenly with rotation only on a linear-taper pot (often marked "B"). Many audio volume knobs use a logarithmic (audio) taper, so loudness sounds even to the ear, and many modern volume controls are digital encoders, not pots.
- Real pots also have a small resistance at each end of the track and a tolerance of about ±10 to 20 percent.
- A microcontroller reads the wiper voltage with its analog-to-digital converter (Arduino, "Analog Read Serial").
- Battery voltages only.
Answer to the comment question
A 10-kilohm potentiometer is turned exactly halfway. How many kilohms are between the wiper and one end? 5 kilohms. On a linear pot, halfway puts the wiper in the middle of the track, so each side has half of the 10 kΩ total: 10 ÷ 2 = 5 kΩ (and the other side has the other 5 kΩ).
Test your knowledge
Quick quiz: "Potentiometers: the volume knob"
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- SparkFun, "Rotary Switch Potentiometer Hookup Guide," Background and Theory: how a potentiometer's track and wiper work, and what taper means
- DigiKey, "The Complete Guide to Potentiometers": the three terminals, the resistive track and the wiper
- SparkFun, "Voltage Dividers": a potentiometer used as an adjustable voltage divider
- Arduino Documentation, "Analog Read Serial": reading a potentiometer's voltage with a microcontroller
Video transcript
How does a volume knob turn the sound up smoothly?
Many knobs are potentiometers: resistors you can adjust by turning.
Inside is a curved resistive strip with a pin at each end. End to end, its resistance is fixed.
The middle pin connects to a wiper, a metal contact that slides along the strip.
Turn it, and one side's resistance drops while the other side's grows.
Put a battery across the end pins, and the wiper picks off any voltage from zero up to the battery's.
That voltage can tell an amplifier how loud to play, or tell a chip where the knob is.
A ten-kilohm potentiometer is turned exactly halfway. How many kilohms are between the wiper and one end? Comment your answer below!
That's your byte.
More from Circuit Bytes
- EP73c"Three-way switches"
- EP74c"Surge protectors"
- EP75c"USB power: why one cable charges everything"
- EP76c"Debouncing a button"