Unipolar Stepper Control

Hello,

I am trying to control a Hurst unipolar stepper motor with an Arduino Uno board and I’m having some trouble getting proper function.
I wired the circuit using the 4-wire control shown here: http://www.tigoe.net/pcomp/code/circuits/motors/stepper-motors/

And my code is as follows:

#include <Stepper.h>

#define motorSteps 200
#define motorPin1 8
#define motorPin2 9
#define motorPin3 10
#define motorPin4 11

// initialize of the Stepper library:
Stepper myStepper(motorSteps, motorPin1,motorPin2,motorPin3,motorPin4);

void setup() {
// set the motor speed at 60 RPMS:
myStepper.setSpeed(60);

}

void loop() {
// Step forward 100 steps:

myStepper.step(100);
delay(500);

// Step backward 100 steps:

myStepper.step(-100);
delay(500);

}

However, when I run the function, the motor turns once (usually) and then just vibrates and doesn’t move.

Does anyone know why this might be happening?
I hope I’ve provided enough information but I can provide any other data needed.

Thank you for your help!

What supply voltage are you using?

Try a much lower speed.

Thank you for your response,

I am using a 4.8V supply, and I have tried lower speeds with either similar results or no motion at all

I have tried lower speeds with either similar results or no motion at all

A correctly working motor will work at the lowest seed you can step it. If it is failing to work slow then you have it wired up wrong, try swapping the coils over.