Endstops for stepper motor

It does not damage a stepping motor if the shaft rotation is blocked while it is powered.

Simply put a perpendicular pin through the shaft, and add some external means to block the shaft rotation at 8 o'clock and 4 o'clock.

Send more than enough steps to accomplish the total rotation in the desired direction, and you are done.