To verify a linear potentiometer position sensor, you must measure the total track resistance across the two outer terminals (which should match the rated value ±10%) and then sweep the wiper while measuring the center terminal to an outer terminal to confirm a smooth, linear voltage or resistance transition. If the wiper reading jumps, drops to infinity, or fails to reach the supply rails, the carbon track is worn or the wiper contact is failing.
Whether you are integrating a Bourns PTA series slide pot into an ESP32 robotics project or troubleshooting an industrial actuator feedback loop, precise bench testing prevents hours of firmware debugging later. Below is the exact procedure to validate your sensor before writing a single line of code.
Meter Setup and Safety Category Requirements
Before probing the sensor, configure your digital multimeter (DMM) correctly. Misconfigured meters are the leading cause of 'faulty' sensor diagnoses on the workbench.
Bench Test Configuration (Unpowered)
- Dial Position: Resistance (Ω). If manual ranging, select the 20kΩ range for a standard 10kΩ potentiometer.
- Lead Jacks: Black lead to COM, Red lead to V/Ω.
- Zeroing: Touch the probe tips together. Note the lead resistance (typically 0.1Ω to 0.3Ω). You will subtract this from your final track measurement.
Live Circuit Configuration (Powered)
- Dial Position: DC Voltage (V⎓).
- Lead Jacks: Black to COM, Red to V/Ω.
- Range: Auto-ranging, or manual 2V/20V range depending on your microcontroller's logic level (3.3V or 5V).
Step-by-Step Probe Placement and Testing
Follow this sequence to isolate track wear, wiper bounce, and power rail issues. For this guide, we assume a standard 3-pin linear taper (B-taper) 10kΩ slide potentiometer, such as the Bourns PTA6043-2015DPB103.
- Isolate the Component: Remove the potentiometer from the breadboard or desolder at least the wiper (center) pin. Measuring resistance in-circuit will yield false lows due to parallel microcontroller GPIO paths and pull-down resistors.
- Test Point 1 (Total Track Resistance): Place the red probe on Pin 1 (left outer) and the black probe on Pin 3 (right outer). The physical position of the slider does not matter for this test. Record the value.
- Test Point 2 (Wiper Sweep - Resistance): Move the black probe to Pin 2 (center wiper). Keep the red probe on Pin 1. Slowly slide the actuator from the Pin 1 end to the Pin 3 end. Watch the display. It should rise smoothly from near 0Ω up to the total track resistance measured in Step 2.
- Test Point 3 (Live Voltage Sweep): Reinstall the sensor. Power the ESP32/Arduino (3.3V to Pin 1, GND to Pin 3). Place the black probe on the circuit ground plane and the red probe on Pin 2. Slide the actuator. The voltage should sweep linearly from ~0.01V up to ~3.29V.
Expected Readings: Good vs. Bad Values
Use this spec-sheet-style table to evaluate your measurements. Values below assume a nominal 10,000Ω (10kΩ) linear potentiometer position sensor with a 20% tolerance rating (common for carbon track slide pots).
| Test Point | Expected (Good) Reading | Failing (Bad) Reading | Probable Failure Mode |
|---|---|---|---|
| Pin 1 to Pin 3 (Total Track) | 9,800Ω to 10,200Ω | < 8,000Ω or > 12,000Ω | Wrong part value, severe carbon degradation, or in-circuit parallel leakage. |
| Pin 1 to Pin 2 (Start of Sweep) | 10Ω to 50Ω | > 200Ω | Wiper contact resistance buildup; requires contact cleaner (e.g., DeoxIT). |
| Pin 1 to Pin 2 (Mid Sweep) | 4,900Ω to 5,100Ω | Erratic jumping (e.g., 2k to 8k) | Dirty carbon track or physical wiper bounce. |
| Live Voltage (3.3V System) at 50% | 1.60V to 1.70V | 1.20V or 2.10V | Audio taper (logarithmic) installed instead of linear taper, or ADC non-linearity. |
| Live Voltage at 100% (Rail) | 3.25V to 3.30V | 2.80V to 3.00V | Voltage drop across wiring, or ESP32 ADC saturation limit reached. |
Common Mistakes That Give Misleading Readings
Before you throw away a perfectly good linear potentiometer position sensor, check for these bench and firmware errors that routinely mimic hardware failure.
1. Finger Resistance and Probe Pressure
If you grip the metal probe tips or the potentiometer terminals with your bare fingers while measuring resistance, your body's resistance (typically 50kΩ to 500kΩ) will parallel the circuit. On a 100kΩ slide pot, this can skew your mid-point reading by 20% or more. Always use alligator clips or a PCB fixture for high-resistance sensors.
2. Ignoring ESP32 ADC Non-Linearity
If your live voltage sweep looks perfect on the DMM but your ESP32 firmware reports erratic values at the extremes, the sensor is likely fine. The ESP32's internal SAR ADC is notoriously non-linear below 100mV and above 3.1V. According to the Espressif ADC documentation, you should map your physical linear potentiometer position sensor travel to only use the 0.2V to 3.0V range, ignoring the dead zones at the physical ends of the track.
3. Missing Decoupling Capacitor
A linear slide pot acts as a high-impedance voltage divider. When connected to a microcontroller's ADC pin, electromagnetic interference (EMI) from nearby stepper motors or switching regulators will induce noise. Solder a 100nF (0.1µF) ceramic capacitor directly between the wiper pin and ground. This creates a low-pass filter that stabilizes the reading without introducing mechanical damping lag.
4. Using the Wrong Taper
Potentiometers come in different tapers. A linear taper (marked with a 'B', e.g., B10K) changes resistance proportionally to physical travel. An audio taper (marked with an 'A', e.g., A10K) changes logarithmically. If your mid-point voltage reads 0.4V instead of 1.65V on a 3.3V system, you have accidentally installed an audio taper position sensor. For more on taper differences, refer to this guide on potentiometer basics from All About Circuits.
Frequently Asked Questions
Why does my linear potentiometer position sensor reading jump around on the ESP32?
Jumping readings are almost always caused by wiper bounce (microscopic physical disconnects as the wiper slides over dust or pitted carbon) or ADC noise. First, clean the track with isopropyl alcohol or DeoxIT FaderLube. Second, add a 100nF capacitor between the wiper and GND. Finally, implement a software exponential moving average (EMA) filter in your Arduino/ESP32 code to smooth out the remaining high-frequency jitter.
Can I use a 100k ohm linear potentiometer position sensor with an Arduino Uno?
Technically yes, but it is not recommended. The ATmega328P ADC on the Arduino Uno is optimized for source impedances of 10kΩ or less. A 100kΩ pot will result in slow sample-and-hold capacitor charging times inside the ADC, leading to crosstalk between analog pins and inaccurate readings. Stick to 5kΩ or 10kΩ linear pots for 5V microcontrollers.
How do I fix a dead spot in the middle of my linear slide potentiometer?
A dead spot (where the reading drops to zero or freezes) indicates physical wear on the carbon resistive track where the wiper rests most frequently. You cannot permanently repair a worn carbon track. As a temporary workaround, you can open the housing and gently bend the wiper fingers to increase contact pressure, or shift the mechanical linkage so the sensor's physical travel avoids the worn zone. For a permanent fix, replace the unit with a Hall-effect linear position sensor, which has no physical contact and zero track wear.
What is the difference between a linear taper and audio taper position sensor?
Linear taper (B-taper) sensors provide a 1:1 ratio between physical movement and resistance change; moving the slider 50% yields exactly 50% of the total resistance. Audio taper (A-taper) sensors use a logarithmic curve, meaning the resistance changes slowly at one end and rapidly at the other, mimicking human hearing perception. For microcontroller position tracking, joystick axes, and servo feedback, you must always use a linear taper.






