I forgot to say i needs to be a word size variable, as a byte it can never reach 500
If you do not have a preset limit like Melanie mentioned you can make the stepper stop, but it may not always stop in the exact same place. If there is some drag on the mechanism for example.I thought it's possible to count the motor step (limit the step). Is there anyway to achieve this?
You could use a light sensor, but what if there is enough light to start but not stop. Or attach a couple of micro limit switched that a hit on full open or full close. There are many ways to make some sort of encoder. If the blind are only rotating 90 degrees a pot fixed to a blade may work.






Bookmarks