Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
SMD resistor sample book with selectable package sizes

Choose Pull-Up and Pull-Down Resistors for Reliable PCB Inputs

A digital input needs a defined state when its switch is open or its driving device is inactive. A pull-up or pull-down resistor provides that default while allowing another circuit to override it. The familiar 10 kΩ value is often convenient, but it is not a universal answer.

The PMD Way SMD resistor sample books include a separate 0603 package option. Such a selection is useful when testing alternative input-bias values on a prototype. Choose the correct package book and verify the actual resistor's ratings rather than assuming that all 0603 parts have identical power or voltage limits.

Define the input's required default

A pull-up connects the node towards a suitable positive rail; a pull-down connects it towards the relevant ground. For a simple pushbutton connected to ground, a pull-up establishes a high state when the button is released and the button establishes a low state when pressed.

Choose the default from the system's behaviour. An enable input may need to remain inactive while a controller resets. A configuration input may need a valid level before firmware runs. These requirements can make an external resistor necessary even when the microcontroller has configurable internal pulls.

Toshiba's guidance on unused CMOS inputs explains why floating inputs can produce uncertain states and unwanted current. It also identifies exceptions such as bus-hold inputs. Follow the actual device datasheet instead of applying one rule to every unused terminal.

Collect the electrical limits

Find the receiver's guaranteed high and low thresholds, its maximum input leakage over temperature, and any restrictions on input voltage when its supply is off. Include leakage from other connected devices, protection components and the board environment where relevant.

Next, check the device or switch that overrides the resistor. It must produce a valid opposite logic level while carrying the resulting current. For an open-drain output, use the guaranteed output-low voltage at the relevant sink current, not an assumption that it becomes an ideal zero-ohm switch.

Keep the pull resistor connected to a rail compatible with every device on the node. Pulling a signal towards 5 V does not make it safe for a 3.3 V-only input.

Calculate the weak-resistor limit

A very large pull-up saves current when the node is driven low, but leakage can pull the released voltage down. In a simplified model, the voltage lost across the resistor is leakage current multiplied by resistance.

Suppose a hypothetical 3.3 V input requires at least 2.3 V for a guaranteed high, and the worst combined leakage towards ground is 10 µA. The available voltage margin is 1 V, giving an upper resistance bound of 100 kΩ before allowing additional margin and tolerance. A nominal 100 kΩ choice would sit at the calculated boundary, so it would not be a comfortable design choice.

For a pull-down, apply the corresponding reasoning to leakage that raises the node and the receiver's maximum guaranteed low threshold. Use the actual leakage direction and conditions; different logic technologies do not necessarily behave alike.

Calculate the strong-resistor limit

A smaller resistor gives the default state more strength but draws more current when overridden. With a 3.3 V pull-up and an approximately grounded node, 10 kΩ draws about 0.33 mA, 4.7 kΩ about 0.70 mA and 1 kΩ about 3.3 mA.

For the 1 kΩ example, resistor dissipation is approximately 10.9 mW. Check the actual part's power and voltage limits, and include the driver's output voltage in a more accurate calculation. The output must remain within its current rating and still satisfy the receiver's low threshold.

If several inputs can be asserted simultaneously, add their currents. Eight 10 kΩ pull-ups held low from 3.3 V consume approximately 2.64 mA. That may be unimportant on a bench supply but significant in a small battery-powered device.

Check timing as well as steady voltage

Node capacitance includes device inputs, PCB tracks, cables and protection components. A pull resistor charges or discharges that capacitance after the active driver releases it. A larger resistance therefore changes how long the node spends between valid logic levels.

Texas Instruments' report on slow or floating CMOS inputs explains why input transition requirements matter, not just final voltage. Some inputs tolerate slow transitions differently from others; consult the receiver's specification and use a suitable Schmitt-trigger input where the design requires it.

As a simple RC illustration, 10 kΩ with 100 pF gives a 1 µs time constant. That is not automatically the time to a valid high, because the threshold matters. It also does not describe every nonlinear input or distributed cable. Measure the actual edge when timing is important.

Review internal pulls and startup

Arduino's input and pull-up documentation explains configuring supported microcontroller inputs. Internal pull values and reset behaviour vary by device, and software configuration happens after some initial startup interval.

If an external pull-up and an internal pull-down are both active, they form a divider. The resulting voltage may be neither a reliable high nor a reliable low. If two pull-ups are active, their parallel resistance increases the current drawn when the node is low. Check the complete configuration rather than calculating only the resistor visible on the PCB.

Also test one device powered while another is off. A pull-up can feed current into an unpowered input unless the interface is designed and rated for that condition. Reset, boot and shutdown are operating states that deserve the same attention as normal running.

Place and verify the resistor on the board

Place the bias component where its connection to the intended input and reference is clear. Keep sensitive high-impedance nodes away from noisy routing where practical, and avoid long unconnected track sections that behave differently from the bench prototype.

After assembly, verify the value and inspect both joints. Test the input released, asserted, resetting and with each connected device unpowered in turn. Measure the node voltage against the receiving device's reference, then inspect timing if the signal requires it.

Record the chosen value, thresholds, leakage assumptions and measured margins. If a later revision substitutes a part from the 0603 SMD resistor collection, preserve those design checks. A reliable pull resistor is selected from the circuit's requirements, not simply from the most familiar value in the drawer.

Previous article Battery Power for Arduino Projects: Voltage Range, Runtime and Regulator Heat