27964 Parallax Inc, 27964 Datasheet - Page 7

UNIPOLAR STEPPER MOTOR 12VDC

27964

Manufacturer Part Number
27964
Description
UNIPOLAR STEPPER MOTOR 12VDC
Manufacturer
Parallax Inc
Datasheet

Specifications of 27964

Accessory Type
Unipolar Stepper Motor
For Use With/related Products
BASIC Stamp®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
M425P-5
Test Program for Stepper Class
public class stepperTest {
}
© Parallax, Inc. • Unipolar Stepper Motor (#27964) • 02/2006
public static final int STEPS_PER_REV = 48;
public static void main() {
}
Stepper motor = new Stepper(CPU.pin4, CPU.pin5, CPU.pin6, CPU.pin7);
while(true) {
}
motor.stepFFwd(STEPS_PER_REV, 15);
CPU.delay(5000);
motor.stepFRev(STEPS_PER_REV, 15);
CPU.delay(5000);
// one rev clockwise
// wait 1/2 second
// one rev counter clockwise
// wait 1/2 second
7

Related parts for 27964