DirtyLude
Well-Known Member
I don't have great electrical theory knowledge and this might be more of a general electronics problem but here's the situation.
I'm making a simple electronic dice roller for a friend. It'll have 4 buttons and a 2 digit 7 segment led display. That's it.
I want to run without a power switch at all. So, the system will display the die roll for a certain amount of time before going to sleep. I'm worried about the pullup resistors on the 4 switches. How much power will these drain while the system is asleep. If I use something high, like 33k will it significantly reduce battery life.
----------
Actually, I think I just came up with a solution to my own problem. If I use a pin from the uC to power the pullup resistors, then there will be no power loss from the resistors when the uC is asleep, since I can just turn them off.
----------
Well, on third thought, that doesn't work, since I need the buttons to get out of sleep mode, so I need the resistors active to register a button push.
Any suggestion, or does it matter at all?
I'm making a simple electronic dice roller for a friend. It'll have 4 buttons and a 2 digit 7 segment led display. That's it.
I want to run without a power switch at all. So, the system will display the die roll for a certain amount of time before going to sleep. I'm worried about the pullup resistors on the 4 switches. How much power will these drain while the system is asleep. If I use something high, like 33k will it significantly reduce battery life.
----------
Actually, I think I just came up with a solution to my own problem. If I use a pin from the uC to power the pullup resistors, then there will be no power loss from the resistors when the uC is asleep, since I can just turn them off.
----------
Well, on third thought, that doesn't work, since I need the buttons to get out of sleep mode, so I need the resistors active to register a button push.
Any suggestion, or does it matter at all?