27969 Parallax Inc, 27969 Datasheet - Page 12
27969
Manufacturer Part Number
27969
Description
BOARD BISTEP MOTOR CTRLR USB
Manufacturer
Parallax Inc
Datasheet
1.27969.pdf
(21 pages)
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
Sample program listing – GenDemo.bs2
First Use
'
'
****************************************************************************
'
' Be Sure to select the correct stamp and baud rate
' You might have the BS2, BS2SX, etc.
' {$STAMP BS2SX}
' Select the baud rate control:
'
'
'
'
PortStepperBaud
'
****************************************************************************
' SimStep or BiStep controller connected as follows.
remove the "JS" jumper (or the MAX232
'
line will not be overloaded.
'
'
'
motion in progress)
PortStepperSerFrom
PortStepperSerTo
PortStepperBusy
PortStepperBusyTest var in3
test
idMicroStep var byte
' Code restarts here if RESET button pressed
from stepper
stepper power on cycle
stepper, set 4/64 full-step step size
Stamp
----------
BS2/BS2e
BS2sx/BS2p
or equivalent serial buffer chip) from the controller, so that the SI
Serial Input P1 to controller SO/B7 Serial output
Serial Output p2 to controller SI/B6 Serial Input
busy
input
pause 250
serout PortStepperSerTo,PortStepperBaud,["4!"]
----
9600
240
p3 to controller RDY/B5 Status Output (HIGH = idle, LOW =
84
con 240
con
con
con
2400
----
1021
PortStepperBusy
396
1
2
3
' Same as PortStepperBusy, used for input
' Serial from stepper port
' Serial to stepper port
' Busy line
' Gets microstep mode; cycles 0 to 3
' Baud rate to generate 9600 baud on BS2sx
Peter Norberg Consulting, Inc.
Please remember to
' Wait for
' Reset the
' BUSY
Page 12