1: Introduction to the BASIC Stamps
BASIC Stamp Programming Manual 2.0c
•
www.parallaxinc.com
•
Page 7
Welcome to the wonderful world of BASIC Stamp microntrollers. BASIC
Stamp microcontrollers have been in use by engineers and hobbyists since
we first introduced them in 1992. As of July 2000, Parallax customers have
put more than 200,000 BASIC Stamp modules into use. Over this eight-
year period, the BASIC Stamp line of controllers has evolved into five
models and many physical package types, explained below.
General Operation Theory
BASIC Stamps are microcontrollers (tiny computers) that are designed for
use in a wide array of applications. Many projects that require an
embedded system with some level of intelligence can use a BASIC Stamp
module as the controller.
Each BASIC Stamp comes with a BASIC Interpreter chip, internal memory
(RAM and EEPROM), a 5-volt regulator, a number of general-purpose I/O
pins (TTL-level, 0-5 volts), and a set of built-in commands for math and
I/O pin operations. BASIC Stamps are capable of running a few thousand
instructions per second and are programmed with a simplified, but
customized form of the BASIC programming language, called PBASIC.
PBASIC Language
We developed PBASIC specifically for the BASIC Stamps as a simple, easy
to learn language that is also well suited for this architecture. It includes
many of the instructions featured in other forms of BASIC (GOTO,
FOR...NEXT, IF...THEN) as well as some specialized instructions (SERIN,
PWM, BUTTON, COUNT and DTMFOUT). This manual includes an
extensive section devoted to each of the available instructions.
Hardware
At the time of this writing, there are currently five models of the BASIC
Stamp; the BASIC Stamp 1, BASIC Stamp 2, BASIC Stamp 2e, BASIC
Stamp 2sx and BASIC Stamp 2p. The diagrams below detail the various
package types and part numbers of these modules.
Содержание 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...