If you want to change the rotation speed of the motor, just change the time between the two turn-ons, and to change the rotation direction of the motor, just change the order in which the coils are turned on.
Changing the wiring on the drive can regulate the speed and direction as follows:
1. The output end of the driver is connected to the stepper motor, and the input terminal is connected to the IO port of the single-chip microcomputer.
2. There are six interfaces (A- A+ B- B+ V- V-v+) at the output end, and the lines in the same direction (A- A+ and B- B+) are connected together, and then connected to the line of the stepper motor in phase.
3. Speed regulation and direction adjustment through programming control: modify the speed of motor rotation, only need to modify the frequency output of the single-chip microcomputer; Change the order in which each coil is switched on to adjust the direction.