OK i have finally got round to wiring everything up and it seems to work other than the fact that the motor sounds very rough and missing steps.
any ideas how to fix ?