# Custom Milled PCB Pins

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/049/955/medium800/projects_pins_on_lapel-raw.jpg?1515475297)

Milling machines are great for prototyping your own PCBs, but they can also be used for making&nbsp;excellent decorative art and wearables.&nbsp; In this guide, I'll show you my process for using a milling machine to create custom, hand painted, resin glazed pins using copper PCB material.

This project assumes you are familiar with vector design software and the CNC milling process in general.

# Tools & Materials
![](https://cdn-learn.adafruit.com/assets/assets/000/049/954/medium800/projects_materials.jpg?1515472628)

 **Required:**

- Milling machine
- 1/32" flat end mill bit
- Double-sided copper clad FR-1 board
- Double-sided tape
- Pin posts and clasps
- Acrylic paint or gouache
- Fine tipped brush
- Resin glaze (such as Envirotex Lite)
- Mixing cup and stirrer for resin
- [Solder tack flux](https://www.adafruit.com/product/2667)
- [Lead-free solder](https://www.adafruit.com/product/1930)
- [Soldering iron](https://www.adafruit.com/product/180)
- Vector design software (Adobe Illustrator, Inkscape, etc.)
- Small tabletop vise (such as [Panavise Jr.](https://www.adafruit.com/product/151))
- Alcohol & cotton swabs

**Optional:**

- Latex/nitrile/vinyl gloves
- 1/16" flat end mill bit
- Plastic or metal scraper/putty knife
- Razor/X-acto blade
- Paint pallete/dish
- Plastic straw
- Hair dryer

# Custom Milled PCB Pins

## Design

First off, we'll need a design for our pin.&nbsp; The milling software we'll be using can import vector art in **SVG**  **format**.&nbsp; Here are some common applications you can use to create SVG files:

- [Adobe Illustrator](https://www.adobe.com/products/illustrator.html)&nbsp;(macOS, Windows)
- [Inkscape](https://inkscape.org/en/)&nbsp;(macOS, Windows, Linux)
- [Sketch](https://www.sketchapp.com/) (macOS)
- [Corel Draw](https://www.coreldraw.com/en/pages/ppc/coreldraw/) (Windows)

For this guide I'll be using Adobe Illustrator CS6.

# Create Your Design

Your final design should use only one fill color and no strokes.&nbsp; The color-filled shapes will translate to copper in your finished pin, while areas left transparent will be engraved to a depth we specify in the milling software.

Create your design as you see fit, using separate shapes, strokes, etc - just keep it limited to one color on a transparent background. In my bird example below, I have a variety of paths and strokes which form my final black-on-transparent image:

![](https://cdn-learn.adafruit.com/assets/assets/000/049/800/medium800/projects_vector-raw.jpg?1514914299 vector art using shapes and strokes)

# Merge Shapes

Before saving a final version for milling, I'll need to merge those separate paths into a single filled shape, but first, the stroked paths need to be converted into filled shapes. In Illustrator, you can use the **Outline Stroke** command to turn any strokes into actual paths:

![](https://cdn-learn.adafruit.com/assets/assets/000/049/801/medium800/projects_vector-outline-strokes.jpg?1514914638 vector art after outlining strokes)

Once the strokes are converted, merge all the filled shapes together using Illustrator's **Pathfinder** menu by choosing the **Unite** tool:

![](https://cdn-learn.adafruit.com/assets/assets/000/049/804/medium800/projects_pathfinder-unite-2.jpg?1514915216 Illustrator's Pathfinder Unite tool)

![](https://cdn-learn.adafruit.com/assets/assets/000/049/802/medium800/projects_vector-final.jpg?1514914961 Vector art merged / final)

Our final vector art is one solid shape on a transparent background.&nbsp; Be sure to check for any stray paths or points and delete them.

# Check Scale

Setting the scale of your design to an appropriate size for milling may take a little trial and error.&nbsp; Try skipping ahead to the **Save as SVG** step below and import the file into your milling software.&nbsp; Set your milling software to generate a preview using a **1/32" bit**.

This preview of the final product will give you an idea what level of detail and scale will work best. Reopen your SVG file and edit the art to accommodate those new constraints.

# Optional: Tiling

To keep things simple for this tutorial, I'll only be milling a single bird - but if you'd like to make multiple pins&nbsp;you can duplicate your art to fit more on one piece of material.

![](https://cdn-learn.adafruit.com/assets/assets/000/049/820/medium800/projects_multibirds.jpg?1515011808)

Update your vector file's artboard to represent the actual size of the copper-clad board ( **width = 127mm, height =&nbsp;101.6mm** ).&nbsp; Create multiple clones of your original art and rotate each one to maximize the number of instances you can fit on your board.

**Note:** Remember to leave clearance between each instance and the edge of the board as seen above!

# Save as SVG
![](https://cdn-learn.adafruit.com/assets/assets/000/049/803/medium800/projects_save-as-SVG.jpg?1514915084)

Once everything looks nice and clean, **save the image in SVG format**. We'll import this file into the milling software.

# Custom Milled PCB Pins

## Milling

![](https://cdn-learn.adafruit.com/assets/assets/000/049/836/medium800/projects_milling.jpg?1515145157)

Launch your milling control software and start a new session. For this guide I'm using the&nbsp; **Otherplan** &nbsp;app to control my Othermill machine.&nbsp;

To accommodate our double-sided copper clad board, specify the material as **Double-Sided FR-1.&nbsp;** Doing so should give you the following dimensions:

- X: 127mm
- Y: 101.6mm
- Z: 1.64mm

Set the material's **origin** to X:0, Y:0, Z:0.

# Import your art
![](https://cdn-learn.adafruit.com/assets/assets/000/049/867/medium800/projects_otherplan-bird-ready.jpg?1515296136 vector bird ready for milling)

Note that I'll be milling a single pin for this guide, but you likely want to add more to make use of the entire copper board.

Import the vector file you created and set the following variables for it:

- Invert within cutout
- Engraving depth: 0.5mm
- 1/32" flat end mill bit

The " **invert within cutout**" setting (found in Otherplan's "Advanced" settings) will make the milling software use the empty/transparent areas for engraving, and the filled/black areas as copper to be left untouched.

Using an **engraving depth** of **0.5mm** will make it easier to keep paint within the engraved and away from the raised copper.

I've found that **1/32"** is the smallest size bit which holds up well to repeated use.&nbsp; Smaller bits tend to break too often, and larger bits don't allow for enough detail on pins.

# One Bit or Two?
![](https://cdn-learn.adafruit.com/assets/assets/000/049/878/medium800/projects_bits.jpg?1515315731)

You can mill your design using multiple sized bits for increased efficiency and speed or use a single&nbsp;small bit for simplicity.&nbsp; Depending on your machine's accuracy, using a single bit can produce cleaner results but takes considerably longer than a multi-bit approach.&nbsp;&nbsp;

# The Actual Milling
![](https://cdn-learn.adafruit.com/assets/assets/000/049/874/medium800/projects_mount_board.jpg?1515298966)

Use strips of double-sided tape to secure the copper board to your mill's bed. Be sure the the board is mounted squarely with the left and front edges of the bed.

![](https://cdn-learn.adafruit.com/assets/assets/000/049/839/medium800/projects_milling2.jpg?1515145595)

Connect power and USB to your milling machine and begin the milling process from the software UI.

# Milling Complete
![](https://cdn-learn.adafruit.com/assets/assets/000/049/837/medium800/projects_remove_from_mill.jpg?1515145490)

Once the mill is complete, use a **vacuum to remove excess dust** and peel the board from the bed with a **flat scraper** or putty knife.

![](https://cdn-learn.adafruit.com/assets/assets/000/049/838/medium800/projects_mill_final.jpg?1515145573)

Peel off your finished piece and **remove any remaining tape** from the back.&nbsp; Inspect the piece for stray copper burrs and remove them with tweezers or a blade.

# Custom Milled PCB Pins

## Painting

![](https://cdn-learn.adafruit.com/assets/assets/000/049/835/medium800/projects_wash.jpg?1515145022)

Run water over the finished piece to remove any remaining dust. Allow it to dry thoroughly before you begin painting.

![](https://cdn-learn.adafruit.com/assets/assets/000/049/840/medium800/projects_paints-and-brushes.jpg?1515145984)

Many different types of paint can be used to fill your pins engraved areas.&nbsp; My personal preference is **Golden High Flow Acrylic** as it doesn't need to be thinned with water before application.&nbsp; Alternatively, gouache paint offers some advantages with saturation and opacity – but it can create issues with viscosity and air bubbles.

For the level of detail in my bird design, a **2/0 "round" brush** will work fine. For pieces with finer detail, I'll often use a **20/0 "spotter petite"** brush.

# Paint Your Design
![](https://cdn-learn.adafruit.com/assets/assets/000/049/876/medium800/projects_painting1.jpg?1515314871)

Fill the engraved areas of your design thoroughly with paint, making sure to cleanly fills each shape's corners and edges.&nbsp; The High Flow acrylic paint will flatten a lot as it dries - fill each engraved shape up like a small pool/puddle to avoid the board's FR-1 material from showing through.

![](https://cdn-learn.adafruit.com/assets/assets/000/049/877/medium800/projects_painting-done.jpg?1515315265)

Once painting is complete, allow your piece to dry thoroughly in a dust-free area. I place mine in a resealable food container with the lid left ajar to provide some air circulation.

# Custom Milled PCB Pins

## Glazing

![](https://cdn-learn.adafruit.com/assets/assets/000/049/933/medium800/projects_resin_mixed.jpg?1515400986)

 **Thoroughly mix** your resin per the included instructions. Once the resin appears crystal clear and fully mixed, pour it into another container to avoid using any unmixed portions.

![](https://cdn-learn.adafruit.com/assets/assets/000/049/934/medium800/projects_resin_coating_closeup.jpg?1515401021)

Use a tongue depressor (aka "craft stick") to **drip a puddle of resin** onto the center of your pin.&nbsp;

**Gently**  **drag the resin** out to the edges of your piece, adding more as needed. Ensure the resin flows out to entire edge of copper. A thicker coating will create a more pleasing 'liquid' aesthetic, but can be difficult to remove bubbles from.

# Removing Bubbles
![](https://cdn-learn.adafruit.com/assets/assets/000/049/956/medium800/projects_straw2.jpg?1515476991)

Bubbles in the applied resin coating can often be removed, but you'll need to act quickly before the resin begins to cure. I use two techniques for de-bubbling resin glaze:

- **Air Pressure** : Using a straw, blow a quick blast of air directly at the bubble.&nbsp; This can quickly displace the resin and pop the bubble.&nbsp;
- **Heat** : Briefly pass a hair dryer on low heat over the resin surface.&nbsp; Be careful not to hold the dryer over the surface for too long or the resin will begin to harden and create even more bubbles in the process.&nbsp;

If you mess up your glazing you can start over by removing both the paint and resin with acetone.

# Drying
![](https://cdn-learn.adafruit.com/assets/assets/000/049/935/medium800/projects_resin_drying.jpg?1515401619)

Once your resin is applied, allow it to cure undisturbed on a **flat, level** surface for **24hrs**.&nbsp; To protect the resin from airborne dust, loosely cover your piece with a bowl or plastic food container as a sort of 'drying canopy'.

# Custom Milled PCB Pins

## Mounting

![](https://cdn-learn.adafruit.com/assets/assets/000/049/834/medium800/projects_pins_and_posts.jpg?1515144812)

Once the resin has thoroughly dried, we can mount the pin posts to the back of the piece.&nbsp; I use **butterfly clutch tie tack/pin backs** of **8mm** length.

Secure your piece using a small **hobby vice.** &nbsp;Place a small bead of **tack flux** on the spot you wish to mount your pin post.

# Soldering
Danger: 

![](https://cdn-learn.adafruit.com/assets/assets/000/049/937/medium800/projects_apply_flux.jpg?1515401917)

 **Place the post over the solder flux** and press it flat to the pin's back.

Since this is a wearable item, it's a good idea to use use **lead-free** (ROHS compliant) solder.

**Solder one point** on the edge of the post's base to the copper - this will secure it in place while we solder the rest of the base.

Beginning on the opposite side of the post's base, **solder the edge down** by dragging the iron along the seam while simultaneously feeding solder wire into the iron's tip. Repeat this process to solder the remainder of the post's edge to the pin.&nbsp;

I soldered an additional post to prevent the pin from rotating when worn.

![](https://cdn-learn.adafruit.com/assets/assets/000/049/941/medium800/projects_clean_flux.jpg?1515402531)

Once your posts are securely soldered, **allow the board to cool** , then remove it from the vise. **Remove any excess flux** with alcohol and a small cotton swab.

# Finished
![](https://cdn-learn.adafruit.com/assets/assets/000/049/943/medium800/projects_bird-pin-finished---grey-_-yellow-cropped.jpg?1515402640)

Congratulations - your pin is ready to wear.&nbsp; Take a moment to appreciate its originality, craftsmanship, and aesthetic appeal - then wear it with pride.


## Featured Products

### Othermill Pro - Compact Precision CNC + PCB Milling Machine

[Othermill Pro - Compact Precision CNC + PCB Milling Machine](https://www.adafruit.com/product/2323)
The **Othermill Pro** is a portable, precise milling machine that allows you to create 2D and 3D objects out of durable materials, such as wood, metal, and plastic, using digital designs. It's one of Lady Ada's favorite tools, and we use one at the Adafruit factory every...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2323)
[Related Guides to the Product](https://learn.adafruit.com/products/2323/guides)
### Adjustable 30W 110V soldering iron

[Adjustable 30W 110V soldering iron](https://www.adafruit.com/product/180)
This 'pen-style' soldering iron is just about the best entry-level tool I've seen. It's not as powerful as a Weller WES51 but it _is_ self-contained and easy to use. With proper care, it will last for many years. Turn it off when not in use, clean the plated tip with a...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/180)
[Related Guides to the Product](https://learn.adafruit.com/products/180/guides)
### Solder Wire - RoHS Lead Free - 0.5mm/.02" diameter

[Solder Wire - RoHS Lead Free - 0.5mm/.02" diameter](https://www.adafruit.com/product/2473)
If you want to make a kit you'll need some solder. This 0.1lb / 50g&nbsp;spool is a good amount, not too much (like 1 lb spools) and not too little (like those little 'pocket clip' vials).

This spool of solder is the less expensive version <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/2473)
[Related Guides to the Product](https://learn.adafruit.com/products/2473/guides)
### Chip Quik Tack Flux 10cc Syringe with Plunger and Tip

[Chip Quik Tack Flux 10cc Syringe with Plunger and Tip](https://www.adafruit.com/product/2667)
The **Chipquik Tack Flux 10cc Syringe** is ideal for all rework, solder, de-solder, and reflow applications!

The tack flux is non-corosive, non-conductive, no-clean and it won't run all over your PCB when applied. In our <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/2667)
[Related Guides to the Product](https://learn.adafruit.com/products/2667/guides)
### Panavise Jr.

[Panavise Jr.](https://www.adafruit.com/product/151)
The best mini-vise for working on smaller PCBs (2.875" or less in one dimension)! The jaws are strong plastic that wont damage the PCB and doesn't mind if you hit it with the soldering iron by accident. Made in the USA.

- The easy-to-use single knob controls head movement...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/151)
[Related Guides to the Product](https://learn.adafruit.com/products/151/guides)
### Stickvise PCB Vise

[Stickvise PCB Vise](https://www.adafruit.com/product/3197)
Are you still looking for that perfect PCB holder?&nbsp;The low profile **PCB Stickvise&nbsp;** might be just the thing you need!

In&nbsp;performing the simple task of holding a PCB near table level, the Stickvise is&nbsp;great because your hands can rest directly on the...

In Stock
[Buy Now](https://www.adafruit.com/product/3197)
[Related Guides to the Product](https://learn.adafruit.com/products/3197/guides)

## Related Guides

- [Making PCB Jewelry & Art with Gingerbread and KiCad](https://learn.adafruit.com/making-pcb-art-with-gingerbread-and-kicad.md)
- [Moana Glowing Heart of Te Fiti Necklace](https://learn.adafruit.com/moana-glowing-heart-of-te-fiti-necklace.md)
- [Burning Fire Wizard Staff](https://learn.adafruit.com/burning-fire-wizard-staff.md)
- [3D Printed Google Glass Adapter](https://learn.adafruit.com/3d-printed-google-glass-adapter.md)
- [Cheekmate - a Wireless Haptic Communication System](https://learn.adafruit.com/cheekmate-wireless-haptic-communication.md)
- [3D Printed LED Fire Horns](https://learn.adafruit.com/3d-printed-led-fire-horns.md)
- [Glowing Viking Rune wayFinder](https://learn.adafruit.com/glowing-viking-rune-artifact.md)
- [Whistle Dog Activity Monitor Teardown](https://learn.adafruit.com/whistle-dog-activity-monitor-teardown.md)
- [Flora Accelerometer](https://learn.adafruit.com/flora-accelerometer.md)
- [LED Festival Coat with Mapping and WLED ](https://learn.adafruit.com/led-festival-coat-with-mapping-and-wled.md)
- [Magic Band Teardown](https://learn.adafruit.com/magic-band-teardown.md)
- [NeoPixel LED Mickey Ears](https://learn.adafruit.com/neopixel-led-mickey-ears.md)
- [Wearable Piezo Tones with Flora](https://learn.adafruit.com/wearable-piezo-tones-with-flora.md)
- [Gemma Firewalker Lite Sneakers](https://learn.adafruit.com/gemma-led-sneakers.md)
- [Easy LED Jeweled Necklace](https://learn.adafruit.com/led-jeweled-necklace.md)
