Hi guys,
I am super new to this. But I was wondering if there a way to use a DC motor with an encoder that connects to a blue tooth button. My goal is to have the motor so a quarter turn clockwise when the button is hit then do a quarter turn counterclockwise when the button is hit again. I need it to be a continuous cycle so it can keep doing alternating counterclockwise and clockwise quarter turns. The button also needs to have a wireless connection with the DC motor. If anyone has suggestions on how to do this that would be great.
The problem with that is I need it to stay at the quarter turn position until the button is pressed again. I’m not totally sure but doesn’t a servo need constant power to keep from returning to its original position?
If I use a servo how would i go about programming it to turn a certain amount of degrees one way when a wireless button is pressed and then back to another position once it’s pressed again? It won’t be connected to a computer so I’m wondering if there’s a way to make it remember that it does this when the button is pressed?