Understanding Output
Dr.No
Posts: 60
I have the Basic Stamp Rev. D.
I would like to know the difference with these types of output pins and when to use them:
Output
low output
hight output
Thanks
I would like to know the difference with these types of output pins and when to use them:
Output
low output
hight output
Thanks
Comments
Download the Basic Stamp Reference Manual (www.parallax.com/tabid/440/Default.aspx) and look at the chapters on these statements. They explain what the statements do and give examples of their use.
Low =off=0 volts=logic 0
The negative side of the battery is called ground, and is the reference for 0 volts, also known as Vss. See http://en.wikipedia.org/wiki/IC_power_supply_pin
Circuit voltages are measured relative to ground (or Vss, or battery negative, it's all the same). The Stamp and most probably any associated circuitry are powered by exactly 5.0 volts, and digital switching drives output pins to either 0 volts (ground, Vss, low, logic 0, it's all the same) or 5 volts (Vdd, high, logic 1, all the same). If a pin is an input, the stamp measures the voltage at the pin and calls it LOW (logic 0) if it is below about 1.2 volts. Above 1.2 volts, the stamp calls it HIGH (logic 1).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
I used my stamp many years ago so I'm just learning it all over again.