Pull-up Resistor

Floating

See the picture [1] below. When the switch is connected, the input pin will get the high level. But what if the switch is not connected. It is hard to tell the input pin will be read as high or low. Also the value of the input pin is very much susceptible by noise. This phenomenon is referred as floating.

Pull-up Resistor

A resistor (usually more than 10KΩ. See the picture [2] below) can guarantee that the value of the input pin is high when the switch is disconnected.

For more details, reading [2] is recommended.

  • [1] http://www.madsciencenotebook.com/basicelectronics/pull-up-resistor/
  • [2] https://learn.sparkfun.com/tutorials/pull-up-resistors/what-is-a-pull-up-resistor

Leave a Reply

Your email address will not be published. Required fields are marked *