Robote arm program with arduino mega

Hi my name is Jean Castro and you can email me (jcastro@blserviceinc.com OR castrohjean16@gmail.com ) and I’m building a robotic arm for my course project. I was wondering if you guys have a sample program to integrate with the arduino mega to control the motors for a robotic arm.
One motor will be controlling the movement of the hand, while the other motor is to control the grabbing function. I am using following components:

  1. Stepper Motor: Bipolar 200 Steps/Rev, 42x3mm, 2.8V, 1.7 A/phase

(see attachment for picture)

  1. DRV8834 Low-Voltage Stepper Motor Driver Carrier

(see attachment for picture)

  1. DRV8825 Stepper Motor Drive Carrier, High current

(see attachment for picture)

  1. Stepper Motor: Unipolar/Bipolar, 200 Steps/Rev, 57x76mm, 86V, 1 A/phase

(see attachment for picture)

Thank you
looking forward to hearing from you

Sample Program for robotic arm.docx (154 KB)