DRILLING PCBS WITH CAMERAS and math

After making your first PCB, you’re immediately faced with your next challenge – drilling the holes. It’s a doable task with a small drill press, but a lot of makers already have a small CNC mill or router, but how to make that work the first time? [Alessio] has you covered with a technique that uses a CNC-mounted webcam and some linear algebra for best through-holes the first time and every time.

A few months ago we saw [Alessio]’s work with transform matrices and PCB drills. The reasoning behind this technique is if a PCB isn’t exactly aligned to a CNC mill’s axes, or if the scaling for a toner transfer board is a bit off, automating the drilling process will only end in pain, with holes going through traces and a whole host of other nasty things. The application of linear algebra gets around this problem – taking a measurement off of two or three known locations, it’s easy to program a CNC maker to drill exactly where it’s meant to.

[Alessio]’s new project takes the same mathematical techniques and applies them to a very sleek application that uses a drill-mounted webcam. After taping his homebrew PCB down to the mill, [Alessio] simply marks off a few known points, imports the drill file, and lets a computer calculate where to drill the holes. The results are exceptional – with a soldermask and silkscreen equipment, these hand-crafted boards can be just as good as professionally manufactured boards,

There are Windows and OS X binaries for [Alessio]’s tool available on his page, with a video demo available below.

Leave a Reply

Your email address will not be published. Required fields are marked *