Trouble with stepper motor and big easy driver - vibrating, but wont move.

Hey guys, how's it going,

Here's the thing, I'm having trouble moving my stepper motor. I'm using a big easy driver 1.2, and I'm hooking it up just as shown : Big Easy Driver stepper motor driver
My motor is a 6-wire Airpax Series 4SHG 120A46S Stepper Motor 1.8°, 12 Volts, 28 ohms/coil.

My arduino is the duemillenove (2009), the DIR and STEP are hooked up right, but the motor just vibrates. It won't do a 360. I tried hooking up the wires to the AABB on the BED according to the datasheet, I tried figuring out the wires with a meter and I tried a bunch of different combinations.

This is the code, it's from Easy Driver Examples

void setup() {                
  pinMode(8, OUTPUT);     
  pinMode(9, OUTPUT);
  digitalWrite(8, LOW);
  digitalWrite(9, LOW);
}

void loop() {
  digitalWrite(9, HIGH);
  delay(1);          
  digitalWrite(9, LOW); 
  delay(1);          
}

My goal is to diy a motioncontrol to work with Dragonframe, but I can't even get the motor to turn. Every tutorial I've seen makes it seem so simple.

Any suggestions? It's driving me crazy!

Thanks very much!
Fernando

It looks like you are trying to drive it way too fast. Put a 200 delay in place of the 1 and try again.

I don't thing it's the delay, I tried changing it to 200 but it didn't do anything. At 2 it just moves one step back and forth, vibrating slower. I have a feeling it has to do with the way it's hooked up to the AABB on the BED.
Thanks anyways!

I don't thing it's the delay,

While that not be all that is wrong, it is wrong. Stepping motors generally can't go that fast. So put the large delay in and then swap you motor windings over until it moves.
What you describe happens either because you are going too fast or the windings are wired up wrong and often both.

Make sure that pin 9 is the step and not the direction.

Pins 9 and 8 are correct, I checked many times.

Even with the large delay, I can't seem to find the correct windings. I attached an image of the datasheet, maybe someone can help make sense of it!

Just ignore the white and black wires and treat the red and blue as one set say AA and the other two brown and yellow as BB

I know, I'm already ignoring them. The Red and blue as AA doesn't work, and neither does the other way arround as BB. And neither does any other combination that seems logical.

FernandoNisio:
I know, I'm already ignoring them. The Red and blue as AA doesn't work, and neither does the other way arround as BB. And neither does any other combination that seems logical.

Then you have something wrong that you are not telling us.
Get a meter and measure the voltage across each coil as you step through the sequence by hand, or very very slowly.
The sequence should be as in this link.
http://www.thebox.myzen.co.uk/Workshop/Motors_4.html

Ok thanks, I got a 4-wire motor to work by adjsting the current on the BED, but still no such luck with the 6-wire.

Hey I figured it out! Thanks very much!

Typically it is nice to post what the fix was so others can benefit from your experience.

Hi, can you tell me, What was the solution? Thanks