Commit 90377622 authored by Erik Strand's avatar Erik Strand

Add pcb milling and soldering page

parent fdd908ee
title = "PCB Milling"
date = "2018-09-22"
menu = "main"
weight = 5
## Making a microcontroller programmer
This week's topic is how to make printed circuit boards (PCBs). Our assignment is two-fold: use a desktop format mill to cut the board, then solder on the components. The board will be used later this semester to program other microcontrollers.
### Milling
We're using a Roland Modela MDX-20 milling machine, controlled with [mods]( The mods interface takes black and white png images as input, calculates toolpaths, and sends the resulting G-code to the milling machine.
In groups we milled test patterns to characterize the design rules for our PCB milling capabilities. As expected, with a 1/64" end mill traces must be at least 1/64" apart. Traces thinner than a few thousandths of an inch lack structural integrity and are easily knocked off.
The height of the end mill as loaded is Z home, so it's important to make sure it's flush with the surface to be cut. The first time we loaded the 1/64" tool, the act of tightening the set screws pulled it up a few thousandths of an inch. It still looked flush with the material, but as can be seen below it did not cut the traces properly. Later we realized we could slide a sheet of paper between the end mill and the PCB.
After the test pattern, I milled a programmer.
### Stuffing
I had never tried to solder surface mount components before, so I wasn't sure how it would go. My first attempt was a dissapointment: crystallized joints across the board (ha).
A few hours later I realized that I had used lead-free solder, so I decided I'd stuff another board using good old fashioned leaded solder. It was far easier, and the results were much more satisfying. Now I know firsthand why lead is still a common ingredient in solder.
Here are both boards next to each other; lead-free on top, leaded below.
Looking forward to programming these programmers!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment