How to DIY Arduino Mega2560 CNC 3/4 axis hardware and software setup, easy



I wanted to make this video to help anyone that wants to build a 3 or 4 axis CNC using Arduino / GRBL / UGS (Universal G-Code Sender).
After watching countless videos and reading a bunch of articles on how to set this all up, i found that most instructions out there are for a cnc shield type setup with little instruction and wiring explanation which led to some confusion, so after messing around with it for a while, i finally got what i wanted so, here is my take on clearing things up a tad and giving you a simple and effective option for your DIY Arduino CNC

A couple of minor software tweaks I did make to my GRBL settings are as follows:

i set the x,y, and z max rate, mm/min($110-$112) from 1000 to 2000 for these particular steppers. I also up’d the accel from 10 to 20. These settings seem to make these steppers purr as they run through some g-code.

Steppers (200 steps/rev): ebay: http://www.ebay.com/itm/181436604356?_trksid=p2057872.m2749.l2648&ssPageName=STRK%3AMEBIDX%3AIT

Microstep drivers: eBay: http://www.ebay.com/itm/351867912828?_trksid=p2057872.m2749.l2648&ssPageName=STRK%3AMEBIDX%3AIT

How to calculate the x,y,z steps/mm: http://www.diymachining.com/grbl-settings-101-a-how-to-guide/

Solid State Relay: http://www.robotshop.com/en/40a-ssr-relay.html
or from China (eBay) http://www.ebay.com/itm/SSR-25DA-SSR-40DA-SSR-60DA-25A-40A-60A-250V-Solid-State-Relay-Alloy-Heat-Sink-/191995318107?var=&hash=item2cb3d00f5b:m:mfRXJm2KovLCr0sd7q1dKvw

Relays: DF Robot: http://www.robotshop.com/en/2-channel-5v-relay-module.html

Arduino Mega2560 (Authentic): http://www.robotshop.com/en/arduino-mega-2560-microcontroller-rev3.html

Software:
Ardhino GRBL-Mega: https://github.com/gnea/grbl-Mega/ (3 axis)
https://github.com/dguerizec/grbl-Mega-4axis (4 axis)

UGS Platform: http://winder.github.io/ugs_website/download/ (I took the nightly build of UGS Platform)

source

Comments are closed.

Scroll to Top