The nano's supply is inadequate for the stepper. I used a separate 5v supply and just tied the grounds.