Good point. How about adjusting the reference voltages to correct for this? Yes, I know there are better ways to solve this problem -- I'm just in a Rube-Goldberg mood today. :-) Cheers, -Neil. -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Michael Rigby-Jones Sent: Thursday, June 13, 2002 10:44 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]:strange analog in problem > -----Original Message----- > From: Pic Dude [SMTP:picdude@AVN-TECH.COM] > Sent: Thursday, June 13, 2002 4:17 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]:strange analog in problem > > For simplicity, could you not form a voltage divider > w/2 fixed resistors, and the large variable resistor > to be measured placed in parallel across one of the > fixed resistors? Of course you now need some math > since the voltage measured at the AD port is no longer > linearly proportional to the variable resistance. > > Cheers, > -Neil. > The change in voltage at the A/D converter would be very small which could reduce resolution to unacceptable levels. Regards Mike -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.