Pull Up Resistors: What Are They & Why Use Them?

  • Thread starter Thread starter asad1111
  • Start date Start date
  • Tags Tags
    Pull Resistors
asad1111
Messages
51
Reaction score
0
what are pull up and pull down resistors i read that i have to connect pull up resistors with microcontroller why they are called pull up resistors and not simple resistors?
 
Engineering news on Phys.org
Pull-up and pull-down resistors basically provide microcontroller (or other logic) inputs with a 'default' value unless otherwise overridden (e.g. with a button press or an input from a source that isn't always on):
http://en.wikipedia.org/wiki/Pull-up_resistor

As for your other question: why not just call all soccer (football) players footballers, instead of mid-fielder, goalkeeper, defender and so forth? Because while they are all footballers, the more specific title conveys role and duties of the player, and so it is with pull-up and pull-down resistors.
 
Logic circuit inputs are designed to be fed, usually, from the output of another circuit. In order to reduce the total current drain (for hundreds or even thousands of logic elements) they often have a high input resistance and have no internal biasing. Whenever there is an input which is not fed from another circuit, it is necessary to bias it ('tell it') a 1 or 0, or it can assume a non-logic value which can either give a 'nonsense', oscillation or even a high current running through the circuit element itself as it starts to operate as an analogue amplifier.
Some or all of the above apply to some degree, depending upon what the particular technology we are dealing with but my answer is a 'general' one.
 
If you have a circuit like this, where a switch is connected to the high impedance input of a logic gate, the switch will have no effect in the first diagram, because operating it does not cause a change in voltage on the input.

[PLAIN]http://dl.dropbox.com/u/4222062/pullup%20resistor.PNG

In the second diagram, with a pull-up resistor, the input voltage to the logic gate will be zero if the switch is closed and equal to the positive supply voltage if the switch is opened.
So, the logic gate will see this as a valid input and output accordingly.

The effect is the same if the switch is replaced by a transistor or some types of logic gates which have open collector outputs.
 
Last edited by a moderator:
Both the main electrical cable (three-phase, line to neutral=230V, line to line =400V, 50Hz) and the water supply line(ppr pipe) are underground, below the earth in the garden, located next to each other, the main electrical power has damaged insulation, bare live line is exposed to a water leak from a broken main potable water line. So fault contact happen before RCD. Could this situation be dangerous, especially if a person is showering at the same time? I am trying to understand whether...

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
3K
Replies
46
Views
10K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
22
Views
2K
Replies
80
Views
5K
Replies
6
Views
7K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
5
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K