Stepper driver steps not accurate

Post the actual program that you have uploaded to YOUR Arduino.

Make a pencil drawing showing all your connections and post a photo of the drawing.

...R