Wiring Schematic
singalls
Posts: 11
Hello everyone,
I purchased a Whats a Microcontroller package to start playing around with electronics, etc.· I have been a corporate programmer most of my life, so I have no problem understanding the Basic language.· What I am having problems with is reading the wiring schematic.· It is really easy to follow the diagram for plugging in stuff, but I would really like to understand the schematic.· Does anyone have a link or the like to explain this more?· I appreciate any help.
Steve
I purchased a Whats a Microcontroller package to start playing around with electronics, etc.· I have been a corporate programmer most of my life, so I have no problem understanding the Basic language.· What I am having problems with is reading the wiring schematic.· It is really easy to follow the diagram for plugging in stuff, but I would really like to understand the schematic.· Does anyone have a link or the like to explain this more?· I appreciate any help.
Steve
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Steve
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
The 220ohm resistor just keeps the full vdd from going into the stamp when you press the button.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
Steve
Vcc = -
The 220 ohm is not necessarily needed but makes good design practice. You can put 5v on the input but the resistor adds a level of safety. When you are dealing with a $50 chip a .02 resistor makes good economic sense.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
Post Edited (Mike2545) : 4/3/2009 11:07:38 AM GMT
The 220 Ohm resistor is to protect against short circuits on the I/O pins of a microcontroller like the Stamps. If you connect the I/O pin to another device or a switch, that device or switch typically will connect the I/O pin to either Vss or Vdd since Vss is considered a logic low or zero and Vdd is considered a logic high or one. If, by mistake, the I/O pin is switched to output mode rather than input mode and the setting of the output pin happens to be opposite from that of the switch or other device, you have a short circuit between Vss and Vdd and it doesn't take long for the internals of the I/O pin circuitry on the Stamp to melt. It's designed for a current of 20mA to 25mA. The 220 Ohm resistor limits the short circuit current to about 25mA which the Stamp can withstand indefinitely and usually doesn't affect other uses of the I/O pin.