Pull Up and Pull Down Resistors
Pull Up and Pull Down Resistors
Pull Up and Pull Down Resistors
Pull-down resistor
Pull-down resistors work in the same manner as pull-up resistors, except that they pull the pin to
a logical low value. They are connected between ground and the appropriate pin on a device. An
example of a pull-down resistor in a digital circuit can be seen in the figure. A pushbutton switch
is connected between the supply voltage and a microcontroller pin. In such a circuit, when the
switch is closed, the micro-controller input is at a logical high value, but when the switch is
open, the pull-down resistor pulls the input voltage down to ground (logical zero value),
preventing an undefined state at the input. The pull-down resistor must have a larger resistance
than the impedance of the logic circuit, or else it might be able to pull the voltage down by too
much and the input voltage at the pin would remain at a constant logical low value regardless
of the switch position.
resistor, heating the device and using up an unnecessary amount of power when the switch is
closed. This condition is called a strong pull-up and is avoided when low power consumption is a
requirement. The second factor is the pin voltage when the switch is open. If the pull-up
resistance value is too high, combined with a large leakage current of the input pin, the input
voltage can become insufficient when the switch is open. This condition is called having a weak
pull-up. The actual value of the pull-ups resistance depends on the impedance of the input pin,
which is closely related to the pins leakage current.
A rule of thumb is to use a resistor that is at least 10 times smaller than the value of the input pin
impedance. In bipolar logic families which operate at operating at 5V, the typical pull-up resistor
value is 1-5 k. For switch and resistive sensor applications, the typical pull-up resistor value is
1-10 k. If in doubt, a good starting point when using a switch is 4.7 k. Some digital circuits,
such as CMOS families, have a small input leakage current, allowing much higher resistance
values, from around 10k up to 1M. The disadvantage when using a larger resistance value is
that the input pin responses to voltage changes slower. This is the result of the coupling between
the pull-up resistor and the line capacitance of the wire which forms an RC circuit. The larger the
product of R and C, the more time is needed for the capacitance to charge and discharge, and
consequently the slower the circuit. In high-speed circuits, a large pull-up resistor can sometimes
limit the speed at which the pin can reliably change state.