How to cnc a pcb
Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.
Last updated: April 4, 2026
Key Facts
- The typical milling bit used for PCBs is a V-groove bit, often 0.1mm or 0.2mm in diameter.
- The process can achieve trace widths as small as 0.15mm (6 mil).
- Material removal depth is critical and usually set between 35-70 micrometers to remove copper without damaging the substrate.
- CNC milling is slower than etching but offers higher precision and repeatability.
- It's a dry process, avoiding the chemicals associated with traditional PCB etching.
Overview
Creating a Printed Circuit Board (PCB) typically involves either chemical etching or mechanical milling. CNC (Computer Numerical Control) milling offers a precise, dry method for fabricating PCBs at home or in a small workshop. Instead of dissolving unwanted copper with chemicals, a CNC machine physically removes copper to define the conductive paths and pads of your circuit.
What is CNC Milling for PCBs?
CNC milling uses a router or milling machine controlled by a computer. For PCBs, this means a small, high-speed spindle holds a very fine milling bit. This bit follows a path dictated by your circuit design files, carving away copper to leave behind the desired traces and pads. This process is also known as subtractive manufacturing because you start with a full sheet of copper-clad material and subtract the unwanted parts.
The CNC Milling Process Step-by-Step
- Design Your PCB: First, you need to design your circuit using PCB design software (e.g., KiCad, Eagle, EasyEDA). The software generates Gerber files, which are the industry standard for describing PCB layers.
- Generate G-Code: PCB design software typically includes a CAM (Computer-Aided Manufacturing) processor or can export files compatible with CAM software. This step converts your Gerber files into G-code, a set of instructions that tells the CNC machine exactly where to move the milling bit, at what speed, and at what depth. Key parameters include trace width, isolation (the gap between traces), and milling depth.
- Prepare Your CNC Machine: Ensure your CNC machine is properly set up. This includes securing the PCB blank (a piece of copper-clad substrate like FR-4) firmly to the machine's bed. It's crucial that the board does not move during the milling process. You'll also need to install the correct milling bit, typically a V-groove bit for PCB work, and set the machine's 'zero' point (origin) relative to the PCB.
- Set Up the Milling Bit and Depth: The choice of milling bit is critical. V-groove bits are preferred because their conical shape allows for precise control over trace width and depth. The depth setting is paramount: it must be deep enough to cut through the copper but shallow enough not to damage the underlying substrate. A common depth is around 35-70 micrometers, just enough to clear the copper layer.
- Mill the Traces: Load the G-code into your CNC machine's control software and start the milling process. The machine will meticulously carve out the copper according to the G-code instructions. This can take a significant amount of time, depending on the complexity of the board and the speed of your machine.
- Clean Up: After milling, carefully remove the board from the machine. You may need to brush away any loose copper debris. Sometimes, a light sanding might be necessary to ensure clean edges.
- Drill Holes: If your design includes through-holes for components, these will need to be drilled. This can often be done on the same CNC machine using a standard drill bit, or with a separate drill press.
- Plating and Soldermask (Optional): For more advanced PCBs, you might consider plating the traces for better conductivity or applying a soldermask for protection. These steps are typically beyond the scope of basic home CNC milling.
Advantages of CNC Milling
- Precision and Repeatability: CNC machines offer high precision, allowing for fine traces and small component footprints. Once programmed, the process is highly repeatable.
- No Chemicals: Unlike etching, CNC milling is a dry process, avoiding hazardous chemicals and simplifying waste disposal.
- Flexibility: You can mill various designs quickly without waiting for chemical reactions.
- Simplicity for Simple Boards: For single or double-sided boards with moderate complexity, CNC milling can be more straightforward than managing etching baths.
Disadvantages of CNC Milling
- Slower than Etching: Milling is a mechanical process and can be significantly slower than chemical etching for larger or more complex boards.
- Tool Wear: Milling bits are consumables and can wear out, especially when milling harder substrates like FR-4. This requires periodic replacement.
- Dust and Debris: The process generates copper and substrate dust, requiring proper ventilation and cleanup.
- Limited for Complex Boards: Achieving very fine pitch components or multi-layer boards with high accuracy can be challenging with typical desktop CNC machines.
- Cost of Equipment: A suitable CNC machine can be a significant investment.
Key Considerations for Successful CNC PCB Milling
- Machine Stability: A rigid and stable CNC machine is essential to prevent vibrations that can lead to poor trace quality.
- Accurate Z-Axis Control: Precise control over the milling depth (Z-axis) is crucial to avoid cutting too deep or too shallow.
- Sharp Bits: Always use sharp, high-quality milling bits designed for PCB work. Dull bits can tear copper and lead to poor results.
- Proper Board Clamping: Secure the PCB blank rigidly to prevent any movement during milling.
- Software Settings: Experiment with feed rates, spindle speed, and depth settings in your CAM software to optimize the milling process for your specific machine and material.
CNC milling is a powerful technique for prototyping and small-batch PCB production, offering an alternative to chemical etching that is cleaner and offers high precision.
More How To in Daily Life
Also in Daily Life
More "How To" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Printed circuit board - WikipediaCC-BY-SA-4.0
- DIY PCB Milling with a CNC Router - Eagle Blogfair-use
Missing an answer?
Suggest a question and we'll generate an answer for it.