POT ... to the Waste box
Hi, Champion
DO NOT use POT for quite precise measurements ... doesn't worth ANYTHING.
( Just good to make a 2 Wires 16 Keys Keypad ... or 16 positions switch !!! )
The first bearable approach for measuring is to use RCTime, but you WON'T measure 0 - 5v
Only 1.5v - 5v ... due to the Pic Inputs.
With cap tied to Vcc and R tied to ground, you should have ~ T = 1.2*R*C ... !!!
Think to let enough time for the capacitor to be fully charged before measuring ...
If really precise measure ... think to ADC 831 ... or easier, 16F684,688,819 or ...16F88
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks