Jan-Erik Soderholm wrote: > Yigit Turgut wrote 2011-05-22 20:09: >=20 >> Pot and 1.5v battery are connected to AN0 all in series.Ground of >> battery is connected to ground of the circuit. >> >=20 > Try again, that description is bad. > There are three legs on a pot, where is each leg connected ? > The pot whould not be in series. One outer leg to the battery, > the other to ground and the center/middle/wiper leg to the PIC. He mentioned that he was trying to use the ADC for measuring impedance=20 so I suspect his description is correct (i.e. meter-resistance-battery=20 all in series) but I suspect that the ADC will just read 1.5 volts=20 regardless of pot setting since there will be negligable current flowing=20 round the circuit. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .