# Pull Up and Pull Down Resistor Values [duplicate]

I usually use 10K Ohm resistors for pulling up or pulling down micro-controller lines. This is only because I have tons of them.

Recently while looking up pick and place surface mount information I found out that often times the number of types of components you have can play a part in the cost.

For example it might save money to change the 10K Ohm resistors to some other value already present on the board.

Given that, my question is; what factors are in play to determine appropriate ranges of resistance for pull up or pull down resistors?

• Are you looking for the answer for a specific microcontroller, or a specific line of microcontrollers? If yes, that's information that can be obtained or inferred from its datasheet. – fceconel May 23 '13 at 23:57
• At every company I have worked with, they always tried to reduce the number of different sizes and types of components. It made it much easier on the technicians and assembly personnel as well as the ordering department. Ordering 10000 of one part can be much cheaper than ordering 1000 of 10 different (but similar) parts. Also, the larger the resistance, the less current (and thus power) will be used. If there is no specification, EMI concern, or other advanced design consideration, you can use whatever you want, depending on how "strong" or "weak" the pull up/down needs to be. – Kurt E. Clothier May 24 '13 at 0:51

Too small:

This causes excess current draw when you want to "counter-act" the pull-up/pull-down.

Say you have a pull-up circuit like this:

simulate this circuit – Schematic created using CircuitLab

When M1 is "closed", you're effectively shorting output to ground. So the current flowing though R1 is:

$$I = \frac{Vs}{R1}$$

Depending on what resistor power rating you have, limitations of Vs, and limitations of the switch M1 (doesn't have to be a MOSFET or even a transistor), you can figure out a lower resistance limit which will start to cause problems. You can do a similar calculation for pull-down resistors. When R1 gets way small (or the on resistance of the switch gets large), you start getting voltage-divider circuits so all of a sudden the output level isn't a digital signal anymore. You could use this to improve the lower limit value, but in reality there's usually no need to get anywhere near this lower limit.

Too large:

Large pull-up resistors have will excessively limit the amount of current which can be provided to the output. There are a few consequences to this:

1. If the output has some capacitance (trace parasitics, gate capacitances, etc.), the output voltage could have some significant rise time similar to a RC circuit.
2. The assumption that all external "sources" and "couplings" are insignificant start to break down. For example, cross-talk or antenna-like effects could become significant.

I can't really say how to account for the second point or other points in general, but let's take a look at the first point:

An RC circuit has a time constant of t=RC. If you have a signal line which relies on pull-up/pull-down resistors (I2C), the fastest signal rise time you can transmit is limited by this time constant.