Along these lines... What happens if I need to measure a resistance to the tune of 100K to 1M using the ad on the 16F877? I had been toying with the idea of using a fixed resistance and the variable forming a voltage divider, with the common point being fed to the PIC AD. Following this thread's indicated that the max. impedence for reliable operation should NOT be more than 20K. Are there any suggestions? The resisatnce to be measured is in fact a sensor, and therefore I do not require the reading in ohms, as such. A look up table can give me the values to be indiacted on the diaplay. Regards, Anand Dhuru -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.