1: Introduction to the BASIC Stamps
BASIC Stamp Programming Manual 2.0c
•
www.parallaxinc.com
•
Page 17
Pin
Name
Description
1
SOUT
Serial Out: connects to PC serial port RX pin (DB9 pin 2 / DB25
pin 3) for programming.
2
SIN
Serial In: connects to PC serial port TX pin (DB9 pin 3 / DB25 pin
2) for programming.
3
ATN
Attention: connects to PC serial port DTR pin (DB9 pin 4 / DB25
pin 20) for programming.
4
VSS
System ground: (same as pin 23 on BS2p24, or pin 39 on
BS2p40) connects to PC serial port GND pin (DB9 pin 5 / DB25
pin 7) for programming.
5-20
P0-P15
General-purpose I/O pins: each can source and sink 30 mA.
However, the total of all pins (including X0-X15, if using the
BS2p40) should not exceed 75 mA (source or sink) if using the
internal 5-volt regulator. The total per 8-pin groups (P0 – P7, P8
– 15, X0 – X7 or X8 – X15) should not exceed 100 mA (source or
sink) if using an external 5-volt regulator.
{21-36}
X0-X15
(BS2p40 Only!) Auxiliary Bank of General-purpose I/O pins: each
can source and sink 30 mA. However, the total of all pins
(including P0 – P15) should not exceed 75 mA (source or sink) if
using the internal 5-volt regulator. The total per 8-pin groups (P0
– P7, P8 – 15, X0 – X7 or X8 – X15) should not exceed 100 mA
(source or sink) if using an external 5-volt regulator.
21 {37}
VDD
5-volt DC input/output: if an unregulated voltage is applied to the
VIN pin, then this pin will output 5 volts. If no voltage is applied to
the VIN pin, then a regulated voltage between 4.5V and 5.5V
should be applied to this pin.
22 {38}
RES
Reset input/output: goes low when power supply is less than
approximately 4.2 volts, causing the BASIC Stamp to reset. Can
be driven low to force a reset. This pin is internally pulled high
and may be left disconnected if not needed. Do not drive high.
23 {39}
VSS
System ground: (same as pin 4) connects to power supply’s
ground (GND) terminal.
24 {40}
VIN
Unregulated power in: accepts 5.5 - 12 VDC (7.5 recommended),
which is then internally regulated to 5 volts. May be left
unconnected if 5 volts is applied to the VDD (+5V) pin.
NOTE: Pin numbers in braces {} are BS2p40 pin numbers.
See the "BASIC Stamp Programming Connections" section, below, for
more information on the required programming connections between the
PC and the BASIC Stamp.
Table 1.5: BASIC Stamp 2p Pin
Descriptions.
Содержание BASIC Stamp 2e
Страница 1: ...BASIC Stamp Programming Manual Version 2 0c...
Страница 30: ...Introduction to the BASIC Stamps Page 28 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 34: ...Quick Start Guide Page 32 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 90: ...BUTTON BASIC Stamp Command Reference Page 88 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 118: ...END BASIC Stamp Command Reference Page 116 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 128: ...FREQOUT BASIC Stamp Command Reference Page 126 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 196: ...NAP BASIC Stamp Command Reference Page 194 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 206: ...OWIN BASIC Stamp Command Reference Page 204 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 214: ...OWOUT BASIC Stamp Command Reference Page 212 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 216: ...PAUSE BASIC Stamp Command Reference Page 214 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 226: ...POLLMODE BASIC Stamp Command Reference Page 224 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 232: ...POLLOUT BASIC Stamp Command Reference Page 230 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 236: ...POLLRUN BASIC Stamp Command Reference Page 234 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 240: ...POLLWAIT BASIC Stamp Command Reference Page 238 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 262: ...RCTIME BASIC Stamp Command Reference Page 260 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 274: ...RUN BASIC Stamp Command Reference Page 272 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 310: ...SEROUT BASIC Stamp Command Reference Page 308 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 324: ...STOP BASIC Stamp Command Reference Page 322 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 340: ...ASCII Chart Page 338 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 342: ...Reserved Words Page 340 BASIC Stamp Programming Manual 2 0b www parallaxinc com...
Страница 346: ...Conversion Formatters Page 344 BASIC Stamp Programming Manual 2 0b www parallaxinc com...