# Micro USB Dock for Circuit Playground

## Overview

https://www.youtube.com/watch?v=72w5vyfTc6I

In this project we’re building a dock for Adafruit’s Dev Boards.

&nbsp;

This simple dock lets you stand your dev board upright making it easy to display.&nbsp;A micro USB cable is connected to the back of the dock for charging and reprogramming.

![circuit_playground_hero-cpx-light-solo.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/840/medium640/circuit_playground_hero-cpx-light-solo.jpg?1512406642)

Our 3D printed dock works with micro USB devices like the Adafruit feather and the BBC micro Bit!

&nbsp;

This is a great way to keep your board from slipping and sliding&nbsp;off your desk. This simple design is great for different board shapes making it universal.

![circuit_playground_hero-microbit.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/841/medium640/circuit_playground_hero-microbit.jpg?1512406778)

We’ll use a micro usb breakout board and connector to build a custom usb extension.

&nbsp;

You can personalize the 3D model and 3D print the dock in your favorite colors.

![circuit_playground_hero-feather-matrix-solo.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/842/medium640/circuit_playground_hero-feather-matrix-solo.jpg?1512406951)

## Parts, Tools & Components

You'll need just a couple a parts to build this project.&nbsp; 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;

### USB Micro-B Breakout Board

[USB Micro-B Breakout Board](https://www.adafruit.com/product/1833)
Simple but effective - this breakout board has a USB Micro-B connector, with all 5 pins broken out. Great for pairing with a microcontroller with USB support, or adding USB 5V power to a project.  
  
We use a micro-B connector with through-hole shielding pads for an excellent strong...

In Stock
[Buy Now](https://www.adafruit.com/product/1833)
[Related Guides to the Product](https://learn.adafruit.com/products/1833/guides)
![Angled shot of small, blue, rectangular USB micro-b breakout board.](https://cdn-shop.adafruit.com/640x480/1833-06.jpg)

### Silicone Cover Stranded-Core Wire - 30AWG in Various Colors

[Silicone Cover Stranded-Core Wire - 30AWG in Various Colors](https://www.adafruit.com/product/2051)
Silicone-sheathing wire is super-flexible and soft, and its also strong! Able to handle up to 200°C and up to 600V, it will do when PVC covered wire wimps out. We like this wire for being extremely supple and flexible, so it is great for wearables or projects where the wire-harness has to...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2051)
[Related Guides to the Product](https://learn.adafruit.com/products/2051/guides)
![Silicone Cover Stranded-Core Wire - 30AWG in Various Colors laid out beside each other. ](https://cdn-shop.adafruit.com/640x480/2051-01.jpg)

# Micro USB Dock for Circuit Playground

## 3D Printing

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

&nbsp;

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;

![circuit_playground_3d-parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/843/medium640/circuit_playground_3d-parts.jpg?1512407697)

[Download Fusion360 Source](https://a360.co/3w58azZ)
[Download from Thingiverse](https://www.thingiverse.com/thing:2692918)
[Download from Youmagine](https://www.youmagine.com/designs/micro-usb-dock/)
[Download from Pinshape](https://pinshape.com/items/40927-3d-printed-micro-usb-dock)
## Slice Settings

&nbsp;

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.

- 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
- Brim
- 90mm/s&nbsp;| 120mm travel speed

![circuit_playground_s3d.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/885/medium640/circuit_playground_s3d.jpg?1512413441)

## Dual Colors

&nbsp;

To print in multiple colors, we can use the separate dock parts file.

&nbsp;

In Simplify3D, select all of the&nbsp;dock files and then&nbsp;under the edit menu,&nbsp;select&nbsp; **Align Selected Model Origins**.&nbsp;Then select&nbsp; **Group Selection** &nbsp;under the edit menu. Lay the lid flat with the bigger base side on the bed.&nbsp;

&nbsp;

In Cura, select&nbsp;a part and then on the extruder(color) for each part. Now select&nbsp;both of the dock parts and then select&nbsp; **merge models.** &nbsp;Now we can rotate the merged model and&nbsp;lay the lid flat on the bed.&nbsp;

![circuit_playground_cura.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/888/medium640/circuit_playground_cura.jpg?1512413910)

## Clean up

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

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

To remove the brim, we used a&nbsp;deburring tool to remove the sharp edges on parts.&nbsp;

# Micro USB Dock for Circuit Playground

## Circuit Diagram

![](https://cdn-learn.adafruit.com/assets/assets/000/048/911/medium800/circuit_playground_circuit-diagram.jpg?1512435863)

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.&nbsp;

The wire must be at least 70mm long in order to reach from the breakout to the USB connector. This will give enough&nbsp;slack to open and close the lid.&nbsp;

The illustration above depicts the&nbsp;top and bottom sides of&nbsp; **one** &nbsp;Micro USB connector, do not connect two USB Connectors to the breakout board!

# Micro USB Dock for Circuit Playground

## Assemble

We’ll use a Micro&nbsp;USB breakout board and a Micro&nbsp;USB connector to build a custom&nbsp;USB extension.

&nbsp;

Five wired connections are needed for the usb connector and breakout. Measure **wires 70mm long** &nbsp;so we can have enough slack to reach each side of the enclosure.&nbsp;

&nbsp;

Strip and then use third helping hands to hold wires while tinning each side of the wire.

![circuit_playground_parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/889/medium640/circuit_playground_parts.jpg?1512417659)

![circuit_playground_wire-measure.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/890/medium640/circuit_playground_wire-measure.jpg?1512418397)

## Solder the USB connector

&nbsp;

30 gage wires are necessary for connecting to the small pads on the USB connector. Carefully tin each of the 5 pads. Make sure to double check that the&nbsp;solder&nbsp;doesn't&nbsp;bridge across multiple pads. You can&nbsp;quickly&nbsp;reheat the any connection&nbsp;with a quick swiping motion to remove any solder&nbsp;bridging pads.

&nbsp;

**Take note that the wires are oriented away from the bottom to avoid squishing and damaging the connections once inside the dock.**

&nbsp;

A pair of tweezers&nbsp;are really nice for handling wires and getting into those tight spaces.

&nbsp;

&nbsp;

The different colored wires reference standard usb cables and help tell the connections apart. Follow the connections on the circuit diagram page to reference while soldering.

&nbsp;

&nbsp;

![circuit_playground_usb-pins-tin.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/891/medium640/circuit_playground_usb-pins-tin.jpg?1512422484)

![circuit_playground_wire-solder-orientation.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/892/medium640/circuit_playground_wire-solder-orientation.jpg?1512422510)

![circuit_playground_wire-solder-orientation-side.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/893/medium640/circuit_playground_wire-solder-orientation-side.jpg?1512422534)

## USB Breakout

&nbsp;

Tin each pad on the USB breakout board. Double check the connections on the&nbsp;breakout match those on the USB connector.

&nbsp;

Use a third helping hand to stabilize the board and match the wire colors to the pads on the breakout board.&nbsp;

&nbsp;

Now we can solder the wires to the breakout board. Apply heat from the bottom of the board.&nbsp;As the solder&nbsp;solidifies, push the wire through the hole.&nbsp;

&nbsp;

**Double check the&nbsp;connections&nbsp;to each pin match!&nbsp;**

&nbsp;

&nbsp;

With the 3d printed case in hand ,we can start to lay out how&nbsp;the breakout board and USB connector will mount onto the enclosure.

![circuit_playground_breakout-tin.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/894/medium640/circuit_playground_breakout-tin.jpg?1512423035)

![circuit_playground_breakout-solder.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/895/medium640/circuit_playground_breakout-solder.jpg?1512423070)

![circuit_playground_cable-layout.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/896/medium640/circuit_playground_cable-layout.jpg?1512423122)

## Mounting USB Breakout

&nbsp;

First we'll secure the breakout board to the lid. We can use two M2.5x5mm long screws to fasten the board to the lid.

&nbsp;

We recommend that you first tap the standoffs to make tightening the screws easier. You can&nbsp;create the threads by fastening each standoff with a screw and then&nbsp;fastening&nbsp;the board.&nbsp;

&nbsp;

## Wire management&nbsp;

&nbsp;

To keep the wires tidy, we can use heat shrink tubing or strips of kapton tape&nbsp;to help keep the wires nicely arranged.&nbsp;

&nbsp;

## &nbsp;
![circuit_playground_breakout-mount.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/897/medium640/circuit_playground_breakout-mount.jpg?1512424862)

![circuit_playground_wires-katonB.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/900/medium640/circuit_playground_wires-katonB.jpg?1512425440)

![circuit_playground_usb-pressfit.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/901/medium640/circuit_playground_usb-pressfit.jpg?1512425469)

## USB Connector

&nbsp;

The USB connector is press fitted through the enclosure and held in place by the pillar feature on the lid. Make sure&nbsp;to check the orientation of the USB connector. Reference&nbsp;the usb port on the board you plan to dock to see how&nbsp;the board will mount. The Circuit Playground board mounts so the LEDs&nbsp;faces forward

&nbsp;

You can&nbsp;always rearrange the USB connector by pushing it out and reinserting to match&nbsp;the board your using.&nbsp;

&nbsp;

## Snap&nbsp;lid

&nbsp;

The cover snap fits and locks onto the dock without any screws. Angle the board to the USB port first, and then snap the rest of the lid onto the enclosure.

![circuit_playground_usb-pressfitted.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/902/medium640/circuit_playground_usb-pressfitted.jpg?1512425586)

![circuit_playground_lid-close.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/903/medium640/circuit_playground_lid-close.jpg?1512425622)

## Complete!

&nbsp;

Now we can plug in a micro USB cable into the back of the dock.&nbsp;Take note&nbsp;that the USB connector on the top of the dock is mounted at an angle, so carefully align boards when docking!

![circuit_playground_docks.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/906/medium640/circuit_playground_docks.jpg?1512428262)

![circuit_playground_hero-three-up.jpg](https://cdn-learn.adafruit.com/assets/assets/000/048/907/medium640/circuit_playground_hero-three-up.jpg?1512428285)


## Featured Products

### USB Micro-B Breakout Board

[USB Micro-B Breakout Board](https://www.adafruit.com/product/1833)
Simple but effective - this breakout board has a USB Micro-B connector, with all 5 pins broken out. Great for pairing with a microcontroller with USB support, or adding USB 5V power to a project.  
  
We use a micro-B connector with through-hole shielding pads for an excellent strong...

In Stock
[Buy Now](https://www.adafruit.com/product/1833)
[Related Guides to the Product](https://learn.adafruit.com/products/1833/guides)
### USB DIY Connector Shell - Type Micro-B Plug

[USB DIY Connector Shell - Type Micro-B Plug](https://www.adafruit.com/product/1390)
Make your own USB connections without slicing apart a USB cable and soldering those thin wires inside. These DIY "USB shells" are available in [USB A plug](http://www.adafruit.com/products/1387), [micro B](http://www.adafruit.com/products/1390), <a...></a...>

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1390)
[Related Guides to the Product](https://learn.adafruit.com/products/1390/guides)
### Circuit Playground Express

[Circuit Playground Express](https://www.adafruit.com/product/3333)
 **Circuit Playground Express** is the next step towards a perfect introduction to electronics and programming. We've taken the original Circuit Playground Classic and made it even better! Not only did we pack even more sensors in, we also made it even easier to...

In Stock
[Buy Now](https://www.adafruit.com/product/3333)
[Related Guides to the Product](https://learn.adafruit.com/products/3333/guides)
### Silicone Cover Stranded-Core Wire - 30AWG in Various Colors

[Silicone Cover Stranded-Core Wire - 30AWG in Various Colors](https://www.adafruit.com/product/2051)
Silicone-sheathing wire is super-flexible and soft, and its also strong! Able to handle up to 200°C and up to 600V, it will do when PVC covered wire wimps out. We like this wire for being extremely supple and flexible, so it is great for wearables or projects where the wire-harness has to...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2051)
[Related Guides to the Product](https://learn.adafruit.com/products/2051/guides)
### USB Patterned Fabric Cable - A/MicroB

[USB Patterned Fabric Cable - A/MicroB](https://www.adafruit.com/product/2008)
Oooh it's so soft! And that beautiful&nbsp;pattern! If you have to have visible cables&nbsp;then you might as well have the nicest fabric bound cable with a eye-catching snake-like pattern. &nbsp;That's why we now carry this standard A to micro-B USB cable&nbsp;for USB 1.1 or 2.0....

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2008)
[Related Guides to the Product](https://learn.adafruit.com/products/2008/guides)
### PLA Filament for 3D Printers - 1.75mm Diameter - Teal - 1KG

[PLA Filament for 3D Printers - 1.75mm Diameter - Teal - 1KG](https://www.adafruit.com/product/3069)
Having a 3D printer without filament is sort of like having a regular printer without paper or ink. &nbsp;And while a lot of printers come with some filament there's a good chance you've been printing up a storm and need something new. That's why we've started carrying a...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3069)
[Related Guides to the Product](https://learn.adafruit.com/products/3069/guides)
### Ultimaker 3 - 3D Printer

[Ultimaker 3 - 3D Printer](https://www.adafruit.com/product/3300)
The **Ultimaker 3** &nbsp;is one of our favorite 3D printers on the market. It's a well-built open-source compact machine with an excellent UX.&nbsp;Every inch of the Ultimaker 3&nbsp;is designed to create the most effortless and reliable 3D printing experience ever!&nbsp;<a...></a...>

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3300)
[Related Guides to the Product](https://learn.adafruit.com/products/3300/guides)
### Type A Machines Series 1 Pro 3D Printer

[Type A Machines Series 1 Pro 3D Printer](https://www.adafruit.com/product/2412)
Built to last&nbsp;and better than ever. The **Series&nbsp;1&nbsp;Pro 3D** printers&nbsp;from Type A Machines offer&nbsp;durability, modularity and one of the largest build volumes in their&nbsp;class.

Featuring a streamlined aluminum and acrylic body, a glass build surface...

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

## Related Guides

- [Adafruit Circuit Playground Express](https://learn.adafruit.com/adafruit-circuit-playground-express.md)
- [StarFlower NeoPixel Strand with MakeCode](https://learn.adafruit.com/starflower-neopixel-strand.md)
- [Make It Glow - Your First NeoPixel Project](https://learn.adafruit.com/make-it-glow-your-first-neopixel-project.md)
- [What is Web MIDI & BLE MIDI?](https://learn.adafruit.com/web-ble-midi.md)
- [Interactive Map with Circuit Playground Express](https://learn.adafruit.com/interactive-map-with-cpx.md)
- [The MonkMakes Plant Monitor and CircuitPython](https://learn.adafruit.com/monkmakes-plant-monitor-and-circuitpython.md)
- [UART Communication Between Two CircuitPython Boards](https://learn.adafruit.com/uart-communication-between-two-circuitpython-boards.md)
- [Adventure Time Coffee Cup Lamp with MakeCode](https://learn.adafruit.com/adventure-time-coffee-cup-lamp.md)
- [Circuit Playground Express Perk-up Ears](https://learn.adafruit.com/perk-up-ears.md)
- [Mu Keyboard Shortcut Cheat Sheets](https://learn.adafruit.com/mu-keyboard-shortcut-cheat-sheets.md)
- [Circuit Playground + CircuitPython Quickstart Guide](https://learn.adafruit.com/circuit-playground-express-circuitpython-5-minute-guide.md)
- [LED NeoPixel Corset with Circuit Playground Express and MakeCode](https://learn.adafruit.com/led-corset-with-circuit-playground-and-makecode.md)
- [Circuit Playground Morse Code Flasher](https://learn.adafruit.com/circuitplayground-morse-code-flasher-makecode-circuit-python.md)
- [Tilt Controlled Marble Maze](https://learn.adafruit.com/tilt-controlled-marble-maze.md)
- [Halloween Sentry-Bot with CRICKIT for CPX](https://learn.adafruit.com/halloween-sentry-bot.md)
- [Circuit Playground Powerpuff Girls Valentine](https://learn.adafruit.com/circuit-playground-valentine.md)
