28158 Parallax Inc, 28158 Datasheet - Page 6

BOARD HOMEWORK BASIC STAMP(10PK)

28158

Manufacturer Part Number
28158
Description
BOARD HOMEWORK BASIC STAMP(10PK)
Manufacturer
Parallax Inc
Series
BASIC Stamp® 2r
Type
BASIC Stamp Kitr
Datasheet

Specifications of 28158

Contents
Development Board
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
2815809-6
Manufacturer:
BENDIX
Quantity:
3
Part Number:
2815810-6
Manufacturer:
UNITRODE
Quantity:
594
Part Number:
2815832-6
Manufacturer:
BENDIX
Quantity:
6
With this first example the Running Indicator LED remains on when the PAUSE command is executed. Current
consumption remains at 10 mA.
' POWER DEMO - PAUSE.BS2
' Demonstrates the Running Indicator LED behavior with the PAUSE command
' {$STAMP BS2}
' {$PBASIC 2.5}
' Variable definition
loopCounter
' Main Program
DO
LOOP
With the SLEEP example the Power LED turns off when the SLEEP command is being executed because the
EEPROM is inactive. Current consumption is 10 mA while the loop is being executed but drops to 40 µA during
the SLEEP command.
' POWER DEMO - SLEEP.BS2
' Demonstrates the Running Indicator LED with SLEEP command
' {$STAMP BS2}
' {$PBASIC 2.5}
' Variable definition
loopCounter
' Main Program
DO
LOOP
Precautions
Be alert to static-sensitive devices and static-prone situations. The BASIC Stamp, like other integrated circuits,
can be damaged by static discharge that commonly occurs by touching grounded surfaces or other conductors.
Environmental conditions (humidity changes, wind, static-prone surfaces, etc) play a major role in the presence
of random static charges. It is always recommended to use grounding straps and anti-static or static dissipative
mats when handling devices like the BASIC Stamp. Since you don’t have a dissipative mat, touch a grounded
surface after you have approached your work area. This isn’t as critical as you might think but being prudent only
protects your hardware.
Quick Start Programming Guide
You can find a quick-start guide for connecting the HomeWork Board to the PC and testing the programming
connection in the first two chapters of "What's a Microcontroller?"
Stamps in Class book is available as a free PDF download from www.parallax.com.
Copyright © Parallax, Inc.
FOR loopCounter = 0 TO 99
DEBUG HOME, "loopCounter =", DEC loopCounter
NEXT
PAUSE 1000
FOR loopCounter = 0 TO 99
NEXT
SLEEP 1
Before building circuits, disconnect the battery!!
DEBUG HOME, "loopCounter =", DEC loopCounter
VAR
VAR
Byte
Byte
#28158 BASIC Stamp HomeWork Board v1.3 1/10/2007
This fully HomeWork Board-compatible
Page 6 of 6

Related parts for 28158