using a Accel stepper to program a 10 slot gobo wheel

42 views
Skip to first unread message

Bailey Fellows

unread,
Aug 18, 2021, 8:44:33 AM8/18/21
to accelstepper
i wondering if any one new how to program a starting point, the motor has 200 steps total (1.8) 

Aaron Newsome

unread,
Aug 18, 2021, 11:34:37 PM8/18/21
to accelstepper
Your question isn't really clear on what you're trying to accomplish. Are you trying to program the stepper so that it will spin the gobo wheel to the start position? For this you might use a limit switch, a proximity sensor or something similar.

If you're looking to spin the gobo wheel to a known location, you can store the stepper's current location into a variable using stepper->currentPosition(); and then at some point later, you can send the stepper back to that position with stepper->moveTo() or one of the other move strategies.
Reply all
Reply to author
Forward
0 new messages