Hi all,
Kindly tell me why Pull up resistor is needed in microcontroller?
Kindly tell me why Pull up resistor is needed in microcontroller?
Hi,Pullup or pulldown resitor is needed all the time you make a pin an input, since leaving the input floating will generate unpredictable results, you pull it up so that the value is 1 when switch or sensor connected to that pin is open, will become zero when sensor or switch will ground the pin. Normally a pullup resistor is any value from 10K to 20K.
Alberto
by Jake Hertz
by Aaron Carman