i dono know about it..?
Easyrider83 mentioned liked below,so i'm asking is their any relationship between the pull-up resistors and type of power supply..?
For battey powered device you should care about leakege current. For other causes use Ohm's law, please.
Use 22k resistor in battery powered devices for pull-up resistor. When higher value pullups are used very less current flows. This saves battery current. If battery 150 mAh then you nned to save more current.
Say current will be flowing in the internal circuit. If 1k resistor is used with 5V then 5V/1k = 0.005A flows. If 22k resistor is used then 2.27 * 10^-4 A current flows.
I thought Li-Ion battery stacked to get 5V.
Assuming some current flows in the internal circuitary of MCU when button is not pressed and internal resistance is 0 and only pull-up resistance is considered.
normal citcuit using pic micocontroller...
In that i'm using pull-up resistor for push button ..
If battery is used as powersupply means it will affect the battery life or something else...
Because by using pullup resistor we are shorting positive and negative power supply when the button is pressed....
Use the internal pull-up. It is tenths of KOhms. No external resisitor is required. Even for low power. External or internal, there will be power loss. But someone will press it for a couple of seconds and then he will release it. So it is not a big deal.