Set distance and travel that far....

Hi all,

SO.... I want to be able to dial in a number displayed on an LCD by turning a knob and press a button and have a motor rotate that number of time.

What I would like is a knob to dial in a dimension on an LCD, press a button and have a motor turn that many times. Also a reset button would be nice too. Picture a measuring wheel but the opposite.

Another way to think of it, is a toy car that you set a distance and it travels that distance.

Any help, any ideas? Does this exist in another forum and I am just missing it.

Help!! Thanks!!!!

If the motor is a stepping motor, you command it to rotate a certain number of steps. If the motor is not a stepping motor, you will need a shaft encoder to count rotational steps.

Thanks!!!

You may find these links useful. Stepper Motor Basics Simple Stepper Code

...R