Hi, I am trying to control Stepper Motor using Arduino Mega +Ramps 1.4 +DRV8825. If anybody has tested code or links please forward it. I am also trying to get data from MPU6050 also need help for it as I am new to Arduino environment.
This Simple Stepper Code should be good for testing. Try one motor at a time.
The GRBL program is often used with the RAMPS board.
Stepper Motor Basics