Simple Arduino + EasyDriver + Stepper Motor

Hey everyone,

I have an Arduino UNO and a 100% legit Sparkfun EasyDriver, with a stepper motor I bought on eBay.

Here is the stepper motor eBay link: http://www.ebay.co.uk/itm/Nema-17-Stepp … SweW5VfZDI

I am following this guide:

http://www.schmalzhaus.com/EasyDriver/E … mples.html

But the motor does not move at all! It’s as if its not connected. Could the stepper motor be at fault? Should I buy a new stepper motor?

here is the code for my Arduino, it’s so simple:

#include <Stepper.h>

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  
  pinMode(8, OUTPUT);     
  pinMode(9, OUTPUT);
  digitalWrite(8, LOW);
  digitalWrite(9, LOW);
}

void loop() {
  digitalWrite(9, HIGH);
  Serial.println("turning");
  delay(1000);
  Serial.println("not turning");          
  digitalWrite(9, LOW); 
  delay(1000); 
}

it outputs:

turning
not turning
turning
not turning
etc...

Are you sure you hooked it up right? You didn’t specify how you connected everything.

Ross Robotics:
Are you sure you hooked it up right? You didn’t specify how you connected everything.

I hooked it up like this:

http://www.schmalzhaus.com/EasyDriver/E … le1_bb.png

pins 9 for step, and pin 8 for direction

The stepper motor has the following wires:

http://kfdown.s.aliimg.com/kf/HT1ktUSFI … gOFbXr.jpg

I paired up black + green and red + blue.