# MP3 Feather - Gordon Cole

## Overview

https://www.youtube.com/watch?v=a7Cgl1EE3XE

In this project we'll build an MP3 Player based on the Feather M0 with a Music Maker wing. It&nbsp;plays a wide range of audio formats like&nbsp;such as MP3, AAC, Ogg Vorbis, WMA, MIDI, FLAC, WAV (PCM and ADPCM)! It also features a removable SD card&nbsp;for storage! Its portable and easy to power with the Feathers built in rechargeable circuit.&nbsp;The tiny size is perfect for installing inside small areas&nbsp;or as a wearable!&nbsp;&nbsp;

## Parametric Design

&nbsp;

The player design is based on Gordon Cole's&nbsp;Hearing Aid from the popular show Twin Peaks.

&nbsp;

We thought it would be fun to model the design&nbsp;around this characteristic wearable but with a twist.

&nbsp;

Instead of a hearing aid, we made an aid for hearing music.&nbsp;ha.

&nbsp;Although a fun design we include the source file to easily modify the design to fit any theme!

![3d_printing_hero-wear-B.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/510/medium640/3d_printing_hero-wear-B.jpg?1508708896)

![3d_printing_hero-hand.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/511/medium640/3d_printing_hero-hand.jpg?1508708917)

## Wearable&nbsp;

You can optionally print the included clip to make an awesome wearable mp3 player!

&nbsp;

It&nbsp;can clip onto your front shirt pocket or on a&nbsp;belt clip. Easy to reach, soft tactile buttons let you quickly&nbsp;access the play, pause and next buttons.

&nbsp;

The volume&nbsp;knob&nbsp;is easy to&nbsp;control with&nbsp;editable gain adjustments in the code.&nbsp;

![3d_printing_hero-solo.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/504/medium640/3d_printing_hero-solo.jpg?1508706881)

![3d_printing_hero-back-solo.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/505/medium640/3d_printing_hero-back-solo.jpg?1508706902)

## Prerequisite&nbsp;Guides

Check out the following guide below to get a better understanding of the&nbsp;Feather M0&nbsp;pin outs.

[Feather M0 Express](../../../../adafruit-feather-m0-express-designed-for-circuit-python-circuitpython)&nbsp;

## Parts, Tool & Supplies

If you don't have access to a 3D printer, you can send the files to a service or check with your local hackerspace/library.

&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/047/498/medium800/3d_printing_hero-wear-close.jpg?1508706278)

![](https://cdn-learn.adafruit.com/assets/assets/000/047/479/medium800/3d_printing_parts.jpg?1508634247)

Featured
### Adafruit Feather M0 Express

[Adafruit Feather M0 Express](https://www.adafruit.com/product/3403)
At the Feather M0's heart is an ATSAMD21G18 ARM Cortex M0+ processor, clocked at 48 MHz and at 3.3V logic, the same one used in the new&nbsp;[Arduino Zero](https://www.adafruit.com/products/2843). This chip has a whopping 256K of FLASH (8x more than the Atmega328 or 32u4) and...

In Stock
[Buy Now](https://www.adafruit.com/product/3403)
[Related Guides to the Product](https://learn.adafruit.com/products/3403/guides)
![Angled shot of rectangular microcontroller.](https://cdn-shop.adafruit.com/640x480/3403-04.jpg)

Featured
### Adafruit Music Maker FeatherWing - MP3 OGG WAV MIDI Synth Player

[Adafruit Music Maker FeatherWing - MP3 OGG WAV MIDI Synth Player](https://www.adafruit.com/product/3357)
Bend all audio files to your will with the **Adafruit Music Maker FeatherWing**! It's a fun-size version of our [Music Maker&nbsp;shield for Arduino](https://www.adafruit.com/product/1790)!&nbsp;This powerful wing features the VS1053, an encoding/decoding (codec)...

In Stock
[Buy Now](https://www.adafruit.com/product/3357)
[Related Guides to the Product](https://learn.adafruit.com/products/3357/guides)
![Adafruit Music Maker FeatherWing - MP3 OGG WAV MIDI Synth Player connected to a half sized breadboard and a set of headphones. ](https://cdn-shop.adafruit.com/640x480/3357-01.jpg)

Featured
### Soft Tactile Button (8mm) x 10

[Soft Tactile Button (8mm) x 10](https://www.adafruit.com/product/3101)
Put your project in stealth mode with these silent **Soft Tactile Switch Buttons**. **&nbsp;**

**T** actile switches are standard input "buttons" on electronic projects. These work best in a PCB but <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/3101)
[Related Guides to the Product](https://learn.adafruit.com/products/3101/guides)
![Angled shot of 10 8mm soft tactile buttons.](https://cdn-shop.adafruit.com/640x480/3101-00.jpg)

Featured
### Breadboard trim potentiometer

[Breadboard trim potentiometer](https://www.adafruit.com/product/356)
These are our favorite trim pots, perfect for breadboarding and prototyping. They have a long grippy adjustment knob and with 0.1" spacing, they plug into breadboards or perfboards with ease.

This is the same pot that comes with our character LCDs and tutorial...

In Stock
[Buy Now](https://www.adafruit.com/product/356)
[Related Guides to the Product](https://learn.adafruit.com/products/356/guides)
![Breadboard friendly trim potentiometer](https://cdn-shop.adafruit.com/640x480/356-03.jpg)

Featured
### Breadboard-friendly SPDT Slide Switch

[Breadboard-friendly SPDT Slide Switch](https://www.adafruit.com/product/805)
These nice switches are perfect for use with breadboard and perfboard projects. They have 0.1" spacing and snap in nicely into a solderless breadboard. They're easy to switch no matter what size fingers you have, but not so easy that they'll get flipped by accident. Work great as...

Out of Stock
[Buy Now](https://www.adafruit.com/product/805)
[Related Guides to the Product](https://learn.adafruit.com/products/805/guides)
![Small, black, SPDT slide switch.](https://cdn-shop.adafruit.com/640x480/805-03.jpg)

Featured
### Short Feather Male Headers - 12-pin and 16-pin Male Header Set

[Short Feather Male Headers - 12-pin and 16-pin Male Header Set](https://www.adafruit.com/product/3002)
These two&nbsp; **Short** &nbsp; **Male&nbsp;Headers** &nbsp;alone are, well, lonely. But pair them with any of our&nbsp;[Feather](https://www.adafruit.com/categories/777)&nbsp;boards and you're in business!

<p...></p...>In Stock
[Buy Now](https://www.adafruit.com/product/3002)
[Related Guides to the Product](https://learn.adafruit.com/products/3002/guides)
![Angled shot of a Short Feather Male Headers - 12-pin and 16-pin Male Header Set. ](https://cdn-shop.adafruit.com/640x480/3002-00.jpg)

Featured
### Short Headers Kit for Feather - 12-pin + 16-pin Female Headers

[Short Headers Kit for Feather - 12-pin + 16-pin Female Headers](https://www.adafruit.com/product/2940)
These two&nbsp; **Short** &nbsp; **Female&nbsp;Headers** &nbsp;alone are, well, lonely. But pair them with any of our&nbsp;[Feather](https://www.adafruit.com/categories/777)&nbsp;boards and you're in business!

These headers are particularly cute and...

In Stock
[Buy Now](https://www.adafruit.com/product/2940)
[Related Guides to the Product](https://learn.adafruit.com/products/2940/guides)
![Angled shot of two stacking headers.](https://cdn-shop.adafruit.com/640x480/2940-01.jpg)

Featured
### Lithium Ion Polymer Battery - 3.7v 100mAh

[Lithium Ion Polymer Battery - 3.7v 100mAh](https://www.adafruit.com/product/1570)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of ~100mAh for a total of about 0.4 Wh. If you need a larger battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1570)
[Related Guides to the Product](https://learn.adafruit.com/products/1570/guides)
![Lithium Ion Polymer Battery 3.7v 100mAh with JST 2-PH connector](https://cdn-shop.adafruit.com/640x480/1570-00.jpg)

Featured
### Adafruit LED Sequins - Emerald Green - Pack of 5

[Adafruit LED Sequins - Emerald Green - Pack of 5](https://www.adafruit.com/product/1756)
Sew a little sparkle into your wearable project with an Adafruit LED Sequin. These are the kid-sister to our popular [Flora NeoPixel](http://www.adafruit.com/products/1260), they only show a single color and they don't have digital control, but that makes them smaller easier to...

In Stock
[Buy Now](https://www.adafruit.com/product/1756)
[Related Guides to the Product](https://learn.adafruit.com/products/1756/guides)
![Single LED sequin PCB attached to two alligator clips, glowing green](https://cdn-shop.adafruit.com/640x480/1756-00.jpg)

![](https://cdn-learn.adafruit.com/assets/assets/000/047/526/medium800/3d_printing_hero-wear-wide.jpg?1508730984)

# MP3 Feather - Gordon Cole

## 3D Printing

![](https://cdn-learn.adafruit.com/assets/assets/000/047/480/medium800/3d_printing_3d-parts.jpg?1508634287)

The 3D printed parts are fairly easy to make with most common home desktop 3D printers that are&nbsp;on the market.

And if you don’t have access a 3D printer, you can order our parts by visiting our Thingiverse page and have someone local 3D print the parts and ship them to you.

&nbsp;

[Download CAD source](https://cdn-learn.adafruit.com/assets/assets/000/129/991/original/cad.zip?1715621131)
[Download from Thingiverse](https://www.thingiverse.com/thing:2603755)
## Slice Settings

Download the STL file and import it into your&nbsp;3D printing slicing software. You'll need to adjust your settings accordingly if you're using material different than PLA.

&nbsp;

- 230C Extruder Temp
- No heated bed (65C for&nbsp;heated)
- 1.0&nbsp;Extrusion Multiplier
- .4mm Nozzle
- 0.48 Extrusion Width
- .2mm Layer Height
- 30% infill
- No&nbsp;Supports
- 90mm/s&nbsp;| 120mm travel speed

![3d_printing_slice.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/484/medium640/3d_printing_slice.jpg?1508641668)

## Print case without supports

&nbsp;

The enclosure&nbsp;features mounts on both sides&nbsp;with a&nbsp; cutout&nbsp;through the model for mounting the battery. To avoid adding supports, we can orient the model&nbsp;to print on its side. This worked out really well as&nbsp;the overhangs start to catch themselves after a couple of layers!

&nbsp;

You can&nbsp;about 6 skirts (brims) the help adhere the enclosure to the build plate

![3d_printing_button-mount-section.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/483/medium640/3d_printing_button-mount-section.jpg?1508640064)

## Use supports for clip

&nbsp;

The screw mount for the clip may need a small amount of support as shown in the picture.&nbsp;

&nbsp;

Orient the clip on its side to have the maximum amount strength.

&nbsp;

To keep the supports from fusing with the part, position the supports away from the main body and add a **horizontal offset of about .8mm** from the part.&nbsp;

![3d_printing_slice-clip.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/485/medium640/3d_printing_slice-clip.jpg?1508641806)

## Clean up

&nbsp;

We used&nbsp;a flush diagonal cutter to clean&nbsp;up any stringing&nbsp; around the port openings and&nbsp;around&nbsp;the standoffs inside the enclosure.&nbsp;

&nbsp;

Make sure the&nbsp;openings for the slide switch and USB ports are cleaned before mounting components. Use a hobby knife to help cut away stringing that could block&nbsp;components from mounting.&nbsp;

![3d_printing_print-clean.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/482/medium640/3d_printing_print-clean.jpg?1508634966)

# MP3 Feather - Gordon Cole

## Circuit Diagram

![](https://cdn-learn.adafruit.com/assets/assets/000/047/481/medium800/3d_printing_circuit_diagram.png?1508634369)

Take a moment to review the components in the circuit diagram. This illustration is meant for&nbsp;referencing wired connections - The length of wire,&nbsp;position and size of components are not exact to the diagram.

Below are the wires lengths need for each component:

**Buttons:**  
57mm

**Knob:**  
83mm

**Slide switch:**  
49mm

**LED:**  
3v: 82mm  
Ground: 70mm

The Music Maker wing fits on top of the Feather M0 board.

Play, Pause/ Resume and Next buttons are connected to pins, **13, 12 and 11.** &nbsp;Negative&nbsp;is connected to the ground rail on the prototyping area on the Feather M0.

The&nbsp;status LED is connects power to **A5** and&nbsp;negative&nbsp;to **GND.**

Potentiometer connects power to&nbsp; **3v,** negative to&nbsp; **GND** and analog to **A0.**

Battery connects to the&nbsp; **JST** &nbsp;port next to the USB port on the Feather M0.

# MP3 Feather - Gordon Cole

## Code

## Feather M0 Express Arduino IDE Setup

We'll upload the code to the Adafruit Feather M0 Express using the Arduino IDE. We'll need to have the Adafruit board profile and libraries installed before uploading the code.&nbsp;If you're new to Arduino, let's first&nbsp;walkthrough the board profile setup using the&nbsp;[Adafruit Feather M0 Express guide](../../../../adafruit-feather-m0-express-designed-for-circuit-python-circuitpython/using-spi-flash?view=all#using-with-arduino-ide).

[Feather M0 Arduino Setup](https://learn.adafruit.com/adafruit-feather-m0-express-designed-for-circuit-python-circuitpython/using-spi-flash?view=all#using-with-arduino-ide)
[Music Maker Wing](https://learn.adafruit.com/adafruit-music-maker-featherwing/pinouts?view=all)
## Installing Libraries in Arduino

With the board profile, we can then install the dependencies. We'll use Arduino's built-in Library Manage to install the libraries. Goto **Sketch \> Include Library** &nbsp; and select **Manage Libraries**. Here, we'll search for the Adafruit VS1053 Library and install the latest version.

## &nbsp;Uploading Code

With the Feather board profile and Arduino library installed, download the **mp3player.ino** file save them to a new folder named “ **mp3player** ”. You'll want to place the new folder into arduino's sketches folder (ie. ~/HD/Documents/Arduino/sketches).

Open the mp3player.ino file in the Arduino IDE. Select the **Adafruit Feather M0 Express** board under the **Tools \> Board** menu. Connect the Feather board to your computer via microUSB cable and select "/dev/cu.modem..." under the **Tools \> Port** menu (Option might be named different using Windows OS).

Upload the code to the Feather using the **Upload** command, **Cmd+U** or clicking the arrow icon.

https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/Gordon_Cole_MP3_Player/Gordon_Cole_MP3_Player.ino

# MP3 Feather - Gordon Cole

## Assemble

## Short headers

To save as much space as we could, we'll use the short male and female header pins to connect the Feather M0 and Music Maker wing.&nbsp;&nbsp;

&nbsp;

## Align headers

&nbsp;

To keep the head aligned, we use a bread board and then added small pieces of sticky tac to help hold the Feather&nbsp;in place while soldering.

&nbsp;

## Solder male headers

&nbsp;

Position the long ends of the male headers on the breadboard as&nbsp;shown in the picture. We'll lay the Feather over the pins and then solder the shorter side of the headers to the back of the board.&nbsp;

![3d_printing_headers.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/441/medium640/3d_printing_headers.jpg?1508630568)

![3d_printing_headers-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/450/medium640/3d_printing_headers-solder.jpg?1508631188)

## Check solder

&nbsp;

Check that&nbsp;all of the the pins&nbsp;have enough solder applied to each pin. Now we'll turn the Feather board over so the back side is laying on the breadboard.&nbsp;

&nbsp;

Fit the female headers onto&nbsp;the male headers and then lay the Music Maker Feather&nbsp;on top. Apply a small amount tac&nbsp;on the sides of the Music Maker to hold and align the&nbsp;female headers in place.&nbsp;&nbsp;

&nbsp;

## Solder female header

&nbsp;

Carefully solder each female header pin without moving the boards. The enclosure port holes won't properly align if the headers are soldered on crooked.

&nbsp;

![3d_printing_headers-soldered-check.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/445/medium640/3d_printing_headers-soldered-check.jpg?1508630947)

![3d_printing_header-female-align.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/446/medium640/3d_printing_header-female-align.jpg?1508631027)

![3d_printing_header-female-tac.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/447/medium640/3d_printing_header-female-tac.jpg?1508631050)

![3d_printing_header-female-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/448/medium640/3d_printing_header-female-solder.jpg?1508631095)

## Check header connections&nbsp;

&nbsp;

Remove the tac&nbsp;and check that all of your solder points are connected. Make sure there isn't excess solder bridging other pins.&nbsp;

&nbsp;

Gently remove the Music Maker wing and set it a side as we'll move on to&nbsp;soldering&nbsp;the buttons.

![3d_printing_header-female-check.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/451/medium640/3d_printing_header-female-check.jpg?1508631246)

![3d_printing_header-female-checkB.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/452/medium640/3d_printing_header-female-checkB.jpg?1508631312)

## Bend buttons legs

&nbsp;

Slightly bend the legs outward with a pair of flat pliers. We'll need&nbsp;to gently pull them back far enough to fit&nbsp;through the&nbsp;button mounts&nbsp;inside the enclosure.&nbsp;&nbsp;

&nbsp;

## Tin&nbsp; Legs

## &nbsp;

We'll need to solder a wire to two of the legs&nbsp;that are diagonally across from each other. Apply a small amount of solder to both&nbsp;legs and then cut wires for each. Cut six wires **57mm&nbsp;** long, for each io pin and ground connection needed.  
&nbsp;&nbsp;&nbsp;&nbsp;

## Solder ground pins

&nbsp;

First, we'll solder the ground connections to all three buttons along the ground rail on the prototyping are of the Feather M0.

![3d_printing_button-leg-bend.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/453/medium640/3d_printing_button-leg-bend.jpg?1508631368)

![3d_printing_button-leg-bent.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/454/medium640/3d_printing_button-leg-bent.jpg?1508631398)

![3d_printing_button-leg-tin.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/455/medium640/3d_printing_button-leg-tin.jpg?1508631444)

![3d_printing_button-g-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/456/medium640/3d_printing_button-g-solder.jpg?1508631478)

## Slide switch

&nbsp;

Use a third helping hand to hold a slide switch&nbsp;and tin two pins&nbsp;and then remove the third pin. Don't remove the middle pin. Cut two wires&nbsp; **49mm** long and solder them&nbsp; each of the pins on the slide switch.&nbsp;&nbsp;

## &nbsp;

## &nbsp;

## Solder switch

&nbsp;

Turn the Feather M0 over and solder one of the slide switch pins to the **EN pin** and the other to the&nbsp; **GND pin.**

![3d_printing_slide_switch_cut2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/458/medium640/3d_printing_slide_switch_cut2.jpg?1508632753)

![3d_printing_slide-switch-board-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/459/medium640/3d_printing_slide-switch-board-solder.jpg?1508632896)

## Insert slide switch

&nbsp;

Insert the slide switch at an angle between the two walls inside the&nbsp;enclosure as shown in the picture. Make sure the port opening for the switch are clean. Use tweezers to help push the switch through the port opening.

&nbsp;

## Mount Feather

&nbsp;

Now we can carefully mount the Feather M0 inside the enclosure. Align the port holes and use **M2.5x5mm** long screws to&nbsp;mount the board.

&nbsp;

&nbsp;

## Mount Buttons

&nbsp;

Insert the buttons at an angle. You can use tweezers to help push the buttons between the walls and into the cut&nbsp;outs for each.

&nbsp;

After inserting each button, gently bend the leg back inward to make room for the next button.

![3d_printing_slide-switch-mount.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/460/medium640/3d_printing_slide-switch-mount.jpg?1508632954)

![3d_printing_feather-mounting-screws.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/461/medium640/3d_printing_feather-mounting-screws.jpg?1508633074)

![3d_printing_buttons-mouting.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/462/medium640/3d_printing_buttons-mouting.jpg?1508633174)

![3d_printing_buttons-mouting-close.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/463/medium640/3d_printing_buttons-mouting-close.jpg?1508633204)

## Battery

&nbsp;

Now we can mount the battery on top of the Feather M0. Plug the battery into the JST connection on the&nbsp;boards and then arrange the wires into the corner of the enclosure.&nbsp;&nbsp;

&nbsp;

## Attach Music Maker Feather

&nbsp;

Align and mount&nbsp;the Music Maker Feather on top of the M0. Make sure to maneuver the ground wires&nbsp;so the headers&nbsp;don't kink them when mounting.

&nbsp;

## Solder button pins

&nbsp;

Now we can solder&nbsp;each button to pins 13, 12 and 11.

![3d_printing_battery-plugin.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/465/medium640/3d_printing_battery-plugin.jpg?1508633267)

![3d_printing_button-pin-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/466/medium640/3d_printing_button-pin-solder.jpg?1508633289)

## Replace Knob

&nbsp;

Gently remove the knob&nbsp;on the&nbsp; potentiometer&nbsp;by carefully wedging your fingernail between it and the base. The printed replacement fits&nbsp;into&nbsp;the white plastic nub.

&nbsp;

&nbsp;

## Solder wires

&nbsp;

Solder pins&nbsp;as shown in the circuit diagram. Tin all three pins on the potentiometer,&nbsp;cut three wires&nbsp; **83mm** long and then solder to each wire.

![3d_printing_knob-remove-cap.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/467/medium640/3d_printing_knob-remove-cap.jpg?1508633345)

![3d_printing_knob-solder-wire.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/468/medium640/3d_printing_knob-solder-wire.jpg?1508633690)

## Solder pins

&nbsp;

Now we can solder each pin to **A0, GND&nbsp;** and&nbsp; **3V.** You can solder&nbsp;wires to&nbsp;the secondary pin or right on top of the header pins to avoid soldering so close to other components on the Music Maker board.

![3d_printing_knob-solder-board.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/472/medium640/3d_printing_knob-solder-board.jpg?1508633997)

LED&nbsp;

&nbsp;

Use a third helping hand&nbsp;to hold the tiny Sequin led in place while tinning a&nbsp;soldering wires for power and ground.

&nbsp;

&nbsp;

Cut wires **82mm** long and solder them to the + and -&nbsp;pads on the sequin.

We can mount the sequin on the corner, over top of the Music Maker wing as shown in the picture.&nbsp;&nbsp;

![3d_printing_led-solder-wire.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/473/medium640/3d_printing_led-solder-wire.jpg?1508634029)

![3d_printing_led-solder-solder-board.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/474/medium640/3d_printing_led-solder-solder-board.jpg?1508634067)

## Align&nbsp;lid

&nbsp;

&nbsp;Orient the&nbsp;potentiometer so the pins are pointing towards the long side of the lid and gently push it inside the port opening walls. Gently bend the pins straight to fit it inside the enclosure.&nbsp;

&nbsp;

## Mount lid

&nbsp;

Align the lid so the potentiometer is over the SD card slot. Press the lid so the snap fit nubs on the side snap fit together.

![3d_printing_knob-lid-align.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/475/medium640/3d_printing_knob-lid-align.jpg?1508634102)

![3d_printing_knob-lid-insert.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/476/medium640/3d_printing_knob-lid-insert.jpg?1508634133)

![3d_printing_lid-wires.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/477/medium640/3d_printing_lid-wires.jpg?1508634184)

![3d_printing_hero-last-build.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/478/medium640/3d_printing_hero-last-build.jpg?1508634222)

## Attach wearable clip

&nbsp;

Next we can go ahead and push the printed clips through the back opening on the&nbsp;enclosure.

&nbsp;

Align the&nbsp;two the screws mounts&nbsp;so the back&nbsp;flat side is facing away from the enclosure as shown in the picture.&nbsp;

&nbsp;

Align the clip to the slot on the&nbsp;enclosure. Press the protrusion on the clip into the slot until the screw mount pushes up&nbsp;against the&nbsp;back of the enclosure.

&nbsp;

Use **M2.5x5mm&nbsp;** long screws to secure the clips to the&nbsp;enclosure.&nbsp;&nbsp;

&nbsp;

Make sure the&nbsp;protrusion has a tight fit into the slot or the clip will have a weak hold when&nbsp;wearing.&nbsp;

![3d_printing_clip-align.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/507/medium640/3d_printing_clip-align.jpg?1508707879)

![3d_printing_clip-screw.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/508/medium640/3d_printing_clip-screw.jpg?1508707897)

![3d_printing_clip-screwed.jpg](https://cdn-learn.adafruit.com/assets/assets/000/047/509/medium640/3d_printing_clip-screwed.jpg?1508707915)

![](https://cdn-learn.adafruit.com/assets/assets/000/047/506/medium800/3d_printing_hero-hand.jpg?1508707451)


## Guide Products

### Adafruit Feather M0 Express

[Adafruit Feather M0 Express](https://www.adafruit.com/product/3403)
At the Feather M0's heart is an ATSAMD21G18 ARM Cortex M0+ processor, clocked at 48 MHz and at 3.3V logic, the same one used in the new&nbsp;[Arduino Zero](https://www.adafruit.com/products/2843). This chip has a whopping 256K of FLASH (8x more than the Atmega328 or 32u4) and...

In Stock
[Buy Now](https://www.adafruit.com/product/3403)
[Related Guides to the Product](https://learn.adafruit.com/products/3403/guides)
### Adafruit Music Maker FeatherWing - MP3 OGG WAV MIDI Synth Player

[Adafruit Music Maker FeatherWing - MP3 OGG WAV MIDI Synth Player](https://www.adafruit.com/product/3357)
Bend all audio files to your will with the **Adafruit Music Maker FeatherWing**! It's a fun-size version of our [Music Maker&nbsp;shield for Arduino](https://www.adafruit.com/product/1790)!&nbsp;This powerful wing features the VS1053, an encoding/decoding (codec)...

In Stock
[Buy Now](https://www.adafruit.com/product/3357)
[Related Guides to the Product](https://learn.adafruit.com/products/3357/guides)
### Soft Tactile Button (8mm) x 10

[Soft Tactile Button (8mm) x 10](https://www.adafruit.com/product/3101)
Put your project in stealth mode with these silent **Soft Tactile Switch Buttons**. **&nbsp;**

**T** actile switches are standard input "buttons" on electronic projects. These work best in a PCB but <a...></a...>

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

[Breadboard trim potentiometer](https://www.adafruit.com/product/356)
These are our favorite trim pots, perfect for breadboarding and prototyping. They have a long grippy adjustment knob and with 0.1" spacing, they plug into breadboards or perfboards with ease.

This is the same pot that comes with our character LCDs and tutorial...

In Stock
[Buy Now](https://www.adafruit.com/product/356)
[Related Guides to the Product](https://learn.adafruit.com/products/356/guides)
### Breadboard-friendly SPDT Slide Switch

[Breadboard-friendly SPDT Slide Switch](https://www.adafruit.com/product/805)
These nice switches are perfect for use with breadboard and perfboard projects. They have 0.1" spacing and snap in nicely into a solderless breadboard. They're easy to switch no matter what size fingers you have, but not so easy that they'll get flipped by accident. Work great as...

Out of Stock
[Buy Now](https://www.adafruit.com/product/805)
[Related Guides to the Product](https://learn.adafruit.com/products/805/guides)
### Short Feather Male Headers - 12-pin and 16-pin Male Header Set

[Short Feather Male Headers - 12-pin and 16-pin Male Header Set](https://www.adafruit.com/product/3002)
These two&nbsp; **Short** &nbsp; **Male&nbsp;Headers** &nbsp;alone are, well, lonely. But pair them with any of our&nbsp;[Feather](https://www.adafruit.com/categories/777)&nbsp;boards and you're in business!

<p...></p...>In Stock
[Buy Now](https://www.adafruit.com/product/3002)
[Related Guides to the Product](https://learn.adafruit.com/products/3002/guides)
### Short Headers Kit for Feather - 12-pin + 16-pin Female Headers

[Short Headers Kit for Feather - 12-pin + 16-pin Female Headers](https://www.adafruit.com/product/2940)
These two&nbsp; **Short** &nbsp; **Female&nbsp;Headers** &nbsp;alone are, well, lonely. But pair them with any of our&nbsp;[Feather](https://www.adafruit.com/categories/777)&nbsp;boards and you're in business!

These headers are particularly cute and...

In Stock
[Buy Now](https://www.adafruit.com/product/2940)
[Related Guides to the Product](https://learn.adafruit.com/products/2940/guides)
### Lithium Ion Polymer Battery - 3.7v 100mAh

[Lithium Ion Polymer Battery - 3.7v 100mAh](https://www.adafruit.com/product/1570)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of ~100mAh for a total of about 0.4 Wh. If you need a larger battery, <a...></a...>

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

## Related Guides

- [Adafruit Feather M0 Express](https://learn.adafruit.com/adafruit-feather-m0-express-designed-for-circuit-python-circuitpython.md)
- [Doomscroll and Chill - A Wireless BLE Scroll Wheel Remote](https://learn.adafruit.com/doomscroll-and-chill-wireless-ble-scroll-wheel-rotary-encoder-remote.md)
- [CRICKIT Snake Bot](https://learn.adafruit.com/crickit-snake-bot.md)
- [CLUE case](https://learn.adafruit.com/clue-case.md)
- [I Vote(d) Pin](https://learn.adafruit.com/i-vote-d-pin.md)
- [Creating Custom Symbol Fonts for Adafruit GFX Library](https://learn.adafruit.com/creating-custom-symbol-font-for-adafruit-gfx-library.md)
- [RGB Matrix Slot Machine](https://learn.adafruit.com/rgb-matrix-slot-machine.md)
- [Wearable Continuous Temperature Monitor with Adafruit IO](https://learn.adafruit.com/wearable-temperature-monitor.md)
- [Thermal Camera with Display](https://learn.adafruit.com/thermal-camera-with-display.md)
- [Lego Neon NeoPixel Sign with CircuitPython](https://learn.adafruit.com/lego-neon-sign.md)
- [MakeCode Maker](https://learn.adafruit.com/makecode-maker.md)
- [LED Acrylic Sign](https://learn.adafruit.com/led-acrylic-sign.md)
- [reef-pi Guide 2: Power Controller](https://learn.adafruit.com/reef-pi-power-controller.md)
- [NeoPixel Flame Torch](https://learn.adafruit.com/neopixel-flame-torch.md)
- [CircuitPython OLED and Dual Knob Sketcher](https://learn.adafruit.com/circuitpython-oled-knob-sketcher.md)
- [Glowing Scale Armor](https://learn.adafruit.com/glowing-scale-armor.md)
