Back to Tools

PCB Milling Machine

Our workshop in room 2014 has an LPKF Protomat S62 PCB mill that can produce double-sided PCBs from Eagle layouts exported as Gerber files. A small 5x5 cm board takes about 10 minutes per side.

Tool change happens automatically, a camera system helps aligning dual-sided boards, and a vacuum table holds down your board.

More details, a product brochure and demo videos can be found on the manufacturer's S62 product page.

If you would like to use the mill, just email Jan.

Costs are 0.15 euro for one square centimeter (one sided, 0.30 euro double sided), calculated with a wrapping rectangle around the pcb.

Manuals and Documentation

Milling Tutorial (EN)

See this internal page for the manuals and documentation.

Administrators of the milling machine can find additional information here.

Milling software

You use two applications on the milling station computer: CircuitCAM PCB to fine-tune your data before milling, and BoardMaster to run the actual milling job. Demo versions of both applications are available from these links.

CircuitCAM uses our own "rwth_easy" template by default. This template should be used if you want to create one-sided or double-sided pcbs exported by Eagle. Only the available tools (see below) will be used.

Both applications are Windows applications, so they are installed inside a Parallels Virtual Machine on our Mac mini that is used for the milling machine. To keep the installation clean and working, please do not use the Windows virtual machine for any other purposes than running those two applications. Use Eagle on the Mac natively, not under Windows.


Please do not change the tools in the automatic tool changer! We have 10 standard tools:
  • Universal Cutter 0.2mm marking
  • Universal Cutter 0.2mm
  • Spiral Drill 0.6mm
  • Spiral Drill 0.7mm
  • Spiral Drill 0.8mm
  • Spiral Drill 0.9mm
  • Spiral Drill 1.0mm
  • End Mill 1.0mm
  • Contour Router 1.0mm
  • Contour Router 2.0mm

To place fiducials on your board, use BoardMaster, not CircuitCAM. You'll need a Spiral Drill 1.5mm.

The Contour Router tools can create holes of any dimension. For example, 2.3mm holes use the Contour Router 2.0mm, and 1.6mm holes use the Contour Router 1.0mm.

These tools can only be used with PCBs. Don't cut plastics with them - this will destroy them, and they're expensive.

If a tool has to be changed please contact a Fablab Administrator. Don't change the tools on your own. Used tools must be marked.

Creating export files from Eagle board layouts

  1. Download the two attached files (see attachments at the end of this page)
  2. Put them into /Applications/EAGLE/cam (on the Mac) or C:\Program Files\Eagle 5.6.0\cam or similar (Windows).
  3. Open your .brd layout in Eagle.
  4. Select File->CAM Processor, then File->Open->Job from the menu bar.
  5. Locate the file in the dialog, klick on "Drills to Excellon", now klick "Bohrertabelle" and locate the "LPKF.drl"-file in Eagles "cam"-folder" then click on Process Job. From Eagle 7 upwards you have to select Excellon_24 instead of Excellon as a device, otherwise the drills will be at wrong positons.
After this, Eagle has generated new files in the same folder as your .brd file. Locate them and copy them to the PCB mill computer.

On the PCB mill computer:
  1. Import the new .BOA, .TOP, .BOT and .DRD files to CircuitCAM.

Note: Under Windows you may have to locate the LPKF.DRL drill file before the job completes successfully.

Creating export files from KiCad

  1. Go to File -> Plot
  2. Set all values like in the picture

  1. Press Plot
  2. Press Generate Drill File
  3. Set all values like in the picture

  1. Press Drill File
  2. Bring all the files from your project folder:

Creating vector drawings from bitmap PCB layouts

Sometimes PCB layouts or engravings are only available as black & white bitmaps. To use these on the mill, use this process in Adobe Illustrator (here CS4):

  1. Select File -> New... to create a new drawing. In the dialog, use the Print document preset options.

  2. File -> Place the bitmap file (I used this 1200 dpi black and white GIF for testing). It gets placed at 72 dpi.

  3. Object -> Transform -> Scale... the bitmap to its correct size (here: scale factor 72 dpi / 1200 dpi = 6%).

  4. Object -> Live Trace -> Tracing Options: Select the following options. I recommend storing them under a preset for future use.

    Play with the Path Fitting, Minimum Area, and Corner Angle values if necessary. Try to minimize the number of Paths and Anchors to the right for faster milling, while keeping the resulting contour as close to the original as needed. The live Preview helps with this.

  5. File -> Save the result as an Illustrator .ai file, then File -> Export it to an Autocad DXF file.

  6. The resulting file should be readable by the mill's CircuitCAM software, but will require post-processing in CircuitCAM to tell it where the holes to drill are, and at which lines to cut the board completely (such as at its outer border).

Created by borchers. Last Modification: Friday 08 of July, 2016 19:08:46 by thar.

Media Computing Group at RWTH Aachen