1 out of 1 members found this post helpful.
Did you find this post helpful?
|
Re: Pot jitters during ADC capture
You had slide pots made for you? That can't be cheap...
It's a linear 10K slide, my rotaries are 5K, but that shouldn't matter.
With those values it probably does not matter but don't just write it off.
The sample & hold circuit in the ADC works by temporarily connecting a small capacitor to the selected input. This capacitor is charged thru the impedance of the voltage source (your potentiometer) - which varies depending on where along the "track" the slider is positioned. If the jitter is worse with the slider closer to the bottom than to the top it could be an issue.
Look at section 17.4 (or table 27.21) of the datasheet for the 26K22. It states that the maximum recommended impedance is 3k.
If nothing else you could try filtering the wiper voltage with a capacitor, say 1uF and then buffer the signal with a rail-to-rail OP before feeding it to the PIC.
Bookmarks