Optocoupler driven motor

Hey Y’all

I’m needing to control the unipolar stepper motor RB-Soy-14 from an opticoupler output ranging 0-50 pulses/sec. Motor RPM max is 100±. My headache is needing to change to RPM range of the motor without reprogramming an Arduino but rather an external dial or keypad. Any ideas on which controller may do the job? Thanks

Hi,

Would something like a rotary potentiometer connected to an analog input of your Arduino work for your application?

Yes, as long as there is little drift due to environmental fluctuations.

Thanks

For most applications, any drift that may exist is very small and negligible. Do you have an application that is particularly sensitive?

If so, you might want to add a momentary push-button that can be used to sample the potentiometer’s value and then hold the value in memory: