

The Adafruit CH334F Mini 4-Port USB Hub Breakout (Part ID: 5997) is a compact and versatile USB hub designed to expand a single USB port into four fully functional USB ports. Powered by the CH334F USB controller, this breakout board ensures reliable data transfer and efficient power management. Its small form factor makes it ideal for embedded systems, DIY electronics projects, and portable applications.








The Adafruit CH334F Mini 4-Port USB Hub Breakout is designed to meet the needs of both hobbyists and professionals. Below are the key technical details:
The CH334F Mini 4-Port USB Hub Breakout features a simple pinout for easy integration into your projects. Below is the pin configuration:
| Pin Name | Description |
|---|---|
| VBUS | 5V power input from the USB host (powers the hub and connected devices). |
| GND | Ground connection. |
| D+ | USB data line (positive) for communication with the USB host. |
| D- | USB data line (negative) for communication with the USB host. |
| USB1-USB4 | Four USB Type-A ports for connecting USB devices. |
| LED | Status LED pin (indicates power and activity). |
The Adafruit CH334F Mini 4-Port USB Hub Breakout is straightforward to use. Follow the steps below to integrate it into your project:
If you are using the USB hub to connect a USB-to-serial adapter to an Arduino UNO, you can use the following code to read data from the serial device:
// Example code to read data from a USB-to-serial adapter connected via the hub
// Ensure the USB-to-serial adapter is connected to the hub and the hub is powered.
void setup() {
Serial.begin(9600); // Initialize the Arduino's serial communication
while (!Serial) {
; // Wait for the serial port to connect (for Leonardo/Micro boards)
}
Serial.println("USB Hub Test: Ready to receive data.");
}
void loop() {
if (Serial.available() > 0) {
// Read incoming data from the USB-to-serial adapter
char receivedData = Serial.read();
Serial.print("Received: ");
Serial.println(receivedData);
}
}
Note: The USB hub itself does not require programming. The code above demonstrates how to use a USB device connected via the hub.
USB Devices Not Detected:
Power Overload:
Slow Data Transfer:
LED Not Lighting Up:
By following this documentation, you can effectively integrate the Adafruit CH334F Mini 4-Port USB Hub Breakout into your projects and troubleshoot common issues with ease.