Resisters pull-up and pull down.
NewStamper
Posts: 33
The reply to my previous post "Resister's specification" is not showing up on the forum. I am posting it again w/o the strings.
Ugha
writes:
Hopefully that helps a bit. If you need more info on the actual wiring of the resistors, let us know.
1. I am getting the gist of what all of you have contributed. Now I am applying what you and others have said to the example in the Student guide, "What's a Microcontroller?". The example on page 77-79 explains pull down and up resisters. Figure 3-7 is an example of pull down. "When the push button is not pressed, the resister connected to Vss pulls the voltage at pin 3 down to Vss (0 volts)".
Question 1: The default value at Vss was zero before pressing the push button. Why do we need this resister to pull it down to zero? If you let go the push button, should the voltage not go to zero w/o the resister? I think the only purpose of resistors is to avoid a short.
The example in the student guide, has some diagrams, but they have not used the pull terminology in earlier examples. It is a very simple code on P 48:
Question 2:
Do
High 14
Pause 500
Low 14
Loop
Diagram:
Pin 14___/\/\/\___LED____Vss
We have internally connected I/O Pin 14 to Vdd by setting it to High.
Would this be an example of a Pull up resister?
Please let me know what you think?
Thanks
Ugha
writes:
Hopefully that helps a bit. If you need more info on the actual wiring of the resistors, let us know.
1. I am getting the gist of what all of you have contributed. Now I am applying what you and others have said to the example in the Student guide, "What's a Microcontroller?". The example on page 77-79 explains pull down and up resisters. Figure 3-7 is an example of pull down. "When the push button is not pressed, the resister connected to Vss pulls the voltage at pin 3 down to Vss (0 volts)".
Question 1: The default value at Vss was zero before pressing the push button. Why do we need this resister to pull it down to zero? If you let go the push button, should the voltage not go to zero w/o the resister? I think the only purpose of resistors is to avoid a short.
The example in the student guide, has some diagrams, but they have not used the pull terminology in earlier examples. It is a very simple code on P 48:
Question 2:
Do
High 14
Pause 500
Low 14
Loop
Diagram:
Pin 14___/\/\/\___LED____Vss
We have internally connected I/O Pin 14 to Vdd by setting it to High.
Would this be an example of a Pull up resister?
Please let me know what you think?
Thanks
Comments
[noparse][[/noparse]Tim]
In resume, Basic Stamp has a very high impedance on pin defined to be input ( about 1 mhoms = 1.000.000 ohm) that means that if you have anything generanting power to a wire connected to that you will be deviding your input voltage with that value , this means that a single 10K resistor will be more than enough to put the voltage up to levels where the stamp identify as logic 1. I think the best way is for you to LOOK FOR Voltage devider on the internet and try to understand that (is much better if you lookfor it than we teach you , belive me you will learn much more).
But never assume that a floating wire has Zero Volts on it ! it is safer and right to work with everithyng tide up.
Regards
Amaral
2. No, your diagram shows a "current limiting" resistor, not a "pull-up" resistor. Because the purpose of that resistor in that circuit is not to 'pull-up' the voltage on the LED, but instead to limit the current through the LED.
Wrote:
"2. No, your diagram shows a "current limiting" resistor, not a "pull-up" resistor. Because the purpose of that resistor in that circuit is not to 'pull-up' the voltage on the LED, but instead to limit the current through the LED."
Another question:
Is it how you wire the same resistor that makes it pull-up, pull-down or a limiting current resister as you have put it?
Amaral:
Thank you for pointing me to "Voltage devider". I will look it up.
A resistor is a resistor. It is called pull-up, pull-down, current-limiting, biasing, whatever, according to the use that you put it to in-circuit... Some resistors are put in power supply circuits in order to provide a path for the massive capacitors to discharge through so that technicians don't receive rude surprises. Those resistors are known by none of the above names, but they are still resistors...
Terry
After a few years, I may sign each of my posts as, "I have learnt it all here".