Instructables

3 Axis Arduino Based CNC Controller

Featured
Picture of 3 Axis Arduino Based CNC Controller
14, 10:22.jpg
I've been playing with different CNC designs and Stepper controllers for many years now. I started building CNC machines long ago. My first inspiration came from Bruce Shapiro’s eggbot. I tried a few variations of it and even the board from evil mad scientist. Recently a project named GRBL came along that caught my eye. It used an Arduino to do the G-Code Interpretation. It still outputs step and direction pulses so all my existing designs worked fine with it.

The latest generation controllers I have built all use the same simple and cheap IC's. A pic 12c508 as the basic stepper driver logic and some H-Bridge chips that were originally meant for mundane things like tray loading motors on dvd players. I got a couple of hundred of these on ebay. The pic micros were from a guy that used to do mod chips with them but sold out his stock of unused chips really cheap.

I've used the cheapest parts I could find and still got great results with modest fine tuning. I used a dial indicator to see how bad my table was and it only varied .008 inches in depth from end to end. If I had used a surface planed board or aluminum plate that would have been better. I could always just mill a huge squared spiral pattern into the table to make it perfect
 
Remove these adsRemove these ads by Signing Up

Step 1: Single Board or Multiple Board Modules

Picture of Single Board or Multiple Board Modules
14, 10:22.jpg
14, 10:22.jpg

I've tried both ways and each has its advantages. I always keep the 110V SSR board separate. When using the single board approach I like to use an Arduino nano clone. when using multiple boards I use and arduino prototype sheild wired with a bunch of headers for the individual boards.

Step 2: Control Buttons

Picture of Control Buttons
14, 10:22.jpg
14, 10:22.jpg
14, 10:22.jpg
I found these nice buttons in a surplus shop so I bought a bunch. A scrap of aluminum angle iron, a drill press,  and a bandsaw made a couple of quick panel.s You can easily do this with a hacksaw and hand drill.
prophead3 months ago
Great job with the details and explanations. It's answers many questions and makes a terrific roadmap for anyone trying to learn.
rjkorn (author)  nacon19964 months ago
(removed by author or community request)
rjkorn (author)  rjkorn4 months ago

Code and schematic for stepper board is here:

http://www.instructables.com/id/Simple-Stepper-Mot...

Protoneer rjkorn4 months ago

Thanks @rjkorn for the mention. I have actually designed a nice little Arduino Shield that uses GRBL(G-code interpreters) to control CNC machines. All that is needed with the shield is an Arduino an some Pololu Drivers.. :)

Here are a few helpful links:

http://stores.ebay.com/Protoneer

http://blog.protoneer.co.nz/arduino-cnc-shield/

Gabse rjkorn4 months ago

yes could you please upload the schematic and the code for the pic, that would be very helpful.

pfred2 rjkorn4 months ago

Looking forward to seeing the schematic.