I want to code an UNO with a simple control where I can turn a knob (the timer), then press a button which starts a stepper motor (speed will be hard-coded). The knob determines the run time, which will be somewhere between 0-10secs. Then the motor will stop and wait for the next push of the button. So I am guessing a potentiometer of some sort but which one? There are millions to choose from. Any assistance greatly appreciated.