Skip to the content
4 layers58.4 × 38.7 mmLED USB Hub, the printed circuit board in 3D

A 3 Port USB Hub, USB-C Upstream, USB A with RGB LED downstream, features an RP2040 to run the LEDs and possibly other features

Size
58.4 × 38.7 mm
Copper layers
4
Thickness
1.63 mm
Parts
125
Nets
103
Pads
407
Tracks, vias
1,115, 87
Pours
582
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Dec 2023
Updated
26 Jun 2025

Overview

LED USB Hub is an open-source printed circuit board by mjhaahr, from the mjhaahr/LED-USB-Hub repository on GitHub. It is a 4-layer board of 58.4 × 38.7 mm with 125 parts on 103 nets, routed with 1,115 tracks and 87 vias.

It is built around the TLV62569PDDCR, TUSB2046IBVF and TPS2042D, with the MAX809S, TPD2EUSB30DRT and KC2520Z8.00000C1KX00 among its other parts. Its parts include 45 resistors, 41 capacitors, 7 ICs, 7 diodes and 5 connectors. It belongs with the lEDs and displays and interfaces and adapters boards and the RP2040 and STM32 boards of this library.

Main components

6

README

README.md

3-Port USB Hub with Integrated Microcontroller and RGB USB-A Ports

Assembled PCB

Full Board Design Render

Features

  • USB C Port for Upstream
  • 3 USB 2.0 Downstream Ports
    • USB A, Full Speed
    • Using RGB LED USB Ports (the reason behind this whole project)
  • STM32L552 to Control the LEDs
    • Intended to be flashed using DFU, but SWD with Reset is available
  • USB Hub Controller:
    • Using a TI 4 Port USB Controller
  • Status LEDs for Power and USB Connection

PCBWay

Version 3 of the RGB LED USB Hub was kindly supported by PCBWay, who graciously provided the PCBs for this project.

Unassembled Boards

PCBWay offers very affordable and high-quality PCB manufacturing and assembly, as well as CNC machining and 3D printing, for hobbyists, low-volume prototyping, and even commercial use. They provide fast turnaround times, an easy-to-use service, and highly accurate and detailed boards all at a low cost. Their Standard PCBs satisfy most needs for reliable circuit boards: offering precise boards, layer counts up to 14, a wide variety of soldermask and silkscreen colors - even full color printing, and different materials like aluminum. But they also offer Advanced PCBs for even greater capabilities and performance or Flexible/Rigid-Flex PCBs when the designs need to bend.

PCBWay Logo

Table Of Contents

Schematic

Bill of Materials

  • ICs
    • STMicroelectronics STM32L552CET6 - Microcontroller w/ USB and Multiple PWM Timers
    • TI TUSB2046 - 4 Port USB 2.0 Hub/Controller
    • TI TLV62569 - High Efficiency Buck Converter (3V3 Regulator)
    • TI TPS2042BDR - USB Power Switch (500 mA)
    • Analog Devices/Maxim Integrated MAX809 - 3V Power Supervisor
  • Diodes
    • Broadcom HSMF-C143 - Dual Color (Amber: Power/Green: USB) Status LED
    • TI ESD441- 1-Channel VUSB ESD Diode
    • TI TPD2EUSB30 - 2-Channel USB ESD/TVS Diode
  • Connectors
    • GCT USB4085-GF-A - USB 2.0 Type C Port
    • Tensility 54-00266 - RGB USB 2.0 Type A Port
  • Switches
    • Panasonic EVQ-P7L01P - Tactile Push Button
  • Oscillators
    • ECS ECS-2033-080-BN - STM32 8 MHz HSE
    • ECS ECS-2033-060-BN - USB Controller 6 MHz
  • Capacitors
    • All Components are 0603 MLCC Capacitors unless otherwise noted
    • 100nF
      • Component: C1, C2, C3, C4, C5, C9, C11, C12, C34, C35, C37, C39, C41
      • Quantity: 13
      • DigiKey
    • 10µF
      • Component: C6, C25, C27, C28, C29, C31, C32, C33
      • Quantity: 8
      • DigiKey
    • 1µF
      • Component: C7, C10, C24
      • Quantity: 3
      • DigiKey
    • 10nF
      • Component: C8, C13
      • Quantity: 2
      • DigiKey
    • 22pF
      • Component: C14, C15, C16, C17, C18, C19, C20, C21, C22, C23
      • Quantity: 10
      • DigiKey
    • 4.7µF
      • Component: C26, C30
      • Quantity: 2
      • DigiKey
    • 100µF - Tantalum
      • Component: C36, C38, C40
      • Quantity: 3
      • DigiKey
  • Resistors:
    • All Components are 0603 Thick Film Resistors unless otherwise noted
    • 200Ω
      • Component: R1, R4, R7
      • Quantity: 3
      • DigiKey
    • 62Ω
      • Component: R2, R5, R8
      • Quantity: 3
      • DigiKey
    • 27Ω
      • Component: R3, R6, R9, R15, R16, R18, R19, R22, R23, R26, R27, R30, R31
      • Quantity: 13
      • DigiKey
    • 10kΩ
      • Component: R10, R11, R12, R46, R47, R48, R40, R45
      • Quantity: 9
      • DigiKey
    • 1.74kΩ
      • Component: R13
      • Quantity: 1
      • DigiKey
    • 665Ω
      • Component: R14
      • Quantity: 1
      • DigiKey
    • 1.5kΩ
      • Component: R17
      • Quantity: 1
      • DigiKey
    • 15kΩ
      • Component: R20, R21, R24, R25, R28, R29, R32, R33
      • Quantity: 8
      • DigiKey
    • 5.1kΩ
      • Component: R34, R35
      • Quantity: 2
      • DigiKey
    • 453kΩ
      • Component: R41, R43
      • Quantity: 2
      • DigiKey
    • 100kΩ
      • Component: R42, R44
      • Quantity: 2
      • DigiKey
  • Inductor
    • Bourns SRP4020FA-2R2M - 2.2µH Inductor

Part Selection

  • Power Supply selected using TI Webench Power Designer:
    • DC-DC: 5V In, 3.3V @ 1A (min) Out
    • High-Efficiency Power Supply Design
    • Webench Page
  • LED Resistors:
    • Indicators:
      • Target Intensity of 2.5mcd
      • Amber:
        • Average 66mcd @ 20mA
        • Forward Voltage of 2V
        • Target Current: ~0.75mA
        • Resistance: 1.74kΩ
      • Green:
        • Average 25.5mcd @ 20mA
        • Forward Voltage of 2V
        • Target Current: ~1.96mA
        • Resistance: 665Ω
    • USB:
      • Target Intensity of 200mcd
      • Red:
        • Average 600mcd @ 20mA
        • Forward Voltage of 1.3V
        • Target Current: ~6.5mA
        • Resistance: 200Ω
      • Green:
        • Average 800mcd @ 20mA
        • Forward Voltage of 0.3V
        • Target Current: ~5mA
        • Resistance: 62Ω
      • Blue:
        • Average 350mcd @ 20mA
        • Forward Voltage of 0.3V
        • Target Current: ~11.5mA
        • Resistance: 27Ω

Case Design

  • 3D Printed Top and Bottom Covers

Code

  • To view all the code, see it here

Extra Notes

  • Version 1:
    • V1 used an Adafruit KB2040 Dev Board instead of a standalone implementation
    • V1 used the SL2.1a USB Hub and was a poor attempt to get USB working
  • Version 2:
    • Proper standalone RP2040 implementation
    • Switch to TUSB2046 4-Port USB Controller
    • Switch to 4 Layer Board with correct implementation of USB Hardware Guidelines Assembled Version 2 USB Hub
  • Version 3:
    • Switch to STM32 (STM32L552)
    • Shrink board
    • Switch to Oscillators from Crystals
    • 3V3 Regulators using a larger package
    • Fully Enclosed 3D Printed Case

Parts

125
QtyValueFootprintReferences
13100nFCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C5, C9, C11, C12, C34, C35, C37, C39, C41
1327Resistor_SMD:R_0603_1608MetricR3, R6, R9, R15, R16, R18, R19, R22, R23, R26, R27, R30, R31
1022pFCapacitor_SMD:C_0603_1608MetricC14, C15, C16, C17, C18, C19, C20, C21, C22, C23
910kResistor_SMD:R_0603_1608MetricR10, R11, R12, R36, R37, R38, R39, R40, R45
810uFCapacitor_SMD:C_0603_1608MetricC6, C25, C27, C28, C29, C31, C32, C33
815kResistor_SMD:R_0603_1608MetricR20, R21, R24, R25, R28, R29, R32, R33
5TPD2EUSB30TPD2EUSB30DRTR:DRT0003AD3, D4, D5, D6, D7
4LOGOLOGOG***, G1, G2, G3
3100uF-TCapacitor_Tantalum_SMD:CP_EIA-3528-15_AVX-HC36, C38, C40
31uFCapacitor_SMD:C_0603_1608MetricC7, C10, C24
3200Resistor_SMD:R_0603_1608MetricR1, R4, R7
362Resistor_SMD:R_0603_1608MetricR2, R5, R8
3RGBUSB_54-0026654-00266 RGB-USB Port:RGBUSB_54-00266J2, J3, J4
2100kResistor_SMD:R_0603_1608MetricR42, R44
210nFCapacitor_SMD:C_0603_1608MetricC8, C13
22.2uHSRP4020FA_2R2M:IND_SRP4020FA-2R2M_BRNL1, L2
24.7uFCapacitor_SMD:C_0603_1608MetricC26, C30
2453kResistor_SMD:R_0603_1608MetricR41, R43
25.1kResistor_SMD:R_0603_1608MetricR34, R35
2MountingHoleMountingHole:MountingHole_2mmH1, H2
2TLV62569PDDCRTLV62569PDDCR:SOT95P280X110-6NU3, U4
2TPS2042DPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU5, U6
11.5kResistor_SMD:R_0603_1608MetricR17
11.74kResistor_SMD:R_0603_1608MetricR13
13V3LTestPoint:TestPoint_Pad_1.0x1.0mm_ModTP3
13V3MCUTestPoint:TestPoint_Pad_1.0x1.0mm_ModTP2
1665Resistor_SMD:R_0603_1608MetricR14
1BOOTEVQ_P7L01P:SW_EVQ-P7L01PSW2
1ESD441EasyEDA2KiCad:X2SON-2_L0.6-W0.3-P0.35_ESD441DPLRD2
1GNDTestPoint:TestPoint_Pad_1.0x1.0mm_ModTP6
1KC2520Z6.00000C1GX00KC2520Z6.00000C1GX00:OSC_KC2520Z6.00000C1GX00Y2
1KC2520Z8.00000C1KX00KC2520Z8_00000C1KX00:OSC_KC2520Z8.00000C1KX00Y1
1LED ENEVQ_P7L01P:SW_EVQ-P7L01PSW3
1MAX809Package_TO_SOT_SMD:SOT-23U7
1RESETEVQ_P7L01P:SW_EVQ-P7L01PSW1
1RXTestPoint:TestPoint_Pad_1.0x1.0mm_ModTP5
1STM32L552CETxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1SWDConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ5
1SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mmJP1
1TUSB2046IBVFPackage_QFP:LQFP-32_7x7mm_P0.8mmU2
1TXTestPoint:TestPoint_Pad_1.0x1.0mm_ModTP4
1USBC_USB2.0Connector_USB:USB_C_Receptacle_GCT_USB4085J1
1VUSBTestPoint:TestPoint_Pad_1.0x1.0mm_ModTP1
1~HSMF-C143:HSMF-C143D1

Similar boards

  • 2 layers127 × 73 mmAudio, the printed circuit board in 3D

    Audio

    cubitel/car-audio

    Fully digital car audio amplifier

    164 partsMIT
  • 2 layers371.5 × 152.4 mmMk keeb, the printed circuit board in 3D

    Mk keeb

    elec-mk/mk-keeb

    220 parts
  • 4 layers50 × 50 mmTrellis core, the printed circuit board in 3D

    Trellis core

    protolux-electronics/trellis_core

    A barebones KiCad project for Allwinner T113-based designs

    89 parts13CERN-OHL-P-2.0
  • 4 layers60 × 51 mmArtix7-pcie v2, the printed circuit board in 3D

    Artix7-pcie v2

    TomKeddie/prj-artix7-pcie

    189 parts8MIT
  • 4 layers48 × 87 mmWallet, the printed circuit board in 3D

    Wallet

    AmbireTech/ice

    Ambire Ice: secure Safe-focused hardware wallet

    157 parts4
  • 2 layers75 × 75 mmAD POWER DEVICE, the printed circuit board in 3D

    AD POWER DEVICE

    R-Mutura/AD_POWER_DEVICE

    Highly integrated Single board Computer with RK3566

    593 parts3
  • 4 layers125.5 × 100 mmCore, the printed circuit board in 3D

    Core

    KRuskowski/s5

    einheit s5 (S501) — 5-port managed PoE switch on Allwinner T113-S3

    236 parts
  • 2 layers48 × 51 mmBB STM32 Dev Board, the printed circuit board in 3D

    BB STM32 Dev Board

    tkraf/BB-STM32WL_Dev_Board

    A dev board for the BB-STM32WL

    47 parts

Questions

How big is the LED USB Hub PCB?

It measures 58.4 × 38.7 mm and has 4 copper layers, 1.63 mm thick.

What parts does the LED USB Hub use?

125 parts, built around the TLV62569PDDCR, TUSB2046IBVF, TPS2042D and MAX809S. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the LED USB Hub KiCad files?

From the mjhaahr/LED-USB-Hub repository on GitHub, at the commit this page was made from: the board is led-usb-hub/led-usb-hub.kicad_pcb and its schematic led-usb-hub/led-usb-hub.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LED USB Hub design in my own project?

Its repository states no licence, so its author keeps all rights: ask mjhaahr before reusing the design.