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...