Pull-up resistor

Schematic diagrams showing pull-up (PU) and pull-down (PD) resistors. When the switch is open, the PU/PD pulls the digital input voltage to Vcc or Vss, respectively. When the switch is closed, the digital input is connected to a low-impedance driving source, which may be a logic low or high level irrespective of whether the circuit has a PU or PD.

In electronic logic circuits, a pull-up resistor (PU) or pull-down resistor (PD) is a resistor used to ensure a known state for a signal.[1] More specifically, a pull-up resistor or pull-down resistor ensures that a wire will have a high logic level or low logic level, respectively, in the absence of a driving signal.[2] It is typically used in combination with components such as switches and transistors, which physically interrupt the connection of subsequent components to ground or to VCC. A closed switch creates a direct connection to ground or VCC, but without a PU or PD, when the switch is open, the rest of the circuit would be left floating (i.e. it would have an indeterminate voltage), which is generally undesirable.

For a switch that is used to connect a circuit to ground, a pull-up resistor (connected between the circuit and VCC) ensures a well-defined voltage (i.e. VCC) when the switch is open. For a switch that is used to connect a circuit to VCC (e.g. if the switch is used to transmit a "high" signal when closed), a pull-down resistor connected between the circuit and ground ensures a well-defined ground voltage (i.e. logical low) across the remainder of the circuit when the switch is open.

Switch output voltage/signal Switch opened Switch closed
With pull-up resistor Positive supply voltage

Input signal (high or low)

Ground voltage

Low signal

With pull-down resistor Ground voltage

Low signal

Positive supply voltage

Input signal (high or low)

Without pull-up or pull-down resistor Indeterminate voltage Switch input voltage/signal
  1. ^ Platt, Charles (2012). Encyclopedia of electronic components. Volume 1, [Power sources & conversion : resistors, capacitors, inductors, switches, encoders, relays, transistors]. Sebastopol CA: O'Reilly/Make. ISBN 978-1-4493-3387-4. OCLC 824752425.
  2. ^ "Pull-up and Pull-down Resistors". EEPOWER. Retrieved 2025-02-25.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search