27220 Parallax Inc, 27220 Datasheet - Page 165

BOOK STAMPWORKS

27220

Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet

Specifications of 27220

Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
Note how that when the Red wire is part of a pair the resistance is half the other
readings; this is the common wire. Some unipolar motors have six wires. In this
case, two of the wires will be common.
To determine the wiring sequence, follow these steps:
If the motor is spinning in the direction opposite of what is expected, swap the #1
and #4 leads, and the #2 and #3 leads.
smoothly and in the desired direction.
Challenge
Rewrite the program to run the motor in half steps. Keep in mind that while half
steps provide greater position accuracy, the motor torque is reduced and may not be
able to move devices connected to it. Here’s the step sequence:
1. Connect the coil wires in any order. Run the program; if it moves smoothly,
2. If Step 1 doesn’t work, swap the #1 and #4 wire connections. Retest.
3. If Step 2 doesn’t work, swap the #2 and #3 wire connections. The motor
you’re done.
should now run.
Step1 = %1000
Step2 = %1100
Step3 = %0100
Step4 = %0110
Step5 = %0010
Step6 = %0011
Step7 = %0001
Step8 = %1001
Yel
Blk
Org
Brn
Red
Yel
x
225
225
225
112
Blk
x
225
225
112
Org
x
225
112
The motor should now be spinning
Brn
x
112
Red
x

Related parts for 27220