I need a controller for a stepper motor to do the following:
Able to adjust the rotation angle of the stepper motor from 90-270 degrees. I would set the total angle of rotation, then leave it.
Accept a 12V switched signal ( either continuous or momentary) to initial the rotation of the stepper to the prescribed angle of rotation.
Then either when the 12V signal is removed (or another momentary 12 V signal is sent), the stepper rotates in the opposite direction back to a zero angle.(start position).
I haven’t picked out the stepper motor yet, but it would be something about the size that would fit in the palm of your hand.
It sounds like a servo might be a better choice than a stepper motor? The easiest solution could be to read your 12V signal from a microcontroller GPIO pin (with suitable level-shifting or opto-isolation) and have the microcontroller generate the PWM signal to move the servo.
The amazon one looks like that’d work, though note 55kg is pretty powerful and 8.4v is above our recommended 5.5v max…if you provide power separately it might work
You can also set the adjustments on the Trigger board Servo Trigger Hookup Guide - SparkFun Learn to constrain movement, or also note that 90-270 is 180 degrees of movement - in theory you could use a 180 servo with its sweep beginning at 90 and swinging to 270
I believe the servo trigger only allows 90 degrees of rotation between it’sA and B setpoints. (Double check me on that)
Servocity used to carry some servo gear boxes that let you change a standard hobby servo into a high torque multiple turn servo with gearing and an external potentiometer. You might check them out for the mechanical part of your project.
For the drive circuit, a servo trigger might work with a multiple turn servo gearbox since through gears you can stretch that 90 degree limit to 360 or more degrees.
An arduino as drive circuit would allow custom control through changes in your code.