599 Menlo Drive, Suite 100
Rocklin, California 95765, USA
Office:
(916) 624-8333
Fax:
(916) 624-8003
General:
info@parallax.com
Technical:
support@parallax.com
Web Site:
www.parallax.com
Educational:
www.stampsinclass.com
BASIC Stamp 1 Project Board (#27112)
Development / Education Platform for the BASIC Stamp 1
Introduction
When the BASIC Stamp 1 was introduced
–
10 years ago
–
nobody could foresee the impact this
ingenious little controller would have on the electronics world; at both the hobbyist
and
professional
levels. The original BASIC Stamp 1 (BS1) and its big brothers, the BASIC Stamp 2 family, have sold
millions of units all over the world, and into every application and industry one can imagine.
The BASIC Stamp 1 has been used for years in award-winning Science Fair projects, in industry, in
hobbyist and professional robotics, in television and motion picture props and special effects
–
the BS1
has a long and illustrious track record you're in very good company when you choose it.
The BS1 Project Board is a low-cost reintroduction of the original BASIC Stamp in a HomeWork Board
type platform that has become a standard for students, hobbyists, and even professional engineers. The
board includes everything you need to get started with microcontroller applications at minimal expense
–
just add your external circuits, code, and imagination.
Features
BASIC Stamp 1 microcontroller built right into the board
I/O pin protection resistors (220
)
makes the BS1 Project Board "student safe"
Wall-pack (2.1 mm center-positive plug) or 9-volt battery power supply connections
(mechanically interlocked to prevent dual connection)
Voltage regulator delivers up to 40 mA of power for circuits
DB9 connector for Stamp-IC programming and DEBUG communication during run-time
(includes serial adapter circutit and requires Windows BASIC Stamp Editor, V2.1 or higher)
3
1 /
8
" x 2" solderless breadboard for external components
PCB prototyping area configured for several convenient options
Mounting holes for permanent installation into your projects
Packing List
Verify that your BS1 Project Board kit is complete in accordance with the list below:
BS1 Project Board
Solderless Breadboard
Bag of (10) Jumper Wires
Documentation
#555-27112 (includes solderless breadboard)
#700-00012
#800-00016
Several BASIC Stamp 1 demonstration programs are installed with the Windows BASIC Stamp Editor
Additional demonstration and application files may be downloaded from Parallax.
Parallax, Inc.
•
BS1 Project Board (#27112)
•
10/2004
1
Select Project Board Configuration
The BS1 Project Board may be setup for one of two configurations:
1. Experimenting by assembling circuits on the solderless breadboard.
2. Permanent project by soldering components or accessories to the PCB
To use the solderless breadboard, remove the paper backing and attach it to the PCB as shown below.
For permanent projects, you may leave off the breadboard and solder components directly to the PCB.
Parallax offers a range of accessory component kits for the BS1 Project Board. The figure below shows
the layout of the printed circuit board:
2x10 header is AppMod header
Contrast pot for 2x8 LCD
This block has Vdd pads
Vss
Vin
To 220 (verticlal)
Vss
Vsvo VREG for servos
.1 socket for cap on servo power
SVO CONN P7 (s + -)
SVO CONN P6 (s + -)
SVO CONN P5 (s + -)
SVO CONN P4 (s + -)
SVO CONN P3 (s + -)
SVO CONN P2 (s + -)
SVO CONN P1 (s + -)
SVO CONN P0 (s + -)
Cap for servo power (+ -)
Vss
Breadboard/Prototyping Area
2x7 hdr. for
2x8 char. LCD
Vin
Vdd
Vdd
P7
P6
P5
P4
P3
P2
P1
P0
Vss
Vss
1x5 CONN for SEETRON LCD display
Data line = P0
*
Pad denotes Pin 1 where applicable.
2
Parallax, Inc.
•
BS1 Project Board (#27112)
•
10/2004
Getting Connected with the Breadboard Configuration
1. Start by making sure that you have the latest Windows BASIC Stamp Editor. The BS1 Project
Board requires Editor version 2.1 or higher. If you have an earlier version, please download and
install the latest update before proceeding. Start the BASIC Stamp Editor.
2. Connect a standard 9-pin serial cable (do not use a Null Modem cable, this will not work) between
an available serial port on your PC and the programming connector on the BS1 Project Board.
3. Connect a wall-pack (6
–
15 volts DC) power supply or 9-volt battery.
4. Move the power switch to the On position. You should see a red power LED illuminate. If not,
check your power supply (must be center-positive) or battery (perhaps dead).
Once you have made the proper connections and verified that the power LED is lit, it's time to test the
programming link between the BASIC Stamp Editor and the BS1 Project Board. On the Editor toolbar,
locate the
Identification
button:
After clicking the
Identification
button, the following dialog will appear (Note: Your system will probably
have different serial ports):
If the Editor is not able to locate the BASIC Stamp 1, check the following items in order:
1. Is the power switch set to On and the red power LED lit?
2. Is the serial cable connected to the BS1 Project Board and to the PC?
3. Is the serial port already in use by another program (like a PDA synch program)? If so, disable
the program while using the BS1 Project Board or select another serial port.
4. Has the serial port been excluded from the Identification search? Click the
Edit Port List
button to
verify that it can be searched, or add it to the port list. You may also need to open the
Preferences
dialog and from the
Editor Operation
tab, set the
Default Com Port
to AUTO.
Once you have a connection, the final step is to do a simple test of the board. Enter the following
program into the editor, and then click the
Run
button on the toolbar.
Parallax, Inc.
•
BS1 Project Board (#27112)
•
10/2004
3
' {$STAMP BS1}
' {$PBASIC 1.0}
DEBUG "Hello, World!"
The program will be compiled and downloaded to your Stamp. Immediately thereafter you will be greeted
by the
DEBUG
window with the "Hello, World!" message. Congratulations, the BS1 Project Board is up
and running and ready for your experiments.
You may notice that after running the test program the power LED blinks very briefly about every two
seconds. This is normal behavior. Refer to the
END
instruction in the manual or online help file for a
complete explanation.
Using the Breadboard
The breadboard has many strips of copper which run underneath the board in a horizontal fashion. These
strips connect the sockets to each other. This makes it easy to connect components together to build
circuits.
To use the breadboard, the legs of components or wires are placed in the sockets. The sockets are made
so that they will hold the component in place. Each hole is connected to one of the metal strips running
underneath the board. Each metal strip forms a node. A node is a point in a circuit where two components
are connected. Connections between different components are formed by putting their legs in a common
node. There are two columns of 17 nodes on the breadboard. Each node contains five holes.
For chips with many legs (ICs), place them in the middle of the board so that half of the legs are on the
left side and half are on the right side. Nodes on the left side are not connected to nodes on the right side.
4
Parallax, Inc.
•
BS1 Project Board (#27112)
•
10/2004
Example Circuit
On the left is a simple circuit used to monitor light levels. The illustration on the right shows how this
circuit can be constructed on the breadboard.
Technical Notes About Pin Protection Resistors
The BS1 Project Board includes 220
resistors inline with every I/O pin to protect the Stamp interpreter
chip from inadvertent short circuits. In most cases these resistors will have no affect on your
experiments. There may be times, however, when you chose to account for them. For example, if you
have the following typical LED circuit:
To maintain about the same LED brightness you could change the resistor value from 470
to
220
,
since it will be in series with the onboard 220
resistor as shown below.
The total resistance is now 440
,
very close to the original circuit while using standard component
values. When making resistor substitutions like this, be sure to consult the Technical Specifications table
below to remain within the source and sink limitations of the BASIC Stamp 1.
Parallax, Inc.
•
BS1 Project Board (#27112)
•
10/2004
5