Pull Up Resistor Basics - Value & Function

  • Thread starter Thread starter zak8000
  • Start date Start date
  • Tags Tags
    Pull Resistors
Click For Summary
Pull up resistors are essential for ensuring that a microcontroller can detect the state of a switch. When a switch is open, the resistor allows the supply voltage to be read, while closing the switch removes this voltage. Without the resistor, the microcontroller cannot determine the switch's state, as there would be no voltage change. A common value for a pull up resistor is 4700 ohms, which is suitable for most applications. Understanding the function and value of pull up resistors is crucial for effective circuit design.
zak8000
Messages
69
Reaction score
0
hi there

i have been reading up on the function of pull up resistors from the text:http://ti.tuwien.ac.at/ecs/teaching/courses/mclu/theory-material/Microcontroller.pdf and on page 37 it talks about it. in their example of the pull up resistor with the switch. i was wondering if they circuit would still work if the resistor was removed and if not what would be a suitable value for the resistor?
 
Engineering news on Phys.org
zak8000 said:
hi there

i have been reading up on the function of pull up resistors from the text:http://ti.tuwien.ac.at/ecs/teaching/courses/mclu/theory-material/Microcontroller.pdf and on page 37 it talks about it. in their example of the pull up resistor with the switch. i was wondering if they circuit would still work if the resistor was removed and if not what would be a suitable value for the resistor?

No, it wouldn't work.

With the resistor, the supply voltage appears across the switch when it is open, but no voltage appears across it when it is closed. So the voltage changes and the processor can use this to tell if the switch is open or closed.

Without a resistor, there is no voltage across the switch whether it is open or closed, so the processor can't tell if the switch is open or closed.

A typical value of pullup resistor is 4700 ohms.
 
I am trying to understand how transferring electric from the powerplant to my house is more effective using high voltage. The suggested explanation that the current is equal to the power supply divided by the voltage, and hence higher voltage leads to lower current and as a result to a lower power loss on the conductives is very confusing me. I know that the current is determined by the voltage and the resistance, and not by a power capability - which defines a limit to the allowable...

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
3K
Replies
46
Views
10K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
6
Views
7K
  • · Replies 29 ·
Replies
29
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
Replies
4
Views
3K
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K