Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
Compact rotary linear potentiometers with panel mounting shafts

Make a Linear Potentiometer Feel Stable: ADC Wiring, Endpoint Mapping and Jitter Control

A knob that changes its displayed value while nobody is touching it feels unreliable. A knob that reaches its maximum halfway through the rotation feels poorly matched to its job. Both problems can occur even when the potentiometer itself is working correctly.

The PMD Way RK097N-type linear potentiometers are compact options for panel controls. Treat “type” as a mechanical or family description, not proof that the parts share another manufacturer's complete specifications. Confirm the supplied value, taper, terminal arrangement and ratings before designing the circuit.

Separate the electrical taper from the shaft shape

A linear taper means that the intended resistance ratio changes approximately in proportion to travel. It does not mean the device is a sliding control; a rotary potentiometer can also have a linear taper. An audio taper deliberately follows a different relationship.

The Alps Alpine RK097 series information shows that superficially similar controls can have different tapers, shaft styles, switches and numbers of resistive elements. Use this as an example of the details to check, not as a specification for an RK097-type component from an unidentified manufacturer.

With power disconnected, measure resistance across the two ends of the track, then measure from the wiper to each end while turning the shaft. The end-to-end value should remain broadly constant, while the two wiper measurements change. Check the actual pin drawing; mechanical mounting tabs and switch terminals are not necessarily part of the resistor track.

Use the potentiometer as a voltage divider

For a low-voltage ADC control, connect the track ends to suitable reference levels and the wiper to the analogue input. Keep every possible wiper voltage within the ADC's allowed input range. A 5 V potentiometer divider is not automatically safe for a 3.3 V-only input.

Arduino's analogue-input example demonstrates reading a potentiometer's wiper. Adapt the supply and reference arrangement to the actual board instead of copying a 5 V example onto a different microcontroller.

If the ADC reference and potentiometer excitation track the same supply appropriately, the reading can primarily represent their ratio rather than the exact supply voltage. This does not eliminate ground drops, reference noise, input-range limits or errors caused by a poorly loaded wiper.

Choose resistance with both power and sampling in mind

A lower total resistance draws more standing current; a higher value produces a weaker source for the ADC. For an illustrative 10 kΩ potentiometer across 3.3 V, the end-to-end current is 0.33 mA and track dissipation is approximately 1.09 mW. Check these against the actual component ratings.

The divider's source resistance varies with position. For an ideal 10 kΩ track at its midpoint, the two 5 kΩ sections appear in parallel to small changes at the wiper, giving 2.5 kΩ. The ADC's sampling circuit must settle adequately from that source during its acquisition period.

Check the microcontroller datasheet for permitted source impedance and sampling requirements. Rapidly scanning several analogue channels can expose settling problems that are absent when reading one stationary control slowly. A buffer or a different sampling arrangement may be appropriate when the source is too weak.

Bourns' potentiometer handbook discusses contact behaviour and loading. A wiper is a moving contact, so avoid treating a small panel control as a power rheostat or drawing substantial load current from it without appropriate ratings.

Observe raw readings before adding filters

Log the unprocessed ADC values at a fixed sampling interval. Measure the stationary variation near minimum, midpoint and maximum, then turn the shaft slowly. This distinguishes a small normal code fluctuation from large spikes, discontinuities or incorrect wiring.

Check the ground connection, cable routing and proximity to switching or motor wiring. Use short connections where practical. If readings jump when another load operates, investigate the supply and return paths before trying to conceal the problem in software.

Also check whether the selected input has a pull-up enabled or another board function attached. An unintended resistor can load the divider and change the apparent taper. A mathematical correction should not be the first response to an unexplained electrical curve.

Apply filtering with a response-time target

Decide how quickly the displayed setting should respond to movement. A running average can reduce stationary variation, but a long averaging window makes the control feel sluggish. Arduino's smoothing example provides a useful introduction to maintaining a moving average.

For example, collecting ten samples at 10 ms intervals produces a window spanning approximately one tenth of a second. That may be suitable for a slow settings knob but less appropriate for a responsive musical control. Test both a gentle movement and a sudden turn.

A small analogue filter may help with interference, but choose it with the ADC acquisition requirements and desired response in mind. Adding a large capacitor without analysis can create slow settling or other unwanted behaviour.

Map useful travel to meaningful settings

Record the actual endpoint readings and validate that their separation is large enough before using them for scaling. Clamp the mapped result to the intended range. Mechanical stops and electrical travel need not line up perfectly with every ADC code.

For an illustrative observed range of 20 to 1000 codes, a reading of 510 is halfway through that span because (510 − 20) ÷ (1000 − 20) = 0.5. This is a mapping example, not a claimed endpoint range for the product.

Use a small, deliberate deadband or hysteresis where tiny code changes should not alter the displayed setting. Keep the threshold smaller than a useful user adjustment. Otherwise the knob can feel stuck before suddenly jumping several values.

Define startup and fault behaviour

Decide whether the physical position immediately controls the system at startup or whether the user must confirm a change. If a stored setting differs from the knob's position, consider a pickup behaviour that waits until the knob crosses the stored value before taking control.

A disconnected wiper may produce an undefined reading. If failure detection matters, design a suitable bias and valid-range strategy, accounting for the bias's loading effect. Do not assume a floating input will reliably become zero.

Keep the verified pinout, endpoint values, filter settings and startup policy with the project. When comparing alternatives in the linear potentiometer collection, repeat the fit and electrical checks. A dependable knob comes from matching the component, sampling circuit and user interaction.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat