I am trying to set up a rasberry Pi 3 using a 2.60 protoneer and bcnc software. I am using a 24 volt power supply and a nema 17 bipolar stepper motor . I currently only have one stepper motor driver, the DM542T from oyostepper.
The motor turns counterclockwise and runs smooth and quiet. But it turns the same way whether the forward or back button is selected or not. I swapped the wires on one of the phases and it will now turn clockwise, but still only in one direction. I can see with a voltmeter that the direction pin is high and low, so it seems to me that there may be something wrong with the stepper driver or I may have connected something wrong.
I had Dir go to Dir, Enable go to enable, step go to pul, and gnd connected to all other grounds. The Opto was originally jumpered to enable the pins, and that didn't work, so I manually hooked up a 5 volt power supply to the Opto, and that didn't work, so I left the Opto disconnected and now it does what I explained above. I'm new to this hobby, so I'm guessing it's user error.
Any help is greatly appreciated.