All courses › Embedded Systems and Instrumentation › Pull-Up Resistor
Pull-Up Resistor
A digital input that is not connected to anything definite can float and read random values. A pull-up resistor pulls the input to a defined high level when nothing else is driving it, for example when a button is open. When the button is pressed, the input is pulled low instead.
current through the pull-up resistor when the input is pulled low (switch closed)
Symbols
| supply voltage | V | |
| pull-up resistor | ||
| current through the resistor | A |
Example
V, kΩ, switch closed:
mA.
Without a pull-up an open input floats and can read random values – always define the level.
Practise microcontrollers for free →
← Logic Gates · PWM →
Part of Embedded Systems and Instrumentation: Microcontrollers.