90005 Parallax Inc, 90005 Datasheet - Page 10

KIT BASIC STAMP ACTIVITY

90005

Manufacturer Part Number
90005
Description
KIT BASIC STAMP ACTIVITY
Manufacturer
Parallax Inc
Series
BASIC Stamp®r
Type
MCUr
Datasheet

Specifications of 90005

Contents
Board, cable, components, manual and software
Interface Type
RS-232
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® 2 and Board of Education
For Use With
900-00014 - SERVO CONTROLLER PICO GWS28824 - SERVOPAL SERVO PULSER TIMER130-28029 - KIT PARTS SMART SENSORS28029PAR - KIT PARTS SMART SENSORS W/TEXT28030 - ADAPTER USB TO SERIAL RS23290005 - KIT BASIC STAMP ACTIVITY805-00006 - CABLE USB A TO MINI B28325 - EXPANDER DB-TO-SIP BASIC STAMP27937 - MEMORY STICK DATALOGGER658-1021-5 - PROGRAMMER TEACLIPPER/STAMP30010 - BASIC STAMP LOGIC ANALYZER28119 - KIT UNDERSTANDING SIGNALS28022 - KIT DS2760 THERMOCOUPLE28128 - KIT BASIC ANALOG/DIGI PARTS ONLY27963 - SOLUTIONS CUBED: MEMKEY27964 - UNIPOLAR STEPPER MOTOR 12VDC27220 - BOOK STAMPWORKS27938 - MOTOR CONTROLLER LITTLE STEP-U27330 - PROGRAMMER STACHE BASIC STAMP27218 - MANUAL BASIC STAMP VER 2.0
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Because the Windows editor supports more than one model of the BASIC Stamp, it is necessary to tell the editor
which model you are trying to program. The STAMP directive is a special command that should be included
(near the top) in a program to indicate the model of BASIC Stamp targeted. The line below is an example of the
STAMP directive (in this case, it indicates that the program is intended for a BASIC Stamp 2):
' { $STAMP BS2 }
This line should be entered into your code, usually near the top, on a line by itself. The STAMP directive is read
and acted upon by the BASIC Stamp Windows Editor any time a source code file is loaded, tokenized,
downloaded (run). In order to test communication between the BASIC Stamp and your PC, download a simple
program as shown below.
' { $STAMP BS2 }
DEBUG “Hello World!”
After you’ve typed in the program, download it using the ► button or the Run | Run menu. If it worked, you’ll see
a blue “debug” window which displays characters sent by the BASIC Stamp to the PC for display (Figure 10).
Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1
BASIC Stamp
Figure 9
Windows
Editor.
Communication Problem? If the PC didn’t successfully
communicate with the BASIC Stamp, you would have
received an error message similar to this one.
Troubleshooting suggestions:
• Check power supply and serial cable connection to
• Disable any communication port devices (Palm
• Use CTRL-I to “identify” the BASIC Stamp. Put the
PC
Pilots)
successful COM port number in the Edit |
Preferences |Editor Operation |Default COM port
Page 10

Related parts for 90005