Week 8: Electronics Production.

A.k.a. turning last week's pixels into actual copper ⚡🪵


🪛 Overview

In Week 6 I designed a XIAO RP2040 breakout board in EasyEDA. This week it was time to actually make it.
Workflow: EasyEDA → Gerber files → CopperCAM → Roland SRM-20 → copper board (ง •̀_•́)ง

👥 Group Assignment

As a group, we characterized the design rules for our in-house PCB production process: feeds, speeds, plunge rate, depth of cut (for traces and board outlines) and the tooling used.
We also looked at earlier students' work and clearance test patterns to find the minimum trace width and spacing our mill can reliably make.

🔗 View Group Assignment Documentation

🛠️ Tools + Materials

  • • Roland SRM-20 desktop milling machine (+ VPanel)
  • • 0.2 mm 30° conical V-bit for the traces
  • • 3 mm cylindrical cutter for the board outline
  • • Single-sided copper-clad board
  • • Double-sided tape (3M + grey foam tape)
  • • EasyEDA Standard (design + Gerber export)
  • • CopperCAM (toolpaths)

✏️ The Board (from Week 6)

A breakout board for the Seeed XIAO RP2040 with two 10-pin headers, a push button, an LDR and an LED with a 1 kΩ resistor.

The schematic

3D preview, looking very professional in blue ✨

🔁 Design Iterations

Designing for a milling machine is not the same as designing for a PCB factory, so the board went through a few rounds before it was mill-friendly.

Iteration 1: the original Week 6 layout

Iteration 2: DRC errors! XIAO pad clearance was 0.537 mm, below the 0.6 mm rule (╥﹏╥)

Checking the XIAO pad properties (plated holes, 1.199 mm)

Iteration 3, final: re-routed traces, a cut-out under the XIAO and a chamfered corner

📤 Exporting Gerbers

  • Step 1: Fabrication → PCB Fabrication File (Gerber)
  • Step 2: Click Yes, Check DRC to run the Design Rule Check first
  • Step 3: Check the preview, then click Generate Gerber


Final board: 57.91 × 58.04 mm

🧮 CAM in CopperCAM

🔹 Importing the layers

Opened the top layer (.GTL), the board outline (.GKO) and the drill file (.DRL).

File → Open → Gerber files

All layers loaded

🔹 Fixing the pads

Some pads came in with odd shapes and sizes, so I right-clicked them → Edit all identical pads to change all of them at once.

Right-click menu on a pad

Before: round, 1.143 mm, no drill

Changed to obround, 1.1 × 2.1 mm

Then trimmed to 1.1 × 1.5 mm so they don't crowd each other

🔹 Aligning the drill layer

The drill holes did not line up with the copper at first, they were floating off to the side (¬_¬)
Fix: right-click a hole → Adjust to reference pad #1 / #2, then Adjust layers to shift the layer onto the pads.

Drills way off to the right

Adjust to reference pad

Holes now sitting on the XIAO pads

Fine-tuning with Adjust layers

Everything lined up ✅

🔹 Board outline

Machining → Card contour, or right-click the outline track → Define as cutting contour.



3 mm cylindrical cutter, 2 mm deep, cutting on the contour

🔹 Isolation contours

0.2 mm 30° V-bit, 0.2 mm deep, 1 contour + 4 extra around pads

Toolpath preview, very toasty 🍞
OperationToolDepth
Trace isolation0.2 mm conical, 30°0.2 mm
Board outline3 mm cylindrical2 mm

🔧 Machine Setup

🔹 Sticking down the board

Double-sided tape on the back so it stays flat and doesn't move

🔹 Loading the bit

Fabmate tightening the V-bit into the collet (one hand underneath so it doesn't drop!)

🔹 Setting origin in VPanel

Jogging to the corner to set X/Y and Z. Speed 600 mm/min, spindle ~8500 rpm

⚙️ Milling

Copper dust everywhere 🌫️


Traces showing up!

🟫 Final PCB

Peeled it off the bed and...it's a real board! Isolation traces all the way round, the slot under the XIAO cut out cleanly, and the chamfered corners came out just like the design.

Ta-daaa! My milled XIAO RP2040 breakout board, ready for soldering ƪ(˘⌣˘)ʃ

✨ What I Learned

  • • Run DRC before every export, it catches clearance problems early
  • • Always check that the drill layer lines up with the copper in CopperCAM
  • • "Edit all identical pads" saves a lot of clicking
  • • Tape the board down flat, or the depth won't be even
  • • Tiny V-bits are fragile, handle with care 🫡

📁 Design Files

Gerber Files (.zip)
CopperCAM Project (.PCB)