You are not logged in.
Hello,
So I am having trouble getting the stepper motor to work with the equipment I have listed in the title. I am pretty new to this so I am having a difficult time diagnosing the issue. This is my current setup:
Arduino Mega installed with grbl-mega
Based on this pinout and this stepper driver, I wired pul+ to 26, Dir+ to 32, Ena+ to 13. All Pul/Dir/Ena - is linked in series to ground. When I try to manually move the stepper, both the raspberry and arduino's LED blinks. I assume this means that the raspberry is sending signal to the arduino and the arduino is receiving the signal. Yet nothing happens. The Gcode that I put in for setup is the code that was in the website's grbl tutorial.
I don't think that the wiring on the stepper is wrong. I tried wiring it via direct control and it works perfectly.
The reason why I want to use grbl is so that I need to use the x-axis later on for the project. Unless there is a way to program a second axis via direct control, I have to use the Arduino.
Thanks for reading.
Offline