Maker Pro
Maker Pro

Use of a Pull up resistor

Abhinav

Aug 8, 2016
11
Joined
Aug 8, 2016
Messages
11
Hi all!
I have read what the pull up resistor does.
It prevents the microcontroller from going into a high impedance state or
in other words, it avoids the pin to be in floating state.

But how does it exactly do this work ?
Does the voltage drop across the resistor be fed into the input pin of the microcontroller ?
Or what will be the voltage at the input pin of the microcontroller where the pull up resistor is connected ?

Please let me know.
Thanks in advance! :)
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
Since an input pin draws only picoamps, the voltage on the pin is the pullup voltage (i.e. the voltage drop is near zero). So a pullup connected to Vdd makes the input high by default. They are usually used when a switch will pull it low.

Bob
 
Top