AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
AccelStepper stepper(AccelStepper::DRIVER, 9, 8);
Ok, i tried it with different example codes and also tried "Simple Stepper Code". It doesnt move.
Looks like the +5V terminal in the signal group is the common "return" wire, connect to Arduino 5V pin, STEP and DIR will be LOW true.
If that means the code from my link then stick with that until you get it working. If it won't work with that simple code it won't work with anything more complex. Just make sure there is a long interval between steps - at least 250 millisecs - so the motor is moving very slowly.I presume you have made sure that the step and direction pins in the code match your physical connections.Are you sure you have identified which pairs of motor wires belong to the different coils in the motor?Be VERY CAREFUL never to disconnect the wires between the motor and the stepper driver while the driver is powered up. The driver will be instantly destroyed,Have you set the current limit correctly to match your motor?What micro-stepping setting have you set? For testing I recommend full steps....R
I even tested with a same brand different motor and different driver.
I think Ill just have to buy a driver with dir+/- and step+/- .
Do you mean that you have two different examples of that stepper driver?It may well be that your driver is damaged but I don't think the fact that it refers to the pins as PUL and DIR matters.
Have you tried with the enable pin HIGH and with it LOW?
Did you try the AccelStepper library? Use the "ConstantSpeed" or "Bounce" examples. Replace the line below...Code: [Select]AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5with...Code: [Select]AccelStepper stepper(AccelStepper::DRIVER, 9, 8);