Hey all. I am trying to drive a
Nema 23 stepper motor for a project I am working on. I have attached a picture of my setup and my code.
I have decided to drive the motor using a microstep driver. The barrel jack (as shown in the picture) connects to a 24V wall adapter.
The motor leads are connected as follows: A+: Black A-: Green B+: Red B-: Blue
The DIR- and PUL- pins are connected to common ground on the arduino uno. The DIR+ pin is connected to digital pin 3 on the uno, and the PUL+ pin is connected to digital pin 2 on the arduino.