Arduino CNC

by JohnnieT in Circuits > Arduino

598008 Views, 3288 Favorites, 0 Comments

Arduino CNC

CIMG6560.JPG
Prusa i3 wood frame supports
Hi, this is my first instructable and I hope to do more.

This project was for 'Creative Electronics', a Beng Electronics Engineering 4th year module at the University of Málaga, School of Telecommunications.

http://www.etsit.uma.es/

It's a cnc using Arduino UNO R3 , GCode Sender and GRBL. The cnc is made of wood thanks to the help of my father. It has taken us many hours to do the mechanical part however the electronic part is faster to do, but is very gratifying. I based my project on these videos and I have received much support from the author of the first video.

[Reproducir video]

[Reproducir video]

The total cost of the project is about 450€.

Materials and Components

IMG_20150107_090555094.jpg
IMG_20150107_125446871.jpg
IMG_20150107_125454642.jpg
IMG_20150107_182731250.jpg
IMG_20150107_164249915.jpg
IMG_20150116_094405160.jpg
IMG_20150116_082745550.jpg
IMG_20150116_191815634.jpg
IMG_20150116_191726864.jpg
tb6560.jpg
DSC_0021.jpg

From experience I recommend buying all the necessary materials before starting the realization of any project.

Materials and components:

  • Laminated Wood
  • Screwed Steel rods
  • Steel bars
  • Ball bearings
  • Nuts
  • Screws
  • Stepper motors (in my case Nema 23)
  • Stepper motors drivers TB6560
  • Switching power supply 24V 15A
  • Arduino UNO R3
  • Some wires
  • Nylon and metal bearings

X Axis

IMG_20150107_184009222.jpg
IMG_20150116_094447130.jpg
IMG_20150107_172626405.jpg
IMG_20150107_172634049.jpg
IMG_20150116_094433059.jpg
IMG_20150116_094425631.jpg
IMG_20150107_192327049.jpg
IMG_20150116_191828572.jpg

To build the base we have been cut several wooden boards which have made holes and blind holes. These tables form the support of the machine. The screwed steel rods operates as a worm drive. The blind holes serve as a stop for the steel bars that act as guides for the x-axis, in the middle, we put the screwed steel bar, that when turning, generates displacement in the x-axis. Above, we have put a wooden board greater weight and thickness for stability.

Y Axis

IMG_20150116_170938877.jpg
IMG_20150116_191641775.jpg
IMG_20150117_120220723.jpg
IMG_20150116_191905908.jpg
IMG_20150117_184110829.jpg
IMG_20150120_120809839.jpg

Bridge construction (y-axis) is very similar to that of the base, but this is supported on a table that is moved in the x-axis by a fixed nut below table. You see it at the last picture.

Z Axis

IMG_20150116_133255069.jpg
IMG_20150116_133244895.jpg
IMG_20150116_191655249.jpg
IMG_20150117_120240282.jpg
IMG_20150116_192029685.jpg
IMG_20150117_120212419.jpg
IMG_20150117_163634904.jpg
IMG_20150117_184056731.jpg
IMG_20150117_192952016.jpg
IMG_20150118_180750747.jpg
IMG_20150118_164936152.jpg
IMG_20150117_192944612.jpg
IMG_20150118_175017485.jpg
IMG_20150118_185845639.jpg

And finally the z-axis, similarly fact that the other two axes and carries a support for a milling or engraving machine. To test I used a screwdriver to move the axis. :)

Assembling All of Axes

IMG_20150119_011403990.jpg
IMG_20150117_184045084.jpg
IMG_20150118_191302455.jpg
IMG_20150118_190619176.jpg

The final assembly is simple with some screws. I have not used glue to replace parts if broken.

Electronic Connections

IMG_20150116_082702081.jpg
68747470733a2f2f646c2e64726f70626f782e636f6d2f752f323232313939372f4772626c5f50696e5f4469616772616d2e706e67.png
conexiones driver.jpg
IMG_20150206_091953743.jpg
IMG_20150206_111034736.jpg
IMG_20150206_111015997.jpg
IMG_20150206_110954309.jpg
IMG_20150206_111010285.jpg
54de5b16182470fe5c000001.jpeg
IMG_20150210_163406671.jpg
IMG_20150218_104410000.jpg
IMG_20150218_104440995.jpg

The connectiosn are simple. You need to use one driver for each motor. Each driver need power supply to work. I use a 24V 15A power supply. I select in the drivers my motors amperage. The A+, A-, B+, B- correspond with each of two coils of the motors and his poles. CLK+ (Clock) connects with the step pin on Arduino, CW+ (Clock Wise) connects to direction pin, CLK- and CW- connects to GND pin. EN+ and EN- not need to connect.

In the link below are the Arduino pin diagram of GRBL and some descriptions.

https://github.com/grbl/grbl/wiki/Connecting-Grbl

Load and Configuration of GRBL on Arduino Uno R3

I see this video to load GRBL on Arduino Uno R3. In the description of this are the links to the programs and files of GRBL. Is very simple. With XLoader load the GRBL code (grbl_v0_8c_atmega328p_16mhz_9600. hex) on your arduino, then open GCodeSender to conect your Arduino to your pc and it's ready to use.

This video explains how to configure GRBL according your stepper motors.

Finish

Prusa i3 wood frame supports

You can use any CAD program to design your projects and CAM programs to machining the GCode for different needs work. I use MasterCam X7 that is CAD and CAM program.

And this is the final result and I hope you like it.

Thanks so much for watch this instructable and enjoy!