Introduction: DIY Arduino Based Mini CNC Machine New Design

Hello friends

here i am with new design of Mini CNC machine

basically here i kept both axis over each other

here i give 12V DC to motor shield because the lower axis carry much weight so its need much power to perform well

so lets see hoe to make

Step 1: First See the Working Video of CNC

Step 2: Material Required

1) 2 X SCRAP DVD DRIVE

2) 1 X ARDUINO UNO R3 / ARDUINO MEGA

3) 1 X L293D MOTOR SHIELD

4) 1 X SERVO MOTOR (TOWER PRO 9G)

5) JUMPER WIRES

6) SOME HARDWARE NUT BOTS ETC

7) DOUBLE SIDE 3M TAPE

Step 3: Assembling the Machine

Takeout stepper motor mechanism from DVD drive

make a hole trough the center of the axis mechanism there only some piece of glass and lenses.

Gently remove them so you get a through hole

pass a long Bolt through hole and place axis on each other in and tight them with bolt.

for better grip apply 3M double side tape at joint

Above attached image give you a better idea about how to assemble

Place a servo motor at the corner of top axis frame

bend a flat sheet of metal perpendicularly stick its one end on servo and stick pen holder on the other end

I this way you have your axis ready

Step 4: Wiring

Do the wiring as shown in image

Step 5: Arduino Code and Library

Upload the code to the arduino and add library to arduino IDE

TO know how to add library watch this video

Step 6: Processing

Download the Processing IDE

G-code are sends to Arduino via processing

A processing code called GCTRL streams the G-code to arduino


Upload the gctrl file to processing IDE
and click on PLAY button in processing window. first press 'p' to select you com port if you want you can set jog speed by pressing 1,2, or 3 button from keyboard press 'g' to load G-code file your machine is ready to plot as soon as you hit enter by selecting g code file now you have done your plotter is ready thanks for your attention

Step 7: G-Codes

To make gcode files that are compatible with this cnc machine you have to use the Inkscape.

Inkscape is professional quality vector graphics software which runs on Windows, Mac OS X and Linux.

It is used by design professionals and hobbyists worldwide,

for creating a wide variety of graphics such as illustrations, icons, logos, diagrams, maps and web graphics. Inkscape uses the W3C open standard SVG (Scalable Vector Graphics) as its native format,

and is free and open-source software. Download and install Inkscape from https://inkscape.org/en/download/windows/ (Important: download 0.48.5 version) Now you need to install an Add-on that enables the export images to gcode files. This add on can be found here with installation notes. https://github.com/martymcguire/inkscape-unicorn

please follow the video on you tube how to create G-code file some ready made G-code files

Arduino Contest 2016

Participated in the
Arduino Contest 2016

CNC Contest 2016

Participated in the
CNC Contest 2016