The basics of the motor and limit switch have been achieved! Currently, the motor spins until the limit switch is pressed once, and then stops forever:
in the gif below, the motor makes 1 full rotation, waits for 1 second, and repeats until the limit switch is pressed.

It can even tell us how many steps it took, which in the future can help us calibrate to the length of the blinds string.

This uses a NEMA 17 motor and a DM542 motor controller, which unfortunately is massive. We initially had a smaller one, but it shorted during testing :(
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.