I wired up an arduino to a L298, and hooked that to a stepper motor, and put together a simple half-stepping sketch, and it worked beautifully first time. yay. That was last night. Tonight I was going to add an on/off and direction reverse functionality, so I plugged everything in, and the stepper didn’t rotate. It just jigs back and forth.
the wiring harness,
The wiring from the 298 to the stepper
the stepper motor itself
the power supply
and ohmed out every wire to make sure it was still connected
and checked the signals on my scope to make sure that there were no shorts and the signals at the input to the stepper motor were out of phase with each other on each winding.
And everything is correct, so I give up. Tomorrow I’ll check the windings on the stepper motors to see if one magically burnt out running on 1/5 the amperage it’s rated for and the other was already damaged before I picked it up but I’m too annoyed right now.
I feel like most days I should just stick with software.