Programing Arduino UNO with h bridge stepper motor nema 17 and potentiometer

PeterH, i have a Stepper motor NEMA 17. well, the more accurate the better.
but its a must to be able to be really slow and be able to speed it up.

in regard to robins comment, i couldn't understand the part of turning off the Arduino during the timelapse.... the motor might be needing some strength wile its stopped, so i think its going to be all the time on!
if i connect the potentiometer to the analog read, i should connect the h bridge ass well, right?

THNX!