Josh, the "grosso modo" way is to forget about the ADC input impedance and to calculate the capacitor from the time integration equation: T = R x C where R is the serial resistor to ADC input ( could be a fraction from your 10K potentiometer , wiper to left ) and T is the requested time between two sample, or better T = 1/f where f is the parasitic signal frequency. Of course both ADC input impedance and your signal source impedance are considered to be ideal. But also you must keep the maximum value of this capacitor acordingly to datasheet because the internal ADC is a sort of sample and hold. If the input signal is clean you don't need this capacitor. You can't use this capacitor as a trick to increase the potentiometer value up to 250K without to diddle the AD performances because the capacitor will minimize the equivalent signal impedance only in AC. Regards, Vasile On Sat, 24 Nov 2001, Josh Koffman wrote: > How do you figure out the value of the capacitor, and how long it takes > to charge? I'm not an EE, so sometimes these things are hard for me. If > I wanted to go for simplicity, would it be best to just go for a 10K > pot? > > Thanks, > > Josh > > "Thomas C. Sefranek" wrote: > > > > If you have a large enough capacitor at the input > > ITS impedance is low enough to satisfy the current demand of the A-D > > (In most cases) > > But be aware that the process of measuring the analog value drains the > > capacitor > > and you have to allow enough time for the high resitance path to recharge it > > before you re-read it. > > > > Josh Koffman wrote: > > > > >Well, the databook for the f877 says that "The maximum recommended > > >impedance for analog sources is 10K". Does this mean that my pots are > > >too high? Also, if I only want to use 8 bits of resolution, do I set the > > >ADFM register to 0, and then just read the result of ADRESH, and forget > > >about ADRESL? > > > > > >Thanks, > > > > > >Josh > > >-- > > >A common mistake that people make when trying to design something > > >completely foolproof is to underestimate the ingenuity of complete > > >fools. > > > -Douglas Adams > > > > > >David VanHorn wrote: > > > > > >>At 03:13 PM 11/24/01 -0500, Josh Koffman wrote: > > >> > > >>>Or how about a 250K pot? Would it really make a difference seeing as I'm > > >>>measuring the relationship between vref and the the analog input? > > >>> > > >>There's no difference, provided that the chip's input impedance is > > >>infinite, and there's no interfering EMI. > > >>Otherwise, you can calculate the effect of non-infinite input impedance. > > >>EMI is harder to predict, but generally, keeping your source impedance low > > >>keeps this from becoming much of a problem. > > >> > > > > > >-- > > >http://www.piclist.com hint: The list server can filter out subtopics > > >(like ads or off topics) for you. See http://www.piclist.com/#topics > > > > > > > > > > > > > -- > > * > > | __O Thomas C. Sefranek tcs@cmcorp.com > > |_-\<,_ Amateur Radio Operator: WA1RHP > > (*)/ (*) Bicycle mobile on 145.41, 448.625 MHz > > > > ARRL Instructor, Technical Specialist, VE Contact. > > http://hamradio.cmcorp.com/inventory/Inventory.html > > http://www.harvardrepeater.org > > > > -- > > http://www.piclist.com hint: The list server can filter out subtopics > > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- > 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: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body