September 4, 2026
How to Wire a Potentiometer: Pinout, Diagrams, and PCB Examples
A potentiometer is a three-terminal variable resistor that adjusts voltage or resistance as a wiper turns. Correct potentiometer wiring depends on which of the three terminals get used, whether the goal is a voltage divider, a two-terminal variable resistor, or a microcontroller input.
This guide covers pin identification, wiring diagrams for both configurations, an Arduino connection example, and how those choices carry through to schematic and PCB footprint selection.
A potentiometer contains a fixed resistive track and a movable contact called the wiper. The track spans the two outer terminals, and its total resistance stays fixed no matter where the wiper sits. The wiper taps the track at a variable point, so resistance between the wiper and either outer terminal changes as the wiper turns.
Most through-hole and panel-mount parts are three-pin potentiometers. 3-pin potentiometer wiring starts with identifying which terminal is which:
Pin numbering is not standardized across manufacturers; some datasheets place the wiper on pin 1 or pin 3 instead of pin 2. Confirm terminal order against the specific datasheet before wiring or laying out a footprint.
Identifying terminals with a multimeter:

A voltage-divider configuration uses all three terminals to produce an adjustable output between two fixed voltages.
Vout follows the standard voltage-divider relationship:
Turning the wiper toward Terminal A raises Vout toward V+; turning it toward Terminal B lowers Vout toward ground.
Swapping Terminal A and Terminal B reverses the adjustment direction without changing anything else in the circuit, a common fix when output voltage increases opposite to what a panel label or firmware expects.
A typical potentiometer voltage divider sets a comparator's threshold or trims a reference feeding an analog-to-digital converter. Because the wiper usually feeds a high-impedance input into the comparator, loading error stays small.

A potentiometer also works as a two-terminal variable resistor, or rheostat, using only the wiper and one fixed terminal. Among the common types of variable resistors, potentiometers are especially useful when manual adjustment is required.
Rheostat wiring suits low-current adjustment applications such as calibration trims, bias adjustment, and simple current-limiting controls.
Notably, running current through only part of the track concentrates heating in a smaller resistive area than a full divider does, so check the datasheet's power rating before relying on rheostat wiring beyond a low-current trim.
The taper of a potentiometer describes how resistance changes across wiper rotation.
Wiring a potentiometer to an Arduino analog input follows the same connections as the voltage divider above:
The analog-to-digital converter (ADC) reads the wiper voltage and returns a value from 0 to 1023 on a 10-bit Arduino board. The ADC value tracks wiper position from one end of travel to the other.
int potPin = A0;
int reading = analogRead(potPin);
int scaled = map(reading, 0, 1023, 0, 255);
The Arduino map function converts the 0-1023 range to any scale a project needs, such as 0-255 for PWM brightness. Reversing the direction in software works like swapping the outer terminals in hardware: pass the map function's output range in reverse order, or swap Terminal A and Terminal B on the board.
Moving from a breadboard diagram to a PCB design adds component selection and footprint verification.
| Factor | What to Check |
|---|---|
| Resistance value | Match the divider or rheostat calculation, commonly 1 kΩ to 100 kΩ for general use. |
| Taper | Linear for sensing and general trims; logarithmic for audio controls. |
| Power rating | Confirm the track dissipates the expected current, especially in rheostat mode. |
| Tolerance | Matters more for a voltage reference than for a volume or brightness trim. |
| Wiper style | Round, D-wiper, or slotted, matched to the knob or actuator. |
| Mounting style | PCB-mounted parts solder to the board; panel-mounted parts wire through an enclosure. |
| Mechanical orientation | Rotation direction and travel angle should match the panel layout. |

A schematic symbol for a potentiometer is generic: three terminals and a wiper arrow, without committing to a package or pin arrangement. The manufacturer part and its footprint are where the physical pin order gets fixed, but the physical pin order does not always match the symbol's numbering in schematic diagrams. Confirm the footprint's pad numbering against the part's physical terminal arrangement before finalizing layout.
| Mistake | Cause | Fix |
|---|---|---|
| Reversed adjustment | Outer terminals wired opposite the schematic's intent | Swap the outer terminals or mirror the footprint |
| Floating wiper | Wiper pin left unconnected in rheostat mode | Tie the wiper to the terminal carrying current |
| Incorrect footprint mapping | Footprint's pad order does not match the datasheet | Verify pad numbering before sending files to fab |
| Exceeding power rating | Track current exceeds the rated wattage | Recalculate dissipation and select a higher-rated part |
Getting potentiometer wiring right on a breadboard is only the first step. Carrying that same terminal mapping into a schematic and a footprint without errors takes verification from symbol to pad. Flux keeps schematic symbols, footprints, and shared component libraries connected, so a mislabeled wiper terminal gets flagged during DFM review instead of after a board comes back from fab.
Designers can also simulate circuits with AI before committing a voltage-divider or rheostat design to layout, or design circuits with natural language to rough out a potentiometer-based reference circuit in minutes. To wire, verify, and lay out a potentiometer circuit from first symbol to finished board, start a schematic in Flux.

A complete 555 timer guide covering pinout, internal operation, monostable and astable modes, timing calculations, and practical circuit examples. It also explains component selection and PCB layout tips for reliable designs.

A visual guide to capacitor schematic symbols, polarity markings, and specialized capacitor types. It explains how to choose the correct symbol and footprint to prevent assembly and design errors.

A troubleshooting guide for DXF and SVG board-outline import failures, including open paths, unit mismatches, unsupported curves, and layer mapping issues. It shows how to clean CAD-to-EDA handoffs before PCB fabrication.

A practical guide to inverting op-amp circuits, covering how negative feedback creates inversion, how to calculate gain with Rin and Rf, and how real-world limits affect design. It also explains component selection and PCB layout practices for reliable amplifier performance.

A troubleshooting guide for common JLCPCB Gerber upload errors, including unreadable files, missing board outlines, drill-file issues, and Gerber X2 compatibility problems. It explains how to export and verify clean Gerbers before ordering.

A practical guide to designing PCB enclosures around board geometry, clearances, mounting, assembly, and 3D-printed prototyping. It also explains how Flux can generate prototype enclosures directly from a PCB project.

Strategies for sourcing electronic components, managing BOMs, navigating lead times, and planning for component lifecycles to build a resilient hardware supply chain.

A practical guide to Design for Manufacturing (DFM) that helps hardware teams transition from validated prototypes to scalable, production-ready products.