Controlling a stepper with a pot

TylerS:
I want to map a stepper to a pot. However, i'm having a little trouble figuring out where to start...

First thing that must happen when the Arduino program starts is to move the stepper back to the ZERO or HOME position. You will need some form of switch to detect when the motor gets to that point.

Once you identified the zero position you just need to map the 0-1023 range that the ADC gives for the potentiometer position to the 0 to 200 steps required from the motor. Dividing the ADC value by 5 will give a very close approximation.

...R
Stepper Motor Basics
Simple Stepper Code

also look up the AccelStepper library