reinvent the wheel pluse generator controled by variable resistor

If there is one allready done I don't want to reinvent it.
I need a Variable resistor to control the number of pluses to a stepper motor control

I have a the following inputs
10 k ohm variable resistor to control frequency of output.
a Switch to select direction

Outputs.
digital pluses 0 to 3khz
enable when pluses are greater than 0
and direction control.

thanks

I think you should look at the venerable 555 timer. It can be set up to provide a pulse train dependent on two resistors for frequency. The math for using it is simple, but I'm not sure whether it will handle a 0 Hz. pulse rate directly. You might need some inventiveness there.

Have a look at the examples in this Simple Stepper Code

It should be a simple matter to vary the interval between step pulses depending on the position of a potentiomenter.

...R
Stepper Motor Basics