Stepper motor controller and arduino

ACrespin124:
Here's my code:

That is very long compared to mine :slight_smile:

If this code makes your stepper move more than one step then your driver must be very different from the type my code is intended for

    digitalWrite(StepperStart, HIGH);
    delay(25);
    digitalWrite(StepperDirection, LOW);
    digitalWrite(StepperDistance, HIGH);
    delay(100);
    digitalWrite(StepperDistance, LOW);
    digitalWrite(StepperStart, LOW);

If this code does make you stepper move multiple steps please post a link to the datasheet for your stepper driver.

...R