# Adafruit CH334F Mini USB Hub Breakouts

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/131/438/medium800/components_5997-05.jpg?1721661826)

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 **Adafruit CH334F Mini USB Hub Breakouts** will do that for you! It features a CH334F USB 2.1 hub chip which converts one high-speed port into four in the [four port version](https://www.adafruit.com/product/5997) and two in the [two port version](https://www.adafruit.com/product/5999).

![](https://cdn-learn.adafruit.com/assets/assets/000/131/802/medium800/components_5999-03.jpg?1723489027)

Most folks who use a USB hub get one that comes in an enclosure with connectors or cables included. But, those hubs are going to be bulky - they're meant for external use. This breakout board is designed to be compact, so it can easily be embedded into an enclosure or existing device. There's four mounting holes but other than that, we tried to keep it as compact as possible.

![](https://cdn-learn.adafruit.com/assets/assets/000/131/439/medium800/components_5997-03.jpg?1721661865)

Part of how we kept it small is _not_ including downstream ports! The breakout has either 0.1" header or USB C for the upstream, and then four 4-pin ports for peripheral connections. We expect folks to solder directly to the pads [or use our 'simple' USB-breakout cables](https://www.adafruit.com/product/4449).

![](https://cdn-learn.adafruit.com/assets/assets/000/131/440/medium800/components_5997-04.jpg?1721661893)

You get one fully assembled/tested board and some extra header if you happen to want to plug it into a breadboard. Other than that, just keep in mind there are no USB ports for the downstreams - [if you need those, take a look at some of the other hubs we stock](https://www.adafruit.com/search?q=usb+hub).

![](https://cdn-learn.adafruit.com/assets/assets/000/131/441/medium800/components_5997-00.jpg?1721661943)

# Adafruit CH334F Mini USB Hub Breakouts

## Pinouts

![](https://cdn-learn.adafruit.com/assets/assets/000/131/442/medium800/components_double.jpg?1721662136)

![](https://cdn-learn.adafruit.com/assets/assets/000/131/805/medium800/components_double_2.jpg?1723496841)

Info: This page covers both the 4-Port and 2-Port versions of the CH334F breakouts. The pinout functionality is the same for both. The only difference is the number of downstream ports.

## USB Host

- **USB C Port** - At the top edge of the board is a USB C port. This port can act as the USB host for the CH334F hub.
- **USB Host Pins** - At the bottom edge of the board are the broken out pins for the CH334F USB host input, labeled **USBHOST** on the board silk. You can use these pins instead of the USB C port for the USB host connection. The following pins are available:
  - **5V** - 5V power input&nbsp;
  - **D+** - Positive data
  - **D-** - Negative data
  - **GND** - common ground for power and logic

## Downstream Port Pins

The CH334F breakout has four available downstream USB ports on the [4-Port version](https://www.adafruit.com/product/5997) and two available ports on the [2-Port version](https://www.adafruit.com/product/5999). They are labeled **PORT1** , **PORT2** , **PORT3** and **PORT4** on the board silk. Each port has the following connections available:

- **5V** - 5V power output
- **D+** - Positive data
- **D-** - Negative data
- **GND** - common ground for power and logic

## Status LEDs and LEDs Jumper

- **LEDs** - Each of the USB ports, the downstream ports and the USB host port, have a green LED. The LEDs for the downstream ports are located above the **PORT** label on the board silk. The USB host LED is located above the breakout pins at the bottom of the board. These LEDs indicate the status of each port. If the LED is on, it shows that the port is active.
- **LEDs Jumper** - On the back of the board, above the Mini USB Hub label on the board silk is the jumper for the LEDs. It is labeled **LEDs** on the board silk. Cut this jumper to disable the green LEDs.

# Adafruit CH334F Mini USB Hub Breakouts

## Downloads

## Files

- [CH334F Datasheet](https://cdn-learn.adafruit.com/assets/assets/000/131/435/original/CH334DS1.PDF?1721660148)
- [EagleCAD PCB Files on GitHub](https://github.com/adafruit/Adafruit-CH334F-Breakout-PCB)
- [2-Port Hub 3D model on GitHub](https://github.com/adafruit/Adafruit_CAD_Parts/tree/main/5999%20CH334F%202-Port%20HUB)
- [4-Port Hub Fritzing object in the Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20CH334F%20Mini%204-Port%20USB%20Hub%20Breakout.fzpz)
- [2-Port Hub Fritzing object in the Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20CH334F%20Mini%202-Port%20USB%20Hub%20Breakout.fzpz)
- [4-Port Hub 3D model on GitHub](https://github.com/adafruit/Adafruit_CAD_Parts/tree/main/5997%20CH334F%204-Port%20Hub "4-Port Hub 3D model on GitHub")

## Schematic and Fab Print

### 4-Port Hub
![](https://cdn-learn.adafruit.com/assets/assets/000/131/436/medium800/components_schem.png?1721661256)

![](https://cdn-learn.adafruit.com/assets/assets/000/131/437/medium800/components_fab.png?1721661263 dimensions are in inches)

### 2-Port Hub
![](https://cdn-learn.adafruit.com/assets/assets/000/131/803/medium800/components_schem_2.png?1723495970)

![](https://cdn-learn.adafruit.com/assets/assets/000/131/804/medium800/components_fab_2.png?1723496052 dimensions are in inches)

![](https://cdn-learn.adafruit.com/assets/assets/000/133/138/medium800/components_5999_CH334F_2-Port_HUB.jpg?1729007132)

![](https://cdn-learn.adafruit.com/assets/assets/000/136/273/medium800/components_5997-CH334F-4-Port-Hub.jpg?1744650096 )


## Primary 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)
### Adafruit CH334F Mini 2-Port USB Hub Breakout

[Adafruit CH334F Mini 2-Port USB Hub Breakout](https://www.adafruit.com/product/5999)
Sometimes, you've got something with a USB host, like an 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 2-Port USB Hub...**

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

## Related Guides

- [Match3 Game on the Fruit Jam and  Adafruit Metro RP2350](https://learn.adafruit.com/match3-game-on-metro-rp2350.md)
- [Using a Keyboard with USB Host](https://learn.adafruit.com/using-a-keyboard-with-usb-host.md)
- [USB Game Controller with SNES-like Layout](https://learn.adafruit.com/usb-game-controller-with-snes-like-layout.md)
- [Using a Mouse with USB Host](https://learn.adafruit.com/using-a-mouse-with-usb-host.md)
- [DOOM Keeb](https://learn.adafruit.com/doom-keeb.md)
- [Quick-Start the Pico W WiFi with CircuitPython](https://learn.adafruit.com/pico-w-wifi-with-circuitpython.md)
- [Adafruit Arcade Bonnet for Raspberry Pi](https://learn.adafruit.com/adafruit-arcade-bonnet-for-raspberry-pi.md)
- [Adafruit MCP3421 18-Bit ADC](https://learn.adafruit.com/adafruit-mcp3421-18-bit-adc.md)
- [Adafruit MiCS5524 CO / Alcohol / VOC Gas Sensor Breakout](https://learn.adafruit.com/adafruit-mics5524-gas-sensor-breakout.md)
- [Geofencing with the FONA 808 & Adafruit IO](https://learn.adafruit.com/geofencing-with-the-fona-808-and-adafruit-io.md)
- [CircuitPython Libraries on Linux and ODROID C2](https://learn.adafruit.com/circuitpython-libaries-linux-odroid-c2.md)
- [Adafruit LTC4311 I2C Extender / Active Terminator](https://learn.adafruit.com/adafruit-ltc4311-i2c-extender-active-terminator.md)
- [Moana Glowing Heart of Te Fiti Necklace](https://learn.adafruit.com/moana-glowing-heart-of-te-fiti-necklace.md)
- [Adafruit SHT4x Trinkey](https://learn.adafruit.com/adafruit-sht4x-trinkey.md)
- [Halloween Scream Box](https://learn.adafruit.com/halloween-scream-box.md)
