# 4-Port USB Hub for IKEA Mittzon Desk

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/146/933/medium800/3d_printing_hero-mittzon-usbhub.jpg?1791905849 )

https://youtu.be/P2jG0lBZNXk

## DIY USB Hub

The [IKEA MITTZON desk](https://www.ikea.com/us/en/p/mittzon-desk-white-s89525844/) features a plug-in module that is originally designed to fit the [KOPPLA](https://www.ikea.com/us/en/p/koppla-5-outlet-power-strip-2-usb-ports-white-10280825/) power strip. It's a neat idea but it only features 2x USB ports. Wouldn't it be great if it had MORE?!

The Adafruit CH334F 4-port USB hub breakout is perfect for embedding a DIY USB hub into projects. This project employs the breakout along with a 3D printed panel cover that's designed to fit into the IKEA MITTZON desk to create a custom integrated USB hub.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/939/medium640/3d_printing_hero-USB-cables-close.jpg?1791912473)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/937/medium640/3d_printing_hero-USB-cables.jpg?1791912365)

## Storage & Customization

The 3D printed panel also features an additional tray insert for storing items like adapters, cables, bits and bobs. You can print the panel in your favorite color to personalize it, and even customize the panel to include additional components by modifying the open source design files. Make it yours!

![](https://cdn-learn.adafruit.com/assets/assets/000/146/938/medium640/3d_printing_hero-tray-insert.jpg?1791912387)

# Parts
Featured
### Adafruit CH334F Mini 4-Port USB Hub Breakout

[Adafruit CH334F Mini 4-Port USB Hub Breakout](https://www.adafruit.com/product/5997)
Sometimes you've got something with USB host, like a embedded linux board, and you want to connect more than one thing. Or maybe you want to turn something like a keyboard into a multi-device USB peripheral. The&nbsp; **Adafruit CH334F Mini 4-Port USB Hub Breakout** &nbsp;will...

In Stock
[Buy Now](https://www.adafruit.com/product/5997)
[Related Guides to the Product](https://learn.adafruit.com/products/5997/guides)
![Reverse angled shot of black, rectangular, USB hub breakout.](https://cdn-shop.adafruit.com/640x480/5997-01.jpg)

Featured
### Snap-In Panel Mount Cable - USB Type A Socket to 4 Wires

quantity: 4
[Snap-In Panel Mount Cable - USB Type A Socket to 4 Wires](https://www.adafruit.com/product/6073)
This panel mount cable is great for making USB Host&nbsp;connections with a panel-mount setup. On the rectangular panel-mount side you get a USB Type A&nbsp;connector, the other end has power, ground and D+ / D- lines. We...

In Stock
[Buy Now](https://www.adafruit.com/product/6073)
[Related Guides to the Product](https://learn.adafruit.com/products/6073/guides)
![Angled shot of snap-in, USB-A panel mount cable with four wires.](https://cdn-shop.adafruit.com/640x480/6073-04.jpg)

Featured
### USB Type A to Type C Cable - approx 1 meter / 3 ft long

[USB Type A to Type C Cable - approx 1 meter / 3 ft long](https://www.adafruit.com/product/4474)
As technology changes and adapts, so does Adafruit. This&nbsp;&nbsp; **USB Type A to Type C** cable will help you with the transition to USB C, even if you're still totin' around a USB Type A hub, computer or laptop.

USB C is the latest industry-standard connector for...

In Stock
[Buy Now](https://www.adafruit.com/product/4474)
[Related Guides to the Product](https://learn.adafruit.com/products/4474/guides)
![Angled shot of a coiled black, USB-C to USB-A cable.](https://cdn-shop.adafruit.com/640x480/4474-02.jpg)

# 4-Port USB Hub for IKEA Mittzon Desk

## Circuit Diagram

The diagram below provides a general visual reference for wiring of the components once you get to the&nbsp; **Assembly** &nbsp;page. This diagram was created using Adafruit Circuit Designer.

https://circuit.adafruit-playground.com/c/o9i1xo1nmk

## Wired Connections

The CH334F 4-port USB Hub is powered by a computer's USB port. Wires connecting various components:

USB A #1 to CH334F

- 5V to 5V pin on Port 1
- D+ to D+ pin on Port 1
- D- to D- pin on Port 1&nbsp;
- GND to GND pin on Port 1

USB A #2 to CH334F

- 5V to 5V pin on Port 2
- D+ to D+ pin on Port 2
- D- to D- pin on Port 2
- GND to GND pin on Port 2

USB A #3 to CH334F

- 5V to 5V pin on Port 3
- D+ to D+ pin on Port 3
- D- to D- pin on Port 3
- GND to GND pin on Port 3

USB A #4 to CH334F

- 5V to 5V pin on Port 4
- D+ to D+ pin on Port 4
- D- to D- pin on Port 4
- GND to GND pin on Port 4

# 4-Port USB Hub for IKEA Mittzon Desk

## CAD Files

## CAD Parts

Individual 3MF files for 3D printing are oriented and ready to print on FDM machines using PLA filament. Original design source files may be downloaded using the links below.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/940/medium640/3d_printing_3d-parts.jpg?1791912687)

[Download 3MF.zip](https://cdn-learn.adafruit.com/assets/assets/000/146/945/original/3MF.zip?1791913287)
[Download CAD Source Files](https://cdn-learn.adafruit.com/assets/assets/000/146/946/original/CAD.zip?1791913308)
## CAD Assembly

The CH334F 4-port USB hub breakout snap fits into the built-in clips on the panel.

The four USB type A ports snap into the matching cutouts on the panel.

The storage tray insert fits into the matching cutout on the panel.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/942/medium640/3d_printing_cad-bottom.jpg?1791912987)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/943/medium640/3d_printing_cad-top.jpg?1791912999)

## Build Volume

The panel require a 3D printer with a minimum build volume of&nbsp;237 (X) x 237 (Y) x 12mm (Z).

The panel is oriented 45 degree diagonally across the bed of the 3D printer to fit properly.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/944/medium640/3d_printing_slice-size.jpg?1791913005)

# 4-Port USB Hub for IKEA Mittzon Desk

## Wiring Assembly

## USB Ports

Get the four USB-A ports ready to install into the 3D printed panel cover.

Ideally they will be oriented in the same direction.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/905/medium640/3d_printing_4-ports-panel.jpg?1791898113)

## Install USB port to Cover

Insert the wiring from one of the four USB-A ports through one of the rectangular cutouts through the top of the panel.

Firmly press the USB-A port into the cutout to snap it into place. You'll hear a satisfying "click" when it's installed.

Repeat this process for the remaining USB-A ports.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/906/medium640/3d_printing_port-1-panel-install.jpg?1791898157)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/907/medium640/3d_printing_port-1-panel-installed.jpg?1791898167)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/908/medium640/3d_printing_port-4-panel-installed.jpg?1791898181)

## Installed Ports

Take a moment to review the installed ports.

If needed, a port can be removed by squeezing the tabs on the side of the port and pulling it out.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/909/medium640/3d_printing_port-4-panel-install.jpg?1791898201)

## Wiring USB Hub Breakout

Take a moment to review the colored wires and which pins they will be wired too.

- red wire for 5V
- black for ground
- blue for D+
- white for D–

![](https://cdn-learn.adafruit.com/assets/assets/000/146/910/medium640/3d_printing_usb-pcb-ports-preinstall.jpg?1791898223)

## Solder Wire Connections

Solder the four wires from the first USB-A port to the pins on Port 1 on the CH334F breakout.

Repeat this process for the remaining USB-A ports.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/911/medium640/3d_printing_port-1-solder.jpg?1791898253)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/912/medium640/3d_printing_port-2-solder.jpg?1791898903)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/913/medium640/3d_printing_port-3-solder.jpg?1791898937)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/914/medium640/3d_printing_port-4-solder.jpg?1791898953)

## Wired USB Ports

Take a moment to review the wiring and ensure the soldered wires are connected to the correct pins on the USB breakout.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/915/medium640/3d_printing_ports-soldered.jpg?1791899027)

## Secure USB Hub Breakout

Orient the USB breakout with the panel so the USB-C port is facing the rounded edge of the panel.

Fit the two back corners of the PCB into the built-in clips on the panel.&nbsp;

Slightly flex the panel to allow the remaining corners of the PCB to fit under the remaining built-in clips and snap into place.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/920/medium640/3d_printing_pcb-panel-installing.jpg?1791902897)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/921/medium640/3d_printing_pcb-panel-installed.jpg?1791902916)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/922/medium640/3d_printing_pcb-panel-sideview.jpg?1791902967)

## Install Tray Insert

Insert the 3D printed tray into the matching cutout on the panel.

The outer lip will prevent the tray from falling all the way through the panel.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/923/medium640/3d_printing_bin-insert-installing.jpg?1791902984)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/924/medium640/3d_printing_bin-insert-installed.jpg?1791903003)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/925/medium640/3d_printing_assembled-panel.jpg?1791903014)

## MITTZON Plug-in Module

Get the 3D printed panel ready to install onto the MITTZON plug-in module.

Remove one of the two circular knock-out tabs from the MITTZON plug-in module. This is where you'll run the USB cable.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/926/medium640/3d_printing_panel-mittzon-tray-preinstall.jpg?1791903035)

## Connect USB cable

Insert a USB-C cable through the cutout in the MITTZON plug-in module and connect it to the USB-C port on the CH334F USB 4-port hub.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/927/medium640/3d_printing_mittzon-tray-usb-install.jpg?1791903079)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/928/medium640/3d_printing_mittzon-tray-usb-connect.jpg?1791903090)

## Install Panel

Place the 3D printed panel over the MITTZON plug-in module and press it into place.

![](https://cdn-learn.adafruit.com/assets/assets/000/146/929/medium640/3d_printing_panel-mittzon-tray-installing.jpg?1791903111)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/930/medium640/3d_printing_panel-mittzon-tray-installed.jpg?1791903121)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/932/medium640/3d_printing_final-assembly.jpg?1791903161)

## Mittzon Desk Install

Install the tray into the matching cutout in the plug-in module on the MITTZON desk with the USB cable snaked through the cable management felt tray.

Connect the USB cable to your computer's USB port.

Now you have four additional USB type A ports built-into your IKEA MITTZON desk!&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/146/935/medium640/3d_printing_panel-mittzon-tray-install.jpg?1791906016)

![](https://cdn-learn.adafruit.com/assets/assets/000/146/936/medium640/3d_printing_desk-installed.jpg?1791906041)


## Guide Products

### Adafruit CH334F Mini 4-Port USB Hub Breakout

[Adafruit CH334F Mini 4-Port USB Hub Breakout](https://www.adafruit.com/product/5997)
Sometimes you've got something with USB host, like a embedded linux board, and you want to connect more than one thing. Or maybe you want to turn something like a keyboard into a multi-device USB peripheral. The&nbsp; **Adafruit CH334F Mini 4-Port USB Hub Breakout** &nbsp;will...

In Stock
[Buy Now](https://www.adafruit.com/product/5997)
[Related Guides to the Product](https://learn.adafruit.com/products/5997/guides)
### Snap-In Panel Mount Cable - USB Type A Socket to 4 Wires

[Snap-In Panel Mount Cable - USB Type A Socket to 4 Wires](https://www.adafruit.com/product/6073)
This panel mount cable is great for making USB Host&nbsp;connections with a panel-mount setup. On the rectangular panel-mount side you get a USB Type A&nbsp;connector, the other end has power, ground and D+ / D- lines. We...

In Stock
[Buy Now](https://www.adafruit.com/product/6073)
[Related Guides to the Product](https://learn.adafruit.com/products/6073/guides)
### USB Type A to Type C Cable - approx 1 meter / 3 ft long

[USB Type A to Type C Cable - approx 1 meter / 3 ft long](https://www.adafruit.com/product/4474)
As technology changes and adapts, so does Adafruit. This&nbsp;&nbsp; **USB Type A to Type C** cable will help you with the transition to USB C, even if you're still totin' around a USB Type A hub, computer or laptop.

USB C is the latest industry-standard connector for...

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

## Related Guides

- [Adafruit CH334F Mini USB Hub Breakouts](https://learn.adafruit.com/adafruit-ch334f-mini-4-port-usb-hub-breakout.md)
- [Gravity Falls Memory Gun](https://learn.adafruit.com/gravity-falls-memory-gun.md)
- [USB MIDI Host2Host](https://learn.adafruit.com/usb-midi-host2host.md)
- [Google Graveyard with Adafruit MagTag](https://learn.adafruit.com/google-graveyard-with-adafruit-magtag.md)
- [Integrating Color Sensors with itsaSNAP and HomeKit](https://learn.adafruit.com/integrating-color-sensors-with-itsasnap-and-homekit.md)
- [IoT Twitter Listener Party Parrot](https://learn.adafruit.com/iot-twitter-listener-party-parrot.md)
- [MagTag IoT Menorah](https://learn.adafruit.com/magtag-iot-menorah.md)
- [Crankfruit](https://learn.adafruit.com/crankfruit.md)
- [Glow Up Your Festival Coat with WLED](https://learn.adafruit.com/glow-up-your-festival-coat-with-wled.md)
- [MagTag 3D Printed Stand Case](https://learn.adafruit.com/magtag-3d-printed-stand-case.md)
- [NeXT Computer Keyboard to USB HID with CircuitPython](https://learn.adafruit.com/next-computer-keyboard-to-usb-hid-with-circuitpython.md)
- [Using a Mouse with USB Host](https://learn.adafruit.com/using-a-mouse-with-usb-host.md)
- [Pepper's Ghost Monster Eye](https://learn.adafruit.com/peppers-ghost-monster-eye.md)
- [MagTag Literary Quote Clock](https://learn.adafruit.com/magtag-literary-quote-clock.md)
- [Egg Hunt Maze Game on Fruit Jam](https://learn.adafruit.com/egg-hunt-maze-game-on-fruit-jam.md)
- [CircuitPython on the Xteink X4 eReader](https://learn.adafruit.com/circuitpython-on-the-xteink-x4-ereader.md)
