Read a pot and scale the result
Introduction and theory
The routines described here read the position of a potentiometer by a
ratio technique. The measured value is scaled to a value between 0 and
maxValue, using a successive approximation technique.
They use a PIC16F84 to charge a capacitor via each side of a pot.
The accuracy of the final value depends more upon the linearity of the pot than the tolerences of
the components as the component tolerences should cancel out.
Introduction, theory and code
Tests and mesurements
Tests and measurements
new ideas
Some thoughts and ideas...
first page...
Doug Rice, 13th July 2001.