Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Build a Compact CNC Machine with Arduino UNO

Components and supplies

12V Power supply
×1
Build a Compact CNC Machine with Arduino UNO
SparkFun Big Easy Driver
×1
stepper motor
×3
Build a Compact CNC Machine with Arduino UNO
Arduino UNO
×1
Jumper Wires
×1

Apps and online services

Github GRBL
Inkscape
Universal G-Code Sender

About this project


Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO

This project shows you how to build a cheap and easy, but very small CNC using Arduino UNO.

Step 1: PARTS YOU NEED

For this project you will need:

3 x old CD/DVD-Roms

1 x Computer power supply

3 x Easydriver boards

1 x Arduino Uno

2 x pieces of Wood

1 x Soldering Iron

1 x Soldering Wire

Mini Arduino CNC Part 2

How to use Inkscape?

There are a lot of videos on you-tube which will guide you to how to use this software and generate Gcodes. For quick guidance see this link. Inkscape and Serial Transfer

Step 2: Using the DVD CD-ROM, get stepper motors

Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO

I took three wasted DVD-drives apart because we need the steppers (XYZ axis)

Step 3: Assemble and Build the structure

Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO

For this part just need a base platform and two pillars. I made the base from wood and pillars are of aluminum. Now simply screw the wooden base withe your Pillars as shown in first Figure.

Place the X axis across the pillars and Y axis onto the wooden base as shown in figures.I used glue to assemble all the axis. Just make sure that all the axis are exactly perpendicular to each other, they must be at right angle.

Step 4: Soldering and wiring

Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO

This is also not a very complicated step. You just need to solder wires with your stepper motor. Be careful while soldering and don't use high watt solder as it can burn the wires of stepper, mine was 30W and it was OK. After that, simply sold all the connectors in easydrivers and connect the wires as given in figure.

Step 5: The software

Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO
Build a Compact CNC Machine with Arduino UNO

1. download and install the Arduino Software, the grbl library and the Grbl controller .

2. After downloading the Grbl library, you have to click sketch --> import library --> add library in the Arduino software and select the zip file you just downloaded.

3. Upload the library to your Arduino.

4. After you installed Grbl on your Arduino open the Grbl controller and select the port to which your Arduino is connected. Press the open button.

5. A list of options appears in the command screen. You have to change a few of these options, by entering the number of the option (the numbers with a $) = and the new value (For example $130=35.000).If your motors are moving into the wrong direction, go to Tools --> Options --> Axis and click the axis you want to invert.

6.You can use any Gcode Generator software to make gcodes.I download DeskEngrave software which is also a gcode generator, here is a link deskEngrave

UPDATE:

Watch the new video Mini Arduino CNC Part 2 of this mini CNC plotter. I have increased the feed rate for sketching. I was using Deskengrave and many other softwares just to check the working of the machine, the results was not satisfactory because some Gcode generated codes were not supported by the GRBL library. After searching n the internet i found Inkscape software. Inkscape is a free and open-source vector graphics editor; it can create or edit vector graphics such as illustrations, diagrams, line arts, charts, logos and even complex paintings. By using this software i can import Dxf, Dwg, JPG, SVG etc files and can convert them into GCODE. You can download Inkscape by clicking below link.Download Inkscape

I have import several image files which i had downloaded from the google, convert them into Gcodes and send to the GRBL software, it worked perfect :D. Below is the link of sample video i have just made.

Step 6: Thank you

Build a Compact CNC Machine with Arduino UNO

It is very easy project if you want any help you can ask anytime.

Thank you!

Code

Github
https://github.com/grbl/grblhttps://github.com/grbl/grbl

Schematics

Build a Compact CNC Machine with Arduino UNO

Manufacturing process

  1. MotionSense: Smart Intrusion Detection with Arduino & ESP8266
  2. Create a Web-Enabled IoT Gauge Using Arduino, Yaler, and IFTTT
  3. Arduino-Based Repulsive Magnetic Levitation: Simple Circuit & DIY Guide
  4. High-Performance Arduino Weather Balloon Data Logger
  5. Arduino Flip Clock with 8×8 LED Matrix – DIY Real‑Time Clock Project
  6. Advanced Microcontrollers Lab: ESP32, Arduino, PIC, and Sensor Modules
  7. Build a Fully Functional CNC Machine with Arduino Nano R3
  8. Build a Smart Hand Sanitizer Dispenser with Arduino – DIY Guide
  9. Compact 5-Story Arduino-Driven Mini Elevator
  10. Programming the ATmega8 Microcontroller with Arduino IDE – Step‑by‑Step Guide