What would be the best way to initialize a stepper motors starting position? Im would like my motor to operate 0-180 degrees but never go beyond that since it will be fitted against a wall. The starting position would be 90 degrees straight out from the wall.
Is there a way to control this? If i have to use a sensor it should be able to last a couple of thousend initializations.
Cheers, Mike (beginner :-)