Go Down

Topic: Solved::Arduino mega 2560 pin layout for GRBL (Read 3175 times) previous topic - next topic


Jan 16, 2018, 03:04 pm Last Edit: Jan 16, 2018, 05:13 pm by Alex_Webster
I'm working with this pin layout diagram for GRBL from github.com.

I've connected the wires this way according to the diagram.

So far I have flashed the GRBL hex file


And I am connecting to the mega 2560 with universal-gcode-sender v1.0.7.

When I go to the machine control tab and try to spin the x,y,z axis motors the Z axis turns
as expected. The x and y axis control send the signal to the same motor.

I've tested the mega 2560, controllers and motors without GRBL and they are working properly.

Has the pin layout been updated by any chance?


I moved the x, y and z wires down 2. Where the diagram shows step pulse x-axis at pin 24 I moved it to pin 22.

step pulse x-axis @ 22 direction x-axis @ 23
step pulse y-axis @ 24 direction y-axis @ 25
step pulse x-axis @ 26 direction z-axis @ 27

That has solved the problem I was having.

Go Up