Electronic – Should I default to pull-up or pull-down resistor with tact switches

best practiceresistors

I understand the basic use of a pull-up or pull-down resistor, including the specific case of using it with a tact switch.

When both are an option I was wondering whether I should favor one over the other and if so, why?

Best Answer

Some times you can gain a reduction in current by choosing one over the other. For a momentary switch this would not be the case.

If all other things are equal I would favor a pull-up resistor. Some microcontrollers (like the Atmega series) have inputs that can be configured with an internal pull-up. Using only pull-ups (internal or external) does provide some consistency.