I use a 10K Ohm, ends to Vcc and ground, wiper to the ADC input pin. The ADC will read the position of the pot, since you've just made a variable voltage divider. Is that what you're looking for? Dale -- Hallo, this is Linus Torvalds and I pronounce Linux as Leennuks. Hallo, this is Bill Gates and I pronounce 'crap' as 'Windows'. On Thu, 8 Nov 2001, Josh Koffman wrote: > Hi all. I know this is going to sound really stupid. I have searched the > web, and checked what reference material I have on hand (which is > extremely limited right now). I need to read a potentiometer using the > ADC on an f877. I figure I should use a voltage divider. However, I > can't remember whether the fixed resistor goes to V+ or to ground. Also, > can anyone suggest a good value for 10K, 25K, 50K, and 100K > potentiometers? I think I'm just not phrasing my search parameters > right, but I keep coming up with nothing on the piclist website and > epanorama. > > Help! > > Josh Koffman > > -- > A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools. > -Douglas Adams > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads