I have a bipolar stepper that I would like to use and I have a Dual Motor Driver Module board H-bridge with DC MOSFET IRF3205 that could handle the current.
I got it for a supplier in China . It controls two DC motors well. Here is the link.
I was wondering how to use it to control a large stepper. I am confused since it has a DIR1 and DIR2 pins and a PWM1 and PWM2 pins. I understand the pins with DC motors, but my Stepper has two phases, thus four wires. So that would mean each phase connects to the motor1 and motor2 terminals.
However, what would my code be? I am use to an hbridge with controlling a four wire stepper. (A1, HIGH);, (A2, lOW);, (B1, HIGH);(B2,LOW), for example. Or using the various stepper Liabraries. However, I am not sure how to code the stepping. and the RPM.
But how do I code a step with a Directional pin and a PWM pin? That is my question.