Is Arduino the right controller for a closed loop Stepper?

A circuit diagram and a copy of your code plus complete project description (what is this all supposed to do in the first place) would be enlightening.