Boloar
Junior Member level 1
- Joined
- May 2, 2013
- Messages
- 17
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,462
Components in use for project: Arduino Mega --> StepStick --> 28BYJ-48 5V Stepper
The stepper is 5V but I am using it at 8V since the A4988 driver requires a minimum motor voltage of 8V. It's a 5-wire unipolar motor, but I opened up the cover on it and cut the trace connecting the 2 coils, so it should be operating as a 4-wire bipolar stepper.
I am testing it with the AccelStepper library for Arduino, running a program to make it turn one direction and then reverse every few seconds.
The issue: it turns fine in one direction, I can feel/hear/see it turning correctly, and then it simply stalls when it's supposed to turn in reverse. When attempting to reverse I can feel the pulsing/jerking of the motor coils seemingly out of step, while in the 'forward' direction it feels perfectly synchronized.
The driver should be fine to the best of my knowledge, as I hooked up some LEDs to the stepper drive pins to check if the pulses were coming out alright, and they seem to be in sequence just fine. While keeping the LEDs plugged in, I reconnected the motor one wire at a time, and the pulses kept coming in order ... until I plugged in the fourth wire of the motor. Then, the pulses for the 'reverse' direction seemed to be stalled, while still coming out alright for the 'forward' direction. I reconnected the stepper wires in all possible configurations, and the only result was that the stepper then turned in reverse, but stalled on forward motion instead.
I have no idea what could be wrong, and I don't have easy access to more stepper motors or drivers.
I managed to scrounge an old regular bipolar stepper from a printer ... same problem. It has to be the driver. As long as the stepper is NOT connected to the output, the stepping signals come out fine. If I connect the wires one by one, the signals still come out fine. But, as soon as I plug in the 4th wire of the stepper, it goes haywire.
I took a video - the stepper is supposed to go one direction for two seconds and reverse for 2 seconds. See the pattern of the LEDs flashing.
The stepper is 5V but I am using it at 8V since the A4988 driver requires a minimum motor voltage of 8V. It's a 5-wire unipolar motor, but I opened up the cover on it and cut the trace connecting the 2 coils, so it should be operating as a 4-wire bipolar stepper.
I am testing it with the AccelStepper library for Arduino, running a program to make it turn one direction and then reverse every few seconds.
The issue: it turns fine in one direction, I can feel/hear/see it turning correctly, and then it simply stalls when it's supposed to turn in reverse. When attempting to reverse I can feel the pulsing/jerking of the motor coils seemingly out of step, while in the 'forward' direction it feels perfectly synchronized.
The driver should be fine to the best of my knowledge, as I hooked up some LEDs to the stepper drive pins to check if the pulses were coming out alright, and they seem to be in sequence just fine. While keeping the LEDs plugged in, I reconnected the motor one wire at a time, and the pulses kept coming in order ... until I plugged in the fourth wire of the motor. Then, the pulses for the 'reverse' direction seemed to be stalled, while still coming out alright for the 'forward' direction. I reconnected the stepper wires in all possible configurations, and the only result was that the stepper then turned in reverse, but stalled on forward motion instead.
I have no idea what could be wrong, and I don't have easy access to more stepper motors or drivers.
I managed to scrounge an old regular bipolar stepper from a printer ... same problem. It has to be the driver. As long as the stepper is NOT connected to the output, the stepping signals come out fine. If I connect the wires one by one, the signals still come out fine. But, as soon as I plug in the 4th wire of the stepper, it goes haywire.
I took a video - the stepper is supposed to go one direction for two seconds and reverse for 2 seconds. See the pattern of the LEDs flashing.