Yes. I have tried crossing the wires and connecting it in order. Right now the arduino is powered off usb to my computer and the motor controller is powered through an AC-DC power supply that outputs 5V-2.1A. That should be an excessive amount of current for it to draw from but I also tried an AC-DC power supply that outputs 5V-550mA as the motor controller shouldn't be drawing more than than half that amount.
I thought I solved my problem last night when I found this helpful thread:
However after reading through it and trying all the different suggestions and uploading any code listed or linked to I still got absolutely no movement.
I just tried moving the motor controller out of pins 8-11 to see if I did destroy those pins but still nothing on pins 3-6. When doing this I tried it sequentially along with plugging it 3,5,4,6.
This is the code I just tried that with in order to see if I could get the stupid motor to move at all:
/*
Stepper Motor Control - one revolution
This program drives a unipolar or bipolar stepper motor.
The motor is attached to digital pins 8 - 11 of the Arduino.
The motor should revolve one revolution in one direction, then
one revolution in the other direction.
Created 11 Mar. 2007
Modified 30 Nov. 2009
by Tom Igoe
*/
#include <Stepper.h>
const int stepsPerRevolution = 2038; // change this to fit the number of steps per revolution
// for your motor
// initialize the stepper library on pins 8 through 11:
Stepper myStepper(stepsPerRevolution, 3, 4, 5, 6);
void setup() {
// set the speed at 60 rpm:
myStepper.setSpeed(5);
// initialize the serial port:
Serial.begin(9600);
}
void loop() {
// step one revolution in one direction:
Serial.println("clockwise");
myStepper.step(stepsPerRevolution);
delay(500);
// step one revolution in the other direction:
Serial.println("counterclockwise");
myStepper.step(-stepsPerRevolution);
delay(500);
}
I also can in fact make an LED light up with my switch on pins 8-11.
Maybe the motor gods just hate me