Parallax 29158 Manual

Basic stamp homework board

Advertisement

Quick Links

BASIC Stamp HomeWork Board
#29158 10-pack of Breadboard version
#29157 10-pack of Through-Hole version
Introduction
It's not often that we start technical documentation with a bit of marketing punch. If you like the low cost of a
BASIC Stamp Rev. D (retails ~$34) and the idea of a half-price BASIC Stamp 2 / Board of Education (retails
~$109) then the BASIC Stamp HomeWork board is the ticket for your class. This is the least expensive way to
get a large educational group started with the BASIC Stamp.
The HomeWork Boards were created exclusively for educators to send home with students with these uses in
mind:
BASIC Stamp-related homework assignments
Dedicated science-fair, contest or hobby projects
Students who express personal interest in further developing their BASIC Stamp projects but can't have
their own Board of Education / BS2 due to it's higher cost
Since it's less expensive than the Board of Education / BS2 module, can the board be used for Stamps in Class
experiments? Possibly, with the following considerations:
Servo connection ports for robotics are not included on the HomeWork Board. It's possible to use
male/male headers for servo connections with a second power supply jumpered to the HomeWork
Board to control servos.
220 ohm resistors are built into each of the 16 I/O pins for current protection so the PBASIC interpreter
cannot be easily damaged. This protects the BASIC Stamp from over-current conditions but also
slightly changes the behavior of the Stamps in Class experiments if used on this board based on the
command being used.
Stamps in Class circuit pictorials do not match the HomeWork Board. Again, minor workaround once
you understand the difference between the power supply options.
Power supply is from a 9V battery, not the wall pack.
Current supply from the on-board regulator is limited to 50 mA versus the Board of Education's amp or
more.
However, these cost-reducing limitations do not limit the use of the HomeWork Board for other projects. In fact,
the minimalist design is simple to use and entirely flexible for most projects.
Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1
599 Menlo Drive, Suite 100
General: info@parallaxinc.com
Rocklin, California 95765, USA
Technical: support@parallax.com
Office: (916) 624-8333
Web Site: www.parallax.com
Fax: (916) 624-8003
Educational:
http://www.parallax.com/html_pages/edu/
Page 1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 29158 and is the answer not in the manual?

Questions and answers

Summary of Contents for Parallax 29158

  • Page 1 However, these cost-reducing limitations do not limit the use of the HomeWork Board for other projects. In fact, the minimalist design is simple to use and entirely flexible for most projects. Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 1...
  • Page 2: Package Contents

    Built-in breadboard on StampLab Microcontroller: PIC16C57 surface mount Speed: 20 MHz / about 4,000 instructions per second EEPROM: 2K bytes (program and data) Program Length: ~500 to 600 lines of PBASIC Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 2...
  • Page 3 - a Microchip 2K 8-bit microcontroller programmed with the the BASIC Stamp “Interpreter” that runs the Parallax BASIC Stamp code like a mini operating system; the 24LC16B EEPROM - a Microchip 2K EEPROM (electrically erasable programmable read-only memory) with a user-modifiable read- only memory (ROM) that can be reprogrammed with your BASIC Stamp code;...
  • Page 4 Schematic Power Consumption and Battery Life Parallax normally designs BASIC Stamp boards with power jacks for wall transformers. Wall transformers provide plenty of power but they are not as portable for science fairs, robots and environmental datalogging. Considering that the BASIC Stamp draws only small amounts of current it could be deployed in a remote location and run from a battery for a long time.
  • Page 5 ' I/Os, Constants and Variable definitions loopCounter Byte ' Main Program Start: FOR loopCounter = 0 to 99 DEBUG Home, "loopCounter =", dec loopCounter NEXT PAUSE 1000 GOTO Start Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 5...
  • Page 6 This isn’t as critical as you might think but being prudent only protects your hardware. Before building circuits, disconnect the battery. Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 6...
  • Page 7: Quick Start Programming Guide

    Figures 4 through 8. BASIC Stamp Windows Editor is frequently upgraded and improved with additional features. It is often a good idea to visit www.parallaxinc.com/editor to download the most recent version. Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 7...
  • Page 8 Figure 4 Software install Step 1 – just click “Next”. Figure 5 Software install Step 2. Choose “Typical” for a standard installation. Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 8...
  • Page 9: Downloading A Program

    After entering the desired source code in the editor window, selecting Run -> Run (or pressing Ctrl-R) will tokenize and download the code to the BASIC Stamp (assuming the code is correct and the BASIC Stamp is properly connected). Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 9...
  • Page 10 • Disable any communication port devices (Palm Pilots) • Use CTRL-I to “identify” the BASIC Stamp. Put the successful COM port number in the Edit | Preferences |Editor Operation |Default COM port Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 10...
  • Page 11 BASIC Stamp program download. Want to program with a Palm Pilot, Macintosh or using Linux? In August 2002 Parallax released compiled “tokenizer” code that enables developers of other platforms to design programming interfaces for different operating systems. Check www.parallaxinc.com/editor for possible releases.
  • Page 12: Memory Map

    DOS which Gates provided came with its' version of BASIC. Parallax BASIC Stamps are programmed in PBASIC. This language is intended to be a simple, easy to learn language that is also well suited for the BASIC Stamp’s 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,...
  • Page 13 LED through the resistors. In our circuit the LED will be forward biased and illuminate. Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 13...
  • Page 14: High And Low

    ( second). In our program a value of 500 will allow the PAUSE 1000 LED to stay lit for one-half second. Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 14...
  • Page 15 16 bits wide. In this Outs Dirs Outs case, the bits in are connected to the I/O pins when the associated bits are set to one. When a bit in Outs Dirs Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 15...
  • Page 16 ' LED i/o pin control ' --------------------------------------------------------------- Initialize: LedCtrl = %1 ' make LED pin an output Start: LedPin = On PAUSE 500 LedPin = Off PAUSE 500 GOTO Start Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 16...
  • Page 17 (0 to 7). For each iteration of , the inner loop, controlled by will run blinkBit blinkBit blinkVal 256 times (0 to 255). This is where the action takes place. Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 17...
  • Page 18 Test Your Knowledge If the forward voltage of the LED is 1.7 volts, what is the current through the LED with the total series resistance of 440 ohms (220 + 220)? Parallax, Inc. • BASIC Stamp HomeWork Board ver 1.1 Page 18...

This manual is also suitable for:

29157

Table of Contents