27969 Parallax Inc, 27969 Datasheet - Page 9

BOARD BISTEP MOTOR CTRLR USB

27969

Manufacturer Part Number
27969
Description
BOARD BISTEP MOTOR CTRLR USB
Manufacturer
Parallax Inc
Datasheet

Specifications of 27969

Motor Type
Stepper, Unipolar
Number Of Motors
2
Voltage - Output
15V
Voltage - Logic Supply
6.5 V ~ 15 V
Current - Output
1A
Termination Style
Screw Terminal
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
27964 - UNIPOLAR STEPPER MOTOR 12VDC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Summary
7. Wire the power supply to the BOE (power supply off)
8. Program the BS2 per Parallax’s documentation
First Use
Despite the board labels showing use of a 6-9 volt supply, the BOE will accept use of a 12 volt
supply without harm for this particular application. In order to simplify our wiring to the board,
we elected to use a standard 9 volt battery adapter to easily connect to the board. When this is
done, the colors of the leads coming from the adapter is reversed from the normal assignments: the
black lead needs to be attached to the ‘+’ of the 12 volt power supply, while the red lead is to be
connected to the ‘-‘ side of the 12 volt power supply.
You should use a DVM to confirm that the red lead from the adapter is connected to the BOE
ground; the easiest test point is the shell of the DB9 connector on the BOE – you should see a
resistance of less than 2 ohms when you do the measurement.
We also routed this power to a small perf board from Radio Shack, to simplify connecting the
BOE and the BS0710 to the same power supply.
Program the stamp using an appropriate sample program. For our testing, we used our trivial
application “GenDemo.bs2”, as found in the “C:\UniversalStepper” subdirectory (on a normal
install from our CD).
You will probably need to edit two source lines in the file which define which stamp and what
baud rate is to be used.
A listing of the sample application appears later in this document.
1. Look for the line which has the text “{$STAMP BS2SX}” on it, and change the stamp
2. A few lines later, you will find the definition for a constant called “PortStepperBaud”, as
type to match your stamp (in this example, we changed that line to read “{$STAMP
BS2}”).
well as comments describing the values which should be used with that constant. On the
BS2, this constant should be set to 84. On the BS2SX, this needs to be set to 240 (i.e., set
it to allow for 9600 baud communication)
Peter Norberg Consulting, Inc.
Page 9

Related parts for 27969