DIY Arduino Based Mini CNC Machine New Design

19,284

224

13

Intro: 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

3 People Made This Project!

Recommendations

  • Furniture Contest 2018

    Furniture Contest 2018
  • Fix It! Contest

    Fix It! Contest
  • Metalworking Contest

    Metalworking Contest

13 Discussions

0
None
zttt

Question 7 months ago on Step 7

Hi, CNC World
great
I used an Arduino Uno for the project. What should I change to run this code for UNO version? Please upload the code for Arduino UNO R3.
Thank you.

0
None
БолдооГ

9 months ago

hello write.gcode and what code is there ???

0
None
hgkarthik

10 months ago

how to connect ARDUINO and L293D MOTOR SHIELD

0
None
hgkarthik

10 months ago

how to connect the ardunio to motor shield driver what are the pins should connect ?

0
None
PetarK2

1 year ago

can i put a laser not a pen and how do i have to change the code?

0
None
IsamA1

1 year ago

can i use arduino nano???????????

0
None
YashT17

1 year ago

My problem is seen in photo plzz help me...what am i do?? Acting this situation plz give me an ans as faster as possible...

14869227537841209712386.jpg
0
None
KaushalP9

1 year ago

My Servo is stay at wrong possition plz say pen up number and down number.

0
None
AnghelutaA

1 year ago

Can I use a 9Volt battery insted of a phone charger?pls answer sorry for bad english

1 reply
0
None
good2hear

1 year ago

I have also been following your previous project but this one is really cool.

When assembling the hardware, I am stuck at a point where I wanted to test my motors for basic operation. My question / issue: What / which code+library do I need to use if instead of Adafruit shield, I have 'sunfounder' shield?

An early response will be highly appreciated!

0
None
SalvageIt

1 year ago

There is a lot of these kind of CNC on internet, but this design is by far the most elegant ! Well done.

0
None
DeepakB34

1 year ago

What have you used to connect/ hold pen? Where can I get that or salvage it?