-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not working with mega2560 + cnc shield v3 #107
Comments
Grbl on Mega has a different pin configuration that isn’t compatible with Arduino Uno shields. See the wiki for the pin outs and you’ll have to find a way to connect them correctly. |
Oh my-- it is very different. The CNC Shield V3 schematic from https://blog.protoneer.co.nz/arduino-cnc-shield/ has the step pins to the Mega's 2,3,4, which are PE4,PE5,PG5, which aren't on the same port, etc... The definitions in Line 29 in df87b36
It looks like one could use the V3 shield's double-row of connectors for XSTEP/DIR...ASTEP/DIR with jumpers to the MEGA's extended pins. grbl doesn't do 4 axes of steppers, so it's these 9 wires up to the CNC Shield V3 for control:
Then bypass the board and hook your X,Y,Z stops up as 10,11,12; and RESET, HOLD, RESUME, DOOR as A8,A9, A10,A11, and the spindle EN,DIR as 6,7, and the coolant Flood/Mist as 8,9. The CNC Shield V3 won't work neatly attached to the Arduino Mega as it does to the Uno https://github.com/gnea/grbl/wiki/Connecting-Grbl It might be nice do do an image like https://github.com/gnea/gnea-Media/raw/master/Grbl%20Help/Grbl_Pin_Diagram_v0.9+.png?raw=true for the Mega2560. |
i have connected mega 2560 + cnc shield + 3 stepper motors nema 17 and uploaded this grbl mega but its not moving the motors when i send gcode ,
can u tell me where is the configuration file of this grbl i mean there should be some sort of config file where u mention step , dir and enable pins of your board into it so that it work ,
thanks
The text was updated successfully, but these errors were encountered: