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

Build Your Own Universal CNC Machine – Complete DIY Guide

Components and supplies

DFRobot Stepper Motor NEMA 17
×3
DFRobot Microswitch for homing
×3
DFRobot 5-8mm Coupler
×1
Pulleys and Timing Belt
×1
8-16mm Bearing
×10
V slot wheels
×3
500mm 2020 Aluminum Extrusion
×1
Build Your Own Universal CNC Machine – Complete DIY Guide
Arduino UNO
×1
GRBL CNC Shield
×1
Build Your Own Universal CNC Machine – Complete DIY Guide
Theremino Driver DRV8825 for Stepper Motors for Theremino System
×3

Necessary tools and machines

Build Your Own Universal CNC Machine – Complete DIY Guide
3D Printer (generic)
Build Your Own Universal CNC Machine – Complete DIY Guide
Soldering iron (generic)

Apps and online services

Build Your Own Universal CNC Machine – Complete DIY Guide
Autodesk Fusion 360
Build Your Own Universal CNC Machine – Complete DIY Guide
Arduino IDE
GRBL Firmware
Inkscape

About this project

Purpose

As a serious maker, I have several CNC machines, including two 3D printers and a CNC router. But what if I wanted something else, like a laser engraver or a PCB milling machine? So I set off to do just that: build an inexpensive CNC machine that could have many different attachments, all while controlled through a simple interface of G-code.

Demonstration

Design

I started by thinking of a free-wheeled machine that could have an infinite Y-traverse, but it proved to be too cumbersome and inaccurate.

Build Your Own Universal CNC Machine – Complete DIY Guide

So I chose to use V-slotted rails with wheels instead. I then went on Fusion and designed several parts, including the entire X and Z axis parts.

Making the Bed and Y Axis

The bed (Y axis) is comprised of two 500mm or 800mm V-slot rails arranged in parallel. There are four plastic pieces that hold two wheels each, allowing for easy travel of the bed along the rails. I also ran a timing belt across the Y axis under the bed, so that when the Y axis stepper rotates the belt moves.

Build Your Own Universal CNC Machine – Complete DIY Guide
Build Your Own Universal CNC Machine – Complete DIY Guide

Making the X Axis

The X axis is comprised of a single rail that holds a 3D-printed piece with four wheels. The timing belt slots into the sides of the plastic piece that pulls it either direction.

Build Your Own Universal CNC Machine – Complete DIY Guide

Build Your Own Universal CNC Machine – Complete DIY Guide

Making the Z Axis

The Z axis is based on a pulley system, so that when the stepper rotates the Z block can get pulled or lowered.

Build Your Own Universal CNC Machine – Complete DIY Guide
Build Your Own Universal CNC Machine – Complete DIY Guide
Build Your Own Universal CNC Machine – Complete DIY Guide

Electronics

The electronics are fairly straightforward. There is an Arduino Uno for the logic, three DRV8825s for the stepper motor drivers, an Arduino GRBL CNC shield, and three limit switches for homing. I simply plugged in the stepper drivers and adjusted the current limit potentiometers to match the 12V 6A power supply. Then I soldered the limit switches to the shield, with COM going to GND and NO (Normally Open) going to the corresponding pins. Do note that the Z axis limit pin is no longer D11, but is instead D12.

Build Your Own Universal CNC Machine – Complete DIY Guide

Software

I flashed the GRBL firmware to the Uno by using the example sketch and Arduino IDE. Then I downloaded the Universal G-Code Sender here: https://github.com/winder/Universal-G-Code-Sender. It lets users easily send commands and G-code files to their CNC Machines.

Build Your Own Universal CNC Machine – Complete DIY Guide

Usage

To test it I started by calibrating the machine. By default, there are 200 steps/mm, but those differ. So simply move the machine 5mm, then multiply five by 200, and then divide that number by the actual distance the machine moved, and change the settings accordingly. So If it took 161 steps to move 1mm on the X axis, set $100=161.000. Then use Fusion 360 or Inkscape to design and generate toolpaths to cut, engrave, or draw whatever you want.

Build Your Own Universal CNC Machine – Complete DIY Guide

Banggood.com Parts:

100ML Plastic Disposable Sterile Syringe -- https://goo.gl/vHxWKm

800mm Length 2020 T-Slot Aluminum Profiles Extrusion Frame-- https://goo.gl/g8ns5U

TEVO® 5Pcs One Pack 3D Printer Part POM Material Big Pulley Wheel -- https://goo.gl/DxMczs

4Pcs 5mm x 8mm Aluminum Flexible Shaft -- https://goo.gl/BfpCXR

WPL WPLB-1 Wheel Complete 4PCS RC Crawler Car Parts -- https://goo.gl/vyWVxt

Wholesale Arduino SCM & DIY Kits -- https://goo.gl/DG4gVv

Code

GRBL
https://github.com/gnea/grbl

Custom parts and enclosures

Thingiverse Repository
CAD file on thingiverse.com

Schematics

Build Your Own Universal CNC Machine – Complete DIY Guide

Manufacturing process

  1. CNC Machine Tools: History, Design, and Future Trends
  2. Key Components of a CNC Machine Explained
  3. What Is CNC? – Understanding Computer Numerical Control for Modern Manufacturing
  4. Build a Fully Functional CNC Machine with Arduino Nano R3
  5. Build a Triple-Function CNC Machine: Engraving, Laser Cutting, and Pen Drawing
  6. CNC Fundamentals: Mastering Computer Numerical Control
  7. Understanding CNC Programmers: Roles, Responsibilities, and Impact on Modern Manufacturing
  8. CNC Milling Machines: A Comprehensive Overview
  9. Top 10 Precision Components Crafted by CNC Machine Tools
  10. Essential Components of a Drilling Machine: A Comprehensive Overview