Help with reading POTS bs2sx
duffling
Posts: 73
Im reading a POT using RCTIME , but i find the reading jumps around a bit as its taking the measurments ,
will reading a POT thru an ADC such as the ADC 0831 be a better approach?
if anyone has a link to a good place i can see some code or digarams using this chip it would help a lot..
thanks.
·
will reading a POT thru an ADC such as the ADC 0831 be a better approach?
if anyone has a link to a good place i can see some code or digarams using this chip it would help a lot..
thanks.
·
Comments
http://cache.national.com/ds/AD/ADC0831.pdf
It should have just about everything you need to work with it.
Readings using RCTIME just w/out ever touching the POT? How bad are these fluctuations?
It is normal to have some fluctuation.....If your fluctuation increases as you move the POT,
then it sounds like just a noisy POT as the wiper moves across the resistive element. This
can vary with the quality, age, temperature, humidity, and manufacturer of the POT.... And
I'm sure I missed a few.... One thing you can do to "smooth" out a noisy POT is to place an
additional capacitor in parallel with the resistive element of the POT.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
my Pot is returning values from 0 up to about 4000 , and its jumping +-600 at times ..... cheap pot? ,not sure
but your suggestions are most helpful ..
thanks again.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
One suggestion that might help isolate the problem is to remove the pot after you are getting the erratic readings. Measure the resistance, replace the pot with a resistor value that is close to the pot reading.
Do you still get erratic readings. With a fixed resistor the readings will not be 'rock solid' but close to it.