pull-up resistor
A resistor that is connected between a signal and a positive voltage supply in a circuit to ensure that the signal is at a defined logic level.
pull-up resistor: keeping weak signals honest
A pull-up resistor is a fixed resistor connected between a signal line and the positive supply voltage (typically 5V or 3.3V) in digital circuits. Its job is to establish a default logic state when no active driver is pulling the line low. Without it, a floating input can drift into an undefined voltage range, causing unpredictable behavior in logic gates and microcontroller pins.
The resistor value matters. Standard pull-ups range from 1 kΩ to 100 kΩ, chosen based on the circuit's current budget and switching speed. A lower value (1 kΩ to 10 kΩ) pulls harder and settles faster, but draws more idle current. A higher value (47 kΩ to 100 kΩ) conserves power but may be too weak if the circuit needs fast transitions or must overcome noise on long wires. The choice balances power consumption, propagation delay, and noise immunity.
Pull-ups appear wherever an input device or signal source may occasionally release the line without actively driving it. Open-drain outputs (common in I2C buses, CAN interfaces, and logic gates with collector or drain terminals exposed) require pull-ups to reach a high state. Momentary push buttons and switches also use pull-ups to define the resting voltage; when the switch opens, the pull-up brings the input high. Without it, the pin reads low when released, inverted from the intended logic.
Where pull-ups go wrong
Forgotten or undersized pull-ups cause intermittent failures: inputs that are stable at idle but glitch during switching, or that read differently depending on wire length and ambient noise. Oversized pull-ups in long-cable applications allow crosstalk and noise to corrupt the signal. Excessive pull-up current can damage the output stage of weak drivers or waste power in battery-powered systems. Modern microcontroller datasheets specify the minimum pull-up resistance and the maximum capacitance the input can tolerate.
Many microcontroller chips now integrate weak internal pull-ups, selectable by firmware, eliminating the need for discrete resistors in simple applications. Industrial and automotive systems often still use external pull-ups for reliability and predictability across temperature and supply variations. The term pull-up reflects the direction of the resistive action: it pulls the signal upward toward the supply rail when nothing else is driving it.