I am using a stepper motor (Nema 16 hybrid stepper) and trying to make it do the following move : back and forward for 20 degrees, and this repeatdly and quite fast. Then there is a little mirror on the axis of the motor and I light up this mirror with a green laser, in order to draw a line on a screen in front of the motor (see the photos to understand)
I am having some trouble : the movement of my motor is not as smooth as I would like, it makes my motor vibrates even though I am using the A4983 in 8 microstepping mode. My power supply is of 24V and the logic supply is 5V. The result is odd because it looks like there is some kind of resonance : the vibration makes the laser light move perpendicularly on a periodic basis (see the photo)
I fear I send a wrong signal to the step and dir pins of the A4988 (see the photos)
Do you have any idea from where my problem can come? I hope I was enough specific!