I have been using the pot command, but it is very erratic. BTW, I'm only using the 16F84A because I had it laying around from my mechatronics class in college. Thanks for all the help.Originally Posted by rhino
I have been using the pot command, but it is very erratic. BTW, I'm only using the 16F84A because I had it laying around from my mechatronics class in college. Thanks for all the help.Originally Posted by rhino
i have those laying on my Pin Board
It's also a good Staple replacement!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
champion, what are the values you are using for the pot as well as the capacitor when using the POT circuit?
Dave Purola,
N8NTA
I am using a 10k pot with a 0.1uF cap. Its a poly capacitor too. And a 5V regulator.
champion, The values you are using look good and as long as you are not tying one end of the pot then you should be good to go. Does the pot you are using have any dead spots? I would check it with an ohmeter and verify it doesn't.
Dave Purola,
N8NTA
You may have to scale your POT command... for 10K and 100nF try...
POT Potpin,95,MyVar
The above is usually good for the same junk Y5 type 100nF Capacitors I sprinkle around for decoupling.
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