I am trying to control a stepper motor using a micro step driver. I am suspicious that the motor is the problem, but I would appreciate any advice on the code that I have written to turn the stepper forward and backward. So far, it is only capable of turning forwards. I have checked the wires several times to ensure that they are connected to the correct pins and that the driver is on the correct settings. The stepper motor is a 2 phase 4 wire and is rated for 2.8A. The micro step driver is set to 1.7A-2.4A range and at 400 steps per revaluation. Code is attached below.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.