Hello! I'm new to Arduino and am having a little bit of trouble, so I thought I would try this out and ask the pros. I have an Arduino Uno a Big Easy Driver and a 234 stepper from adafruit as well as a 24V power supply. I have attached my sketch and I think it's correct. I copied it from a YouTube video I was trying to learn from (NYC CNC Steppers). The goal is to rotate the stepper in one direction until it has taken so many steps then pause and rotate back the same amount. The problem I'm having is the motor doesn't turn at all, it just becomes hard to turn by hand. From what I have read this usually means there is a short somewhere. I checked all my connections, checked all wires for continuity, ohmed out the coils on the stepper to be sure I have them correct and verified the voltage coming from the power supply is correct. I've no luck so far. I am using pins 8 and 9 for the stepper and of course a ground. It seems it should be pretty straight forward, but I guess not. Any help would be great and thanks in advance.
Stepper_Motor_fixed_distance.ino (532 Bytes)