WAM newbie: Resistors
KB6WIJ
Posts: 9
I'm working on WAM (v2.1), chapter 3. Regarding pull-up and pull-down resistors , why not simply connect the pin in question to Vdd or Vss? Should there always be a resistance between a pin and a voltage? If so, how much?
BTW, why isn't Vss simply called "ground" or "negative"?
Thanks in advance! Joe
BTW, why isn't Vss simply called "ground" or "negative"?
Thanks in advance! Joe
Comments
·· Pull Up-Down resistors are there to keep the input from floating or oscillating between states when it's not tied high/low by the button or input device.· It's possible to see inputs change states by leaving them floating and waving your hand near the pins.
·· For this reason the pin is pulled (not tied) to the opposite of it's active state.· The in-line resistor is there in case of a programming mistake where you accidentally make an input pin an output.· By putting that resistor there it prevents the I/O pin from being damaged if you do make that mistake.· 220 ohm resistors are used on the Homework Board for this purpose, and often used in our circuit diagrams/schematics for various input/output devices, especially switches.
·· By sticking to the industry standard designations, such as Vdd and Vss, we ensure that you learn the terminology used in all standard schematics and circuit diagrams everywhere.· That cuts down on some confusion later on if you pursue a career in electronics or microcontrollers.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
The reason for not directly going to Vdd or Vss is that when the switch is closed, it would cause a short-circuit between Vss and Vdd, which is not good. The resistor limits current between those 2 points when the switch is closed.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
Electronic Systems Technologies
Southern Illinois University Carbondale
Personal Links - ·Lot of BASIC Stamp info
and
SelmaWare Solutions
StampPlot Pro Version 3 Release 4
Graphical Data Acquisition for your Micro and Imagination!
Now allows additional controls to be added, or developed.
·
Thanks, Chris and Martin! This really helps a lot!
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
But thanks for the warning anyway!
Joe
·· All of us working with electronics have smoked something at one time or another.· The trick is to not tempt fate.· I don't!· · That's not to say I'm not an experimenter at heart, because I am...But a more careful one now.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com