To wire a standard 3-terminal potentiometer to a DC PWM motor speed controller, connect the left pin (Pin 1) to the controller's ground using a Black 18 AWG wire, the center wiper pin (Pin 2) to the signal input using a Yellow 18 AWG wire, and the right pin (Pin 3) to the 5V reference using a Red 18 AWG wire. Use a 10kΩ linear taper potentiometer for predictable speed control.

Whether you are building an off-grid solar ventilation system, controlling a 12V water pump, or tuning a workshop exhaust fan, a potentiometer provides smooth, manual speed adjustment by feeding a variable voltage signal to your Pulse Width Modulation (PWM) controller. Below is the exact bench procedure to wire, terminate, and test this circuit without frying your components.

Tools, Materials, and Component Ratings

Before you strip a single wire, gather the exact components required for a reliable 12V/24V DC control circuit. Using the wrong wire gauge or potentiometer taper will result in jittery motor speeds or burnt control boards.

  • Potentiometer: Bourns PTV09A-4025F-B103 (10kΩ, Linear/B-Taper, 0.05W, single-turn). Rated for panel mounting with a 6mm D-shaft.
  • PWM Controller: Walfront or DROK DC 10-60V 20A PWM Motor Speed Controller (features dedicated 5V, SIG, and GND screw terminals for the potentiometer).
  • Control Wire: 18 AWG stranded copper wire (THHN or standard hook-up wire). Stranded is mandatory here to prevent solid-core wires from snapping off the potentiometer pins when the knob is turned or the panel vibrates.
  • Power Wire: 12 AWG stranded copper (Red/Black) for the main motor power feed.
  • Tools: Temperature-controlled soldering station (set to 350°C / 662°F), rosin-core flux, 3/32-inch (2.4mm) adhesive-lined heat shrink tubing, wire strippers, and a CAT III digital multimeter.

Mains Safety Protocol: De-Energizing the DC Power Supply

WARNING: Lethal AC Voltage Present at the Power Supply
While the potentiometer and PWM controller operate on safe, low-voltage DC (12V-24V), the AC-to-DC power supply (such as a Mean Well LRS-350-24) is fed by 120V/240V AC mains. Before touching any screw terminals on the DC output side, you must de-energize the AC source.

1. Turn off the dedicated AC breaker feeding the power supply.
2. Apply a lockout/tagout (LOTO) device to the breaker panel.
3. Verify the AC input terminals are dead using a tested CAT III multimeter.
4. Wait 60 seconds for the power supply's internal capacitors to discharge before probing the DC output terminals. Note: Always defer to local AHJ requirements; hardwired AC connections may require a licensed electrician.

Decision Path: Selecting the Correct Potentiometer Taper and Value

The most frequent reason a DIY motor controller 'feels wrong' is buying the wrong potentiometer taper from the electronics bin. The taper dictates how the resistance changes as you rotate the shaft. Use this decision matrix to pick the exact part you need.

Application Taper Required Resistance Value Concrete Part Pick
DC PWM Motor / Solar Fan Control Linear (B-Taper) 10kΩ Bourns PTV09A-4025F-B103
Audio Amplifier Volume Knob Logarithmic (A-Taper) 10kΩ - 50kΩ Do NOT use for motors
Precision Lab Power Supply Tuning Linear (B-Taper) 10kΩ (10-Turn) Bourns 3590S-1-103L
The Verdict: For 95% of home electrical DC motor and solar fan projects, buy the Bourns PTV09A-4025F-B103. A linear taper ensures that turning the knob exactly halfway yields exactly 50% motor speed. If you accidentally use an Audio (Logarithmic) taper, the motor will jump from 0% to 80% speed in the first quarter-turn of the knob, making precise adjustment impossible.

Step-by-Step Wiring Procedure

Follow these exact termination steps. We are using a standard color code: Black for Ground, Yellow for Signal, and Red for 5V Reference. Always tin your wires before applying them to the potentiometer lugs to prevent cold solder joints.

  1. Prep the Control Wires: Cut three lengths of 18 AWG stranded wire (Black, Yellow, Red) to reach from your panel mount to the PWM controller. Strip exactly 1/4 inch (6mm) of insulation from both ends of each wire. Twist the strands tightly and apply a light coat of solder (tinning) to the tips.
  2. Terminate Pin 1 (Ground): Identify Pin 1 on the Bourns potentiometer (the leftmost pin when facing the shaft). Slide a 1-inch piece of 3/32-inch black heat shrink onto the Black wire. Solder the Black wire to Pin 1. Slide the heat shrink over the joint and apply heat. Connect the other end of the Black wire to the GND screw terminal on the PWM controller and torque it down firmly.
  3. Terminate Pin 2 (Signal/Wiper): Identify Pin 2 (the center pin). Slide heat shrink onto the Yellow wire. Solder the Yellow wire to the center Pin 2. This is the wiper that outputs the variable voltage. Connect the opposite end of the Yellow wire to the SIG (or PWM/CTRL) screw terminal on the controller.
  4. Terminate Pin 3 (5V Reference): Identify Pin 3 (the rightmost pin). Slide heat shrink onto the Red wire. Solder the Red wire to Pin 3. Connect the opposite end of the Red wire to the 5V (or VCC) screw terminal on the PWM controller. Note: Never connect this to the main 12V/24V DC power feed; doing so will instantly destroy the potentiometer's internal carbon track and the controller's logic chip.
  5. Wire the Main Power: Using 12 AWG wire, connect your DC power supply's positive output to the PWM controller's VIN (+) terminal, and the negative output to the VIN (-) terminal. Connect your motor to the M+ and M- output terminals.

Verify and Test: Expected Multimeter Readings

Never apply power blindly. Use your multimeter to verify the control circuit logic before energizing the main motor feed. This prevents runaway motors and protects your solar charge controller or battery bank from short circuits.

Phase 1: Resistance Check (Power OFF)

Set your multimeter to the Ohms (Ω) setting. Place the black probe on the Black wire (Pin 1/GND) and the red probe on the Yellow wire (Pin 2/SIG).

  • Turn the potentiometer shaft fully counter-clockwise. The meter should read ~0 Ω.
  • Turn the shaft to the exact physical center. The meter should read ~5,000 Ω (5kΩ).
  • Turn the shaft fully clockwise. The meter should read ~10,000 Ω (10kΩ).
  • If your readings are erratic or jump randomly, you have a bad solder joint or flux trapped under the wiper. Reflow the joints.

Phase 2: Voltage Check (Power ON, Motor Disconnected)

Re-energize the AC breaker. Set your multimeter to DC Volts. Place the black probe on the PWM controller's GND terminal and the red probe on the SIG terminal.

  • Fully counter-clockwise: Meter should read 0.00V to 0.05V.
  • Center position: Meter should read 2.45V to 2.55V.
  • Fully clockwise: Meter should read 4.95V to 5.05V.

Once these voltages track smoothly, power down, reconnect the motor, and run the system under load.

The Most Common Botch: Swapped Outer Pins and Dead Zones

The single most frequent mistake when wiring a 3-pin potentiometer is swapping the connections on Pin 1 and Pin 3 (the outer pins). Because the component is symmetrical, it's easy to solder the Red 5V wire to the left pin and the Black GND wire to the right pin.

The Symptom: When you turn the knob counter-clockwise (what should be 'Off'), the motor immediately ramps up to 100% full speed. When you turn it fully clockwise (what should be 'Max'), the motor stalls and stops completely. Furthermore, you may notice a 'dead zone' where turning the knob slightly does nothing, followed by a sudden jump in speed.

The Fix: You do not need to desolder the potentiometer lugs. Simply swap the Black wire and Red wire at the PWM controller's screw terminals. Move the Black wire to the 5V terminal and the Red wire to the GND terminal. Wait—this will reverse the logic, but it will also feed 5V into the controller's ground reference if the controller shares a common ground with the motor!

The Correct Fix: Desolder the Red and Black wires at the potentiometer base and swap them there, ensuring the Black wire always lands on Pin 1 and the Red wire always lands on Pin 3 relative to the shaft direction. This maintains proper system grounding and ensures the PWM controller receives a clean 0-5V reference sweep without introducing ground loops into your audio or sensitive DC electronics.