Sensing Vdd and Vss.
cedtinsi
Posts: 45
I was reading through the "What is a microcontroller?" manual and on the circuit at page 69, I had to figure out why the Basic Stamp senses a low signal when the pushbutton is being pressed. I thought that it is because the current coming from Vdd reaches the pushbutton and divides,a part of this current going to the 220 ohms resistor and the other part to Vss. Is my thought on this correct?
If I am correct, then the Basic Stamp sends a 0 to the debug terminal when the pushbutton is pressed, not because it actually senses Vss but because it senses a potential a little less than Vdd; am I correct?
Please If I am wrong, can you explain that to me because I need your help on this.
thank you for your consideration.
thank you in advance.
If I am correct, then the Basic Stamp sends a 0 to the debug terminal when the pushbutton is pressed, not because it actually senses Vss but because it senses a potential a little less than Vdd; am I correct?
Please If I am wrong, can you explain that to me because I need your help on this.
thank you for your consideration.
thank you in advance.
Comments
To find out how current flows in a circuit, you need to study Ohm's Law and Kirchoff's Law, both of which are explained well on the Wikipedia (look them up). When the pushbutton is pushed, the 220 Ohm resistor is essentially connected to Vss and the Stamp's input circuitry sees perhaps milliVolts above Vss, essentially zero Volts.
It is against forum rules to post the same message on more than one forum. Your other message has been deleted and any further questions or comments should be made here. If you want this whole thread moved to another forum, ask, but it belongs here as much as anywhere else.
Please, I know the problem is not in the circuit, it is me understanding; I would really appreciate if you could point out what I miss.
About the double thread, I am sorry.
I just couldn't delete one of those.
thanks.
C.W.