Am having two stepper motors from two different(yet similar) CD Drives. Both motors are bipolar( 4 wires). I’ve connected a setup using L293DNE and Arduino, to connect a bipolar motor, having 5V power supply from USB(on Arduino itself). I’ve already figured out the wire configuration. My code is:
#define motorSteps 12
#define motorPin1 3
#define motorPin2 4
#define motorPin3 5
#define motorPin4 6
Stepper myStepper(motorSteps, motorPin1,motorPin2,motorPin3,motorPin4);
Now, the problem is, the motor only jogs, but no run. It only jogs as a forward-backward step. I couldn’t able to have even a complete revolution. I’ve checked the code on other motor but the result is still same.
What is the culprit here?? what I’m doing wrong??
Some another day I’ve connected a 6 wire unipolar stepper using ULN2004AN and Arduino, with the same code…it worked!!
Please find me some solution to this.