Scratch n' Etch PCBs

From RepRap
Revision as of 17:08, 9 July 2013 by Danielpublic (talk | contribs) (Further reading: Added Hinged PCB Scriber.)
Jump to: navigation, search
An example of a board produced with the Scratch n' Etch method. Yes, it can do thin SMD traces, like the ones for this LQF-32 IC footprint. Even a working board with an 8-pin SOT23 IC has been made, with .65mm pitch traces.

The Scratch n' Etch method for producing PCBs uses an etch resist that is scratched away with a CNC and a carbide scriber. This page documents a successful version of this method done on a McWire-style CNC by Matt Gilbert. (While some have declared the McWire a "death march", it works fine in this case, albeit a little slow. More importantly, the method shown here should be easily incorporated into a different RepRap/RepStrap design, allowing the RepRap to replicate it's own PCBs.)

The Scratch n' Etch method is one of the more successful methods of Automated Circuitry Making.


The scratch n' etch method has been described in principle on the Homebrew PCBs Yahoo group. This page documents the Scratch n' Etch process as explained on that discussion board, with one important addition: The scriber is pressure sensitive.

The etch resist used is Dykem Layout Blue (aka "machinist's paint", "machinist's blue", or "layout paint"). This paint is used by machinists because it's designed to be easily scratched off with a carbide scriber, leaving behind a fine, precise line.

The scriber exposes copper that can be removed using your favorite etch. (Cupric chloride is a good choice because it's reusable.)

Since the scratches themselves are the areas that will be removed, you must isolate the traces and areas you want to keep by scratching around them.

Since the scratches are very thin, to get adequate isolation you have to scratch a few "laps" around each trace, sort of like a lawnmower, moving a little further out each time, scratching away a thicker line. This requires your GCode to include these "laps".

The trick to making this method reliable is to make the scriber pressure-sensitive, rather than simply calibrating a fixed "scratch height". It's not likely that the bed of your CNC and the copper-clad board you are scratching are perfectly level. Rather than attempt to level it, adding a pressure sensor allows the machine to adjust it's height as it scratches. If it starts scratching to hard, it lifts up a bit. If it's scratching too lightly, it will lower the scriber a bit.


Photo Description
Step 1: a clean copper-clad board
Step 1: Clean the board. Start with a copper-clad board. Clean thoroughly with steel wool and acetone. Allow a few minutes for the acetone to evaporate.
Step 2: a board painted with Dykem layout blue.
Step 2: Paint the board. Paint a single, thick, even coat of Dykem Layout Blue. Using the in-cap brush seems to be the easiest way.
Step 3: Scratch the board with a carbide scriber
Step 3: Scratch away the paint to expose the copper that you want to remove. This means removing the copper around a trace, isolating it. Scratch a few "laps" around the trace to make the gap wider than a single scratch, since a single scratch is likely to get bridged with solder. The GCode for this method needs to take this into account, as well as the pressure-sensitive modes. One method of producing this GCode from PCB designs will be explained in the Software section.
Step 4: Etch the board
Step 4: Etch the board with your favorite etch. (Cupric chloride is a good choice because it's reusable.)
Step 5: Drill the board
Step 5: Drill holes for through-hole components. This board was drilled with a Dremel attached to the CNC. Drill after etching to avoid etching away metal on the inner ring of each hole.
Step 6: Clean off the paint.
Step 6: Clean off the paint with a steel wool cleaning pad and acetone.
Step 7: Tin the board.
Step 7 (optional): Tin the board using Liquid Tin. Liquid Tin deposits a layer of tin over the copper, preventing the copper from corroding or oxidizing over time and making it a little easier to solder. If you skip this step, your board will probably work fine, though the copper may get a little ugly after a while, and may even stop working eventually.

Liquid Tin is very dangerous. Observe all precations when using it, such as wearing thick rubber gloves, goggles, and a mask.


The electronics used for these boards are basically the Generation2Electronics, with a couple modifications:

Of course, these additions require changes to the GCode and CNC firmware, detailed below.


Generating the G-code

The G-code used for the Scratch n' Etch method is very similar to the G-code used for isolation milling or other processes. The main differences are:

  • The path must go around each trace several times, moving slightly further out each time.
  • There must be a command to turn on a "pressure-sensing mode", during which the CNC will raise or lower the scriber to maintain a certain amount of pressure. (This also requires changes to the firmware of the CNC, which are explained in the CNC Firmware section.)

Voronoi-type isolation paths are interesting because they reduce the lengths of the paths, thus reducing the time required to scratch them. However, outline-type isolation paths are prefered over Voronoi-type ones, because:

  • They maintain a circular pad shape which is easier to solder.
  • They reduce the risk of "parasitic capacitance" from traces with larger copper areas.
  • They are easier to generate programmatically.

The particular method for generating GCode may be different depending on your needs. The particular syntax explained here was created ad hoc, and may conflict with other GGode conventions.

More to come

CNC Firmware

More to come

Further reading