piclist 2001\04\29\132345a >
Thread: How to convert Resistance to digital data directly
www.piclist.com/techref/mems.htm?key=data
flavicon
face BY : David VanHorn email (remove spam text)



>
>Repeatability is about +-2 percent.

Not from where I sit..

I'm working on this, and not having much luck with it.
I tried 1-15k resistors, and got horrible non-linearity below about 10k.
Now using 10-150k, I'm getting jitter on the low threshold that's munging
the time by a factor of 2 or more.

Tried 0.1uF, and 0.01uF, no particular difference other than scale.

I'm using the MPLAB-ICE, and four channel DSO to diagnose. (Yes I factored
in the probe resistance).

My biggest frustration is that the discharge dosen't seem to be stable to
more than about 0.5V, and sometimes dosen't detect till as near to zero as
I can see.

I start the discharge, start timer 1, then sit in a loop of
Here:
  BTFSC PORTB,4
  goto Here

No ints, nothing else going on..

I agree that it SHOULD work, and I was rather counting on it to work, but
it dosen't seem to BE working.

--
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.


<4.3.2.7.2.20010429120222.00c71cd0@mail.cedar.net>

In reply to: <3.0.32.20010429094509.0079f570@saber.net>
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...