Workflow and scripts to support printed circuit board (PCB) milling with the Roland MDX-40A.
##Goal
We are trying to quickly prototype single and double layer PCBs using a CNC mill and software tools. This repo uses a software tool chain composed of:
- Eagle (Version 7.0.0 Lite) download here...
- PC-Board Cam (Version 8/10/2014) install from CD. Manf site
- Roland VPanel for MDX-40A download here...
- Custom Python scripts written by DAZL makers. [../scripts dir] (./scripts)
##Preparation
MDX-40A
- Turn on the MDX-40A and open V-panel. Some configutration is required before commencing to work through the tool chain.
- Ensure that coordinate system G54 is selected.
- Press "View" on the front of the mill to move the machine into positino for changing the bit. Press "View" for EVERY mill or drill bit change to ensure the machine is in the best position to get a snug fit without damaging the machine or your workpiece.
- Load the 1/64" square end mill and set the zero height using the touch sensor.
- Click "Setup..." on VPanel.
- Ensure that "NC Code" is selected.
- Click on "NC Code Setting...". Here you want to make sure that tab "Tool-diameter Offset" > No 1 is set to 1.57mm. This represents the radius of the cutter used for boring holes larger than the biggest drill. If you are not using the 1/8in square end mill for this task then you will need to change the value of "No 1" since it it the parameter added to scripts for circular interpolation tool diameter offset. See tool diameter offset in the NC Code Reference for more details.
Workpiece
- Clean the copper surfaces of the PCB blank using sandpaper. You want to remove any oxidation prior to milling.
- Optionally, you can tin the surface to make soldering easier after milling.
- On 11/11 I used plumbers tinning flux applied with a cotton swab and then heated with our heat gun to tin the surface. My initial impression is that this may have caused more bowing of the board than normal, but I will have to see if I like the soldering surface more than the cleaned copper.
- Secure the workpiece in the jig.
##Workflow for single sided PCB
- Produce a PCB design in Eagle using the DAZL parts library whenever possible. Although Eagle make thousands of parts available through its installed libraries, only the DAZL parts have been "package" and "device" parameters that are designed to be cut with the drills and mills we use use at the DAZL.