AGSCalabrese wrote: > I have looked at the datasheet for the 10F206 and I see that the > internal voltage reference can vary from 0.55 V to 0.65 V. > > Is the internal voltage reference stable at whatever value it happens > to be ? Reasonably so. The problem is the initial accuracy since these things are not trimmed in production. > If I were to charge a capacitor through a variable resistor would I be > able to determine the value of the variable resistance by discharging > the capacitor using the PIC comparator pin and then switch to > measuring the external voltage using the comparator ? Yes, that's a common way of making a A/D when there isn't one. Keep in mind that the PIC 10 has no interrupts, so any loop waiting for a bit change will have 3 cycles of measurement uncertainty, which is 3uS on a 10F206. Why use the fixed reference though unless you are trying to measure a voltage? Using a resistor divider from Vdd would give you better margin and makes the measurement independent of Vdd. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist