September 4, 2026

How to Wire a Potentiometer: Pinout, Diagrams, and PCB Examples

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.

Key Takeaways

Potentiometer Wiring Basics: Pinout and How It Works

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:

  1. Terminal A (fixed): one end of the resistive track, often labeled pin 1.
  2. Wiper (adjustable): the center terminal, often labeled pin 2, that taps the track at a variable position.
  3. Terminal B (fixed): the other end of the track, often labeled pin 3.

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:

  1. Set the meter to resistance mode and probe two outer pins. A steady reading that holds as the wiper turns confirms the two fixed terminals.
  2. Move one probe to the remaining pin and turn the wiper. A reading that sweeps from near zero to the track's full value identifies the wiper.
A three-terminal potentiometer has two fixed outer terminals connected by a resistive track, with a center wiper that taps a variable point along that track as the wiper turns.
A three-terminal potentiometer has two fixed outer terminals connected by a resistive track, with a center wiper that taps a variable point along that track as the wiper turns.

How to Wire a Potentiometer as a Voltage Divider

A voltage-divider configuration uses all three terminals to produce an adjustable output between two fixed voltages.

  1. Terminal A connects to the supply voltage (V+).
  2. Terminal B connects to ground.
  3. Wiper delivers the adjustable output, Vout. The output can connect to an analog input or set a comparator threshold.

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.

Wiring Terminal A to V+ and Terminal B to ground turns the wiper into an adjustable output, Vout, that sweeps between the two supply rails as the wiper rotates.
Wiring Terminal A to V+ and Terminal B to ground turns the wiper into an adjustable output, Vout, that sweeps between the two supply rails as the wiper rotates.

How to Wire a Potentiometer as a Variable Resistor

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.

  • Active terminals: the wiper and one outer terminal carry the current; resistance between them changes as the wiper turns.
  • Unused terminal: the remaining outer terminal carries no current and can be left disconnected.
  • Tying the unused terminal to the wiper: this connection reduces noise and adds a backup contact path if the wiper's connection to the track degrades over time.

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.

Linear vs. Logarithmic Taper

The taper of a potentiometer describes how resistance changes across wiper rotation.

  1. Linear taper: resistance changes proportionally with rotation. Suited to position sensing and general-purpose voltage dividers.
  2. Logarithmic (audio) taper: resistance changes along a curve matching human loudness perception. Suited to volume and gain controls.

Connecting a Potentiometer to Arduino

Wiring a potentiometer to an Arduino analog input follows the same connections as the voltage divider above:

  1. Terminal A connects to 5V (or 3.3V).
  2. Terminal B connects to GND.
  3. Wiper connects to an analog pin such as A0.

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.

Choosing and Adding a Potentiometer to a PCB

Moving from a breadboard diagram to a PCB design adds component selection and footprint verification.

Potentiometer Selection and PCB Design Factors

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.
Two potentiometer wiring modes: voltage divider (all three terminals used) vs. rheostat (wiper + one terminal, third left floating).
Two potentiometer wiring modes: voltage divider (all three terminals used) vs. rheostat (wiper + one terminal, third left floating).

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.

Common wiring and layout mistakes

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

Bringing Potentiometer Wiring Into a Full Design

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.

FAQs

Profile avatar of the blog author

Gabriel Hacohen

Gabriel Hacohen is an electrical engineer with deep expertise in analog circuitry, medical devices, high-performance computing, and semiconductors. He holds both Bachelor's and Master's degrees in Electrical Engineering and has written for companies including NVIDIA, Cadence, Synopsys, Netflix, and Autodesk.

Go 10x faster from idea to PCB
Work with Flux like an AI hardware engineer—handling complex tasks, learning your standards, explaining its decisions, and collaborating with you at every step.
Illustration of sub-layout. Several groups of parts and traces hover above a layout.
Design PCBs with AI
Introducing a new way to work: Give Flux a job and it plans, explains, and executes workflows inside a full browser-based eCAD you can edit anytime.
Screenshot of the Flux app showing a PCB in 3D mode with collaborative cursors, a comment thread pinned on the canvas, and live pricing and availability for a part on the board.
Design PCBs with AI
Introducing a new way to work: Give Flux a job and it plans, explains, and executes workflows inside a full browser-based eCAD you can edit anytime.
Screenshot of the Flux app showing a PCB in 3D mode with collaborative cursors, a comment thread pinned on the canvas, and live pricing and availability for a part on the board.
Design PCBs with AI
Introducing a new way to work: Give Flux a job and it plans, explains, and executes workflows inside a full browser-based eCAD you can edit anytime.
Screenshot of the Flux app showing a PCB in 3D mode with collaborative cursors, a comment thread pinned on the canvas, and live pricing and availability for a part on the board.

Related Content

555 Timer Guide: Pinout, Operating Modes, and Circuit Examples

555 Timer Guide: Pinout, Operating Modes, and Circuit Examples

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.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
Capacitor Symbols Explained: Types, Polarity, and Schematic Use

Capacitor Symbols Explained: Types, Polarity, and Schematic Use

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.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
Designing Custom PCB Outlines: Fixing DXF and SVG Import Failures

Designing Custom PCB Outlines: Fixing DXF and SVG Import Failures

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.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
Inverting Op-Amp Circuits: Formula, Gain, and Design Examples

Inverting Op-Amp Circuits: Formula, Gain, and Design Examples

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.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
Troubleshooting JLCPCB Gerber Upload and CAM Tool Compatibility Errors

Troubleshooting JLCPCB Gerber Upload and CAM Tool Compatibility Errors

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.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
PCB Enclosure Design: How to Design an Enclosure

PCB Enclosure Design: How to Design an Enclosure

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.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
Electronic Component Sourcing: Lead Times & Component Lifecycles

Electronic Component Sourcing: Lead Times & Component Lifecycles

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

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|August 28, 2026
Design for Manufacturing: How to Move from Prototype to Production

Design for Manufacturing: How to Move from Prototype to Production

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

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|August 26, 2026