Potentiometers

A potentiometer is a three-terminal variable resistor with a sliding or rotating contact (wiper) that forms an adjustable voltage divider.

Sensors6 blocksMicroPythonC++
Potentiometer

At a glance

Pins and properties exactly as the circuit editor and simulator define this part. The text below explains how to use them.

Pinout

Pinout of the Potentiometer, drawn as in the circuit editor. Select a label to see that pin in the table below.

Pins

Pins of this part
PinLabelType
AASignal in
WWAnalog out
BBSignal in

Properties

What you can change in the Property Inspector.

Properties of this part
PropertyRange or choicesDefault
Resistance100 to 1000000 Ω10000 Ω
Position0 to 1023512

A potentiometer is a three-terminal variable resistor with a sliding or rotating contact (wiper) that forms an adjustable voltage divider. In Open Maker Studio, potentiometers are widely used as human-machine interface (HMI) controls to adjust volumes, motor speeds, thresholds, and menu navigation.


1. Schematic Symbol

Standard IEC-style schematic symbol for a 3-terminal potentiometer — a fixed resistive track (A–B) with a wiper arrow tapping the middle, matching the component's real pin ids (A / W / B):

A B W

2. Pin Configuration & Wiring

A standard potentiometer features three terminal contacts:

  • Pin 1 (Terminal A): Connected to the positive reference voltage rail (e.g. 5.0V on Arduino Uno, or 3.3V on ESP32/Pico).
  • Pin 2 (Wiper / Output): The middle terminal connected to the sliding internal contact. This pin outputs the variable voltage and must be wired to an analog-to-digital converter (ADC) pin on the microcontroller (e.g. A0).
  • Pin 3 (Terminal B): Connected to the system ground rail (GND).
  • Note: Swapping the connections to Pin 1 and Pin 3 reverses the direction of the voltage output (e.g., clockwise rotation increases voltage vs. decreases voltage).

3. Linear vs. Logarithmic Tapers

Potentiometers are manufactured with different internal resistive track curves:

  • Linear Taper (Type B): The resistance varies uniformly with dial position. A 50% physical rotation corresponds to exactly 50% of the total resistance. Used for standard tuning dials, speed controls, and calibration.
  • Logarithmic Taper (Type A): The resistance varies exponentially. This matches the human ear's non-linear perception of sound level. Used almost exclusively for volume controls (audio pots).

4. Core Calculations & Math

When wired as a three-terminal voltage divider, the output voltage (VoutV_{out}) on Pin 2 is calculated as:
Vout=Vin×(R2R1+R2)V_{out} = V_{in} \times \left( \frac{R_2}{R_1 + R_2} \right)
Where:

  • VinV_{in} is the input voltage applied across Pin 1 and Pin 3.
  • R1R_1 is the resistance between Pin 1 (VCC) and Pin 2 (Wiper).
  • R2R_2 is the resistance between Pin 2 (Wiper) and Pin 3 (GND).
  • The total resistance (Rtotal=R1+R2R_{total} = R_1 + R_2) remains constant regardless of the dial position.

5. Component Properties (Property Inspector)

When you select a Potentiometer on the canvas, you can modify the following parameters in the Property Inspector panel:

  • Resistance (resistance): Configures the total track resistance.
    • Default: 10000 Ω\Omega (10 kΩ10\ \text{k}\Omega)
    • Range: 100 Ω\Omega to 1,000,000 Ω\Omega (1 MΩ\Omega) (step size 100 Ω\Omega)
  • Position (value): The rotary knob's mechanical position on the canvas.
    • Default: 512 (midpoint position)
    • Range: 0 to 1023 (rotates the dial graphic in the simulator)

6. Supported Blockly Blocks

Drawing the blocks…

7. Simulator Behavior

  • Interactive Adjustments: There's no separate popup slide-dial widget — while simulating, click directly on the knob and drag in a circular motion to rotate it (a real pointerdown/ pointermove handler tracks the angle live). The knob has a 300° mechanical sweep (-150° to +150°, matching the component's own description) and stops cleanly at either end rather than spinning past it.
  • Probing: There's currently no live voltage/position readout for this component — its state() returns an empty visual overlay, unlike the Resistor's always-visible current/power text (Section 4.2). Hovering a pin still shows the standard label/type tooltip common to every component, just not a live value.
Potentiometers — OMS Parts