Potentiometer Noise problem?

I am using potentiometers to control servos via the servo "knob" example. The servos seem to "jitter" slightly, yet constantly except at the end points. I believe the potentiometer is "fuzzy" because I read the analog values it sent through the serial monitor and it varied by about 10 when at the same position. Is there a way to code the jitter out or do I need better potentiometers? Thanks!

You could use the last reading only if it has changed by a certain defined amount.

LarryD:
You could use the last reading only if it has changed by a certain defined amount.

The potentiometers are in a master arm config that controls a slave robotic arm. The position of the potentiometers will have to be able to be changed constantly and allow for precision adjustment of the servos

If it's that critical, get better pots...

Otherwise you can average the control over a couple of readings or a running average. The idea above is not bad as well.

Put a 47 µF capacitor from the potentiometer wiper to ground.

Also check what the servos do when you send a fixed mid-range pulse value from your sketch.

The quality of the pots or wiring is not an issue, there will always be some noise, and always some sampling jitter in the ADC. You need to introduce filtering in to the system. Either in hardware by adding a RC filter, or in software for example a dead band.

septillion:
If it's that critical, get better pots...

Otherwise you can average the control over a couple of readings or a running average. The idea above is not bad as well.

Can you recommend a brand or site or type?
Thanks