I've been building my own 3d printer for about 3 months now and have been having serious issues with my stepper motor (
https://www.oyostepper.com/) control. From the beginning it was hard to get the test code to work properly (just get them to move), and even with small successes along the way I was still barely making any real progress and was starting to get really frustrated.
Sometimes, after a long time of tweaking feedrates, accelerations, and steps per mm values (using different microstepping), I could get it to smoothly return to the start position of the axis, but it would hardly happen twice in a row...it still seemed to rely on luck, not to mention it choosing its own direction.
I've tried new drivers, different motors, and even brand new, high quality, multi-purpose machine ramp boards because I couldn't think of anything other than a faulty board.
If anyone is smart enough to find a solution for me, or even give me more things to try, I'd be grateful.