Quote Originally Posted by mackrackit View Post
If you use 10K you will have 0.0005 amps across the resistor.
If you use 4.7K you will have 0.001 amps across the resistor.
That is why 10K is normally used. It saves power if you have this condition several times.

Power supplies:
If you are running off of batteries a capacitor may not be necessary. If there is some thing in the circuit though that creates some noise then a 22uf or larger might be needed. It is difficult to figure before hand, you will find what works.

The regulators used now days are pretty good, but there is still some noise getting through from the rectifier. So caps and some times inductors are needed. If you do not have a scope but a good multi-meter foe AC, read the voltage in AC and see what you have. For example , I some times use a power supply from a PC for a bench supply. The AC voltage on the 12 volt side will be 0.004 volts. When a 4700uF cap is placed across the positive and negative (0) rails the AC voltage drops to .000. Now it is good enough for a PIC.

The larger the capacitor in this case will also help in brown out conditions.
What is a brown out? A decrease in the supply? I don't use BOD in my config byte.

What would make noise in my circuit?? voltage regulator? LCD display?

Okay for 10K. I will use them as pullups and pulldown. In my circuit I have strange behaviors on a portA.5 pin set as input (internal WPU disabled), default low and with no external Weak pulldown. When I touch any pin (no matter which one), there is an INT trigger as if +5V was getting to this specific pin (this pin is int enabled when getting from LOW to HIGH). I guess I should use a weak pull down...???