piclist 2001\04\29\163030a >
Thread: How to convert Resistance to digital data directly
face BY : David VanHorn email (remove spam text)

At 08:16 AM 4/30/01 +1200, Russell McMahon wrote:
>  What sort of caps are you using?
>Presumably Mylar or similar rather than eg ceramic.

Ceramic at the moment.
I discharge through a fixed R, then through two variable Rs (in turn) so my
answer should be:

S1=V1/Fixed and S2 = V2/Fixed  With S1,2 = 0-15.

This way, the absolute value of the cap isn't so important, and drift isn't
a factor.
There is also a routine, during the establishment of the Fixed value, that
steps down the T1 prescaler, looking for the largest result that will fit
in an 8 bit word (T1H= 0)

That way, the routine is maximally tolerant of absolute values.

My biggest problem is this apparent variability in the low threshold, for
reasons that are not obvious.

Dave's Engineering Page: http://www.dvanhorn.org
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9

http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


In reply to: <012e01c0d0e9$6111fca0$0100a8c0@mkbs>
See also: www.piclist.com/techref/mems.htm?key=data
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) How to convert Resistance to digital data directly

month overview.

new search...