

Devhub
Switchable USB Hub
- Size
- 172.5 × 85 mm
- Copper layers
- 4
- Thickness
- 1.62 mm
- Parts
- 216
- Nets
- 230
- Pads
- 937
- Tracks, vias
- 985, 243
- Pours
- 32
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 10 Oct 2026
- Updated
- 28 Oct 2026
Overview
Devhub is an open-source printed circuit board by mpolci, from the mpolci/devhub repository on GitHub, published under the MIT licence. It is a 4-layer board of 172.5 × 85 mm with 216 parts on 230 nets, routed with 985 tracks and 243 vias.
It is built around the STM32G0B1RET6, USB2517I-JZX and PI3USB4002A, with the TPS2561ADRCR, AP7361C-33E and ULN2003V12D among its other parts. Its parts include 77 resistors, 69 capacitors, 18 diodes, 16 ICs and 14 connectors. It belongs with the STM32 boards of this library.
Main components
11STM32G0B1RET6
LQFP-64(10x10)-40℃~+85℃ 1.7V~3.6V 144KB 32 Bit 512KB 60 64MHz ARM Cortex-M0+ Built-in+External FLASH LQFP-64(10x10) Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)USB2517I-JZX
QFN-64-EP(9x9)-40℃~+85℃ 3V~3.6V 480Mbps 7 Controller USB 2.0 QFN-64-EP(9x9) USB Converters ROHSMicrochip TechnologyUSB ConvertersPI3USB4002A
UQFN-10(1.5x2)Analog Switches, MultiplexersDiodes IncorporatedTPS2561ADRCR
VSON-10-EP(3x3)-40℃~+85℃ 2 2.5A 2.5V~6.5V 44mΩ Active High High Side Switch Overcurrent Protection(OCP)、Over Temperature Protection VSON-10-EP(3x3) Power Distribution Switches ROHSTexas InstrumentsPower Distribution SwitchesAP7361C-33E
SOT-223-40℃~+85℃@(Ta) 1 1A 3.3V 340mV@(1A) 6V 75dB@(1kHz) 80uA Fixed Over Current Protection、Short Circuit Protection、Thermal shutdown、Enable control Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSDiodes IncorporatedVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsULN2003V12D
SOIC-16-40℃~+125℃ 1.2V 12uA 20V 250nA 5.5V 500mA Seven channels SOIC-16 Darlington Transistor Arrays ROHSTexas InstrumentsDarlington Transistor ArraysAO3400A
SOT-23-55℃~+150℃ 1 N-channel 1.45V 1.4W 30V 48mΩ@2.5V 5.7A 50pF 630pF 75pF 7nC@10V N-Channel SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETsBZT52C5V1
SOD-1231 Independent 130Ω 2uA 4.85V~5.36V 5.1V 500mW SOD-123 Zener Diodes ROHSMDDZener DiodesSMAJ20A
DO-214AC(SMA)ESD And Surge Protection (TVS/ESD)hongjiachengSS34
SMA(DO-214AC)-55℃~+125℃ 3A 40V 500uA@40V 550mV@3A Independent SMA(DO-214AC) Schottky Diodes ROHSMDDSchottky DiodesUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)
README
README.mddevhub — hub USB "intelligente" per lo sviluppo hardware
Hub USB da banco pensato per chi sviluppa dispositivi a microcontrollore collegati via USB. Oltre alle porte downstream espone all'host un dispositivo di controllo (USB HID) con cui il PC può:
- staccare e riattaccare fisicamente ogni porta (alimentazione VBUS e linee dati D+/D-), per resettare un dispositivo bloccato anche quando il reset via USB non funziona;
- leggere lo stato di ogni porta (abilitata/disabilitata, sovracorrente, corrente assorbita);
- comandare due relè indipendenti con uscite su boccole a banana (es. per sezionare l'alimentazione esterna del dispositivo in prova o chiudere un contatto di reset).
Caratteristiche previste (v1)
| Voce | Scelta v1 |
|---|---|
| Porte downstream | 4 × USB-C + 1 × USB-A |
| Velocità | USB 2.0 Hi-Speed (480 Mbit/s) |
| Alimentazione per porta | 5 V, fino a 2 A sulla singola porta USB-C e 1,5 A sulla USB-A, ~2,3 A totali, con limitazione di corrente e sezionamento per porta |
| Sezionamento | VBUS (load switch) e D+/D- (switch analogico), staccati e riattaccati sempre insieme, in sequenza |
| Alimentazione hub | ingresso USB-C a 5 V / 3 A, senza USB-PD: va bene qualunque alimentatore USB-C |
| Upstream (verso il PC) | USB-C (USB 2.0) |
| Controllo | STM32G0B1 su porta interna dell'hub, interfaccia USB HID senza driver + CLI Python |
| Relè ausiliari | 2 × SPDT su boccole a banana, contatti max 16 V / 3 A |
Le motivazioni delle scelte (in particolare USB 2.0 invece di USB 3 e il non sezionare GND) sono in docs/architettura.md.
Struttura del repository
docs/ requisiti, architettura, protocollo di controllo, domande aperte
hardware/ progetto KiCad (schema, PCB, BOM)
firmware/ firmware del MCU di controllo
host/ strumento da riga di comando per il PCDocumenti
- docs/requisiti.md — cosa deve fare il dispositivo
- docs/architettura.md — schema a blocchi, scelte progettuali, componenti candidati, bilancio di potenza
- docs/componenti.md — componenti candidati, package, fornitori, classe JLCPCB
- docs/protocollo-controllo.md — bozza del protocollo HID tra PC e hub
- docs/regole-pcb.md — stackup, piste, USB, alimentazione, piazzamento e verifiche di produzione
- docs/pinout-mcu.md — piedinatura del MCU e note per il firmware
- docs/domande-aperte.md — decisioni ancora da prendere
Licenze
- Hardware (
hardware/): CERN-OHL-W 2.0. - Firmware, libreria e CLI, documentazione (tutto il resto): MIT.
Stato
Requisiti, architettura e componenti definiti; schema elettrico v0.2 in KiCad e PCB iniziato (profilo e componenti che vincolano la scatola, vedi hardware/README.md). Prossimo passo: footprint mancanti e piazzamento del resto del PCB.
Parts
216| Qty | Value | Footprint | References |
|---|---|---|---|
| 29 | 100n | Capacitor_SMD:C_0603_1608Metric | C1, C2, C10, C24, C101, C103, C104, C201, C203, C204, C301, C303, C304, C401, C403, C404 +13 |
| 17 | 100k | Resistor_SMD:R_0603_1608Metric | R22, R23, R42, R43, R44, R45, R46, R104, R105, R204, R205, R304, R305, R404, R405, R504 +1 |
| 16 | 1k | Resistor_SMD:R_0603_1608Metric | R3, R4, R90, R91, R92, R93, R106, R107, R206, R207, R306, R307, R406, R407, R506, R507 |
| 8 | 100n | Capacitor_SMD:C_0402_1005Metric | C25, C26, C27, C28, C29, C30, C37, C38 |
| 8 | 10k | Resistor_SMD:R_0603_1608Metric | R26, R27, R28, R29, R34, R47, R48, R49 |
| 8 | 56k | Resistor_SMD:R_0603_1608Metric | R102, R103, R202, R203, R302, R303, R402, R403 |
| 8 | verde | LED_SMD:LED_0805_2012Metric | D90, D91, D92, D102, D202, D302, D402, D502 |
| 6 | 1u 25V | Capacitor_SMD:C_0603_1608Metric | C7, C106, C206, C306, C406, C506 |
| 6 | 20m 1% 2512 | Resistor_SMD:R_2512_6332Metric | R5, R65, R66, R67, R68, R69 |
| 5 | 100 1206 | Resistor_SMD:R_1206_3216Metric | R101, R201, R301, R401, R501 |
| 5 | 1u | Capacitor_SMD:C_0603_1608Metric | C21, C31, C32, C33, C35 |
| 5 | 22u 10V | Capacitor_SMD:C_0805_2012Metric | C102, C202, C302, C402, C502 |
| 5 | AO3400A | Package_TO_SOT_SMD:SOT-23 | Q101, Q201, Q301, Q401, Q501 |
| 5 | PI3USB4002A | lcsc_footprints:C3657361_UQFN-10_L2_0-W1_5-P0_50-TL | U101, U201, U301, U401, U501 |
| 5 | porta on/off | Button_Switch_SMD:SW_SPST_PTS645Sx43SMTR92 | SW101, SW201, SW301, SW401, SW501 |
| 5 | rosso | LED_SMD:LED_0805_2012Metric | D103, D203, D303, D403, D503 |
| 4 | 10u | Capacitor_SMD:C_0805_2012Metric | C5, C6, C8, C9 |
| 4 | 5.1k | Resistor_SMD:R_0603_1608Metric | R1, R2, R20, R21 |
| 4 | M3 | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 4 | USB-C | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J101, J201, J301, J401 |
| 3 | TPS2561ADRC | Package_SON:VSON-10-1EP_3x3mm_P0.5mm_EP1.65x2.4mm_ThermalVias | U4, U5, U6 |
| 2 | 100 DNP | Resistor_SMD:R_1206_3216Metric | R81, R82 |
| 2 | 100n 50V DNP | Capacitor_SMD:C_0805_2012Metric | C81, C82 |
| 2 | 15p C0G | Capacitor_SMD:C_0603_1608Metric | C22, C23 |
| 2 | 220u 10V | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C3, C4 |
| 2 | 24.3k 1% | Resistor_SMD:R_0603_1608Metric | R60, R61 |
| 2 | 4.7k | Resistor_SMD:R_0603_1608Metric | R40, R41 |
| 2 | G5Q-1 DC5 | Relay_THT:Relay_SPDT_Omron-G5Q-1 | K1, K2 |
| 2 | INA3221 | Package_DFN_QFN:Texas_RGV0016A_VQFN-16-1EP_4x4mm_P0.65mm_EP2.1x2.1mm | U7, U8 |
| 2 | NC/NO | Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm | JP2, JP3 |
| 2 | relè on/off | Button_Switch_SMD:SW_SPST_PTS645Sx43SMTR92 | SW1, SW2 |
| 1 | 100n 50V | Capacitor_SMD:C_0603_1608Metric | C13 |
| 1 | 100u 10V | Capacitor_SMD:CP_Elec_6.3x5.8 | C505 |
| 1 | 10n | Capacitor_SMD:C_0603_1608Metric | C12 |
| 1 | 12.0k 1% | Resistor_SMD:R_0603_1608Metric | R25 |
| 1 | 1M | Resistor_SMD:R_0603_1608Metric | R24 |
| 1 | 2.2n | Capacitor_SMD:C_0603_1608Metric | C11 |
| 1 | 20.5k 1% | Resistor_SMD:R_0603_1608Metric | R32 |
| 1 | 24MHz 12pF | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | 33.2k 1% | Resistor_SMD:R_0603_1608Metric | R62 |
| 1 | 4.7u | Capacitor_SMD:C_0805_2012Metric | C20 |
| 1 | 4.7u | Capacitor_SMD:C_0603_1608Metric | C40 |
| 1 | 500mA | Fuse:Fuse_1812_4532Metric | F1 |
| 1 | 69.8k 1% | Resistor_SMD:R_0603_1608Metric | R30 |
| 1 | 9.53k 1% | Resistor_SMD:R_0603_1608Metric | R31 |
| 1 | 953 1% | Resistor_SMD:R_0603_1608Metric | R33 |
| 1 | AP7361C-33E | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | BZT52C5V1 | Diode_SMD:D_SOD-123 | D4 |
| 1 | Banana COM 1 | Connector:Banana_Cliff_FCR7350B_S16N-PC_Horizontal | J5 |
| 1 | Banana COM 2 | Connector:Banana_Cliff_FCR7350B_S16N-PC_Horizontal | J7 |
| 1 | Banana NC 1 | Connector:Banana_Cliff_FCR7350R_S16N-PC_Horizontal | J6 |
| 1 | Banana NC 2 | Connector:Banana_Cliff_FCR7350R_S16N-PC_Horizontal | J8 |
| 1 | MCP120T-300I/TT | Package_TO_SOT_SMD:SOT-23 | U12 |
| 1 | PORTA 7 (scorta) | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | SMAJ20A | Diode_SMD:D_SMA | D1 |
| 1 | SS34 | Diode_SMD:D_SMA | D2 |
| 1 | STM32G0B1RET6 | Package_QFP:LQFP-64_10x10mm_P0.5mm | U3 |
| 1 | SWD | Connector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_Vertical_SMD | J4 |
| 1 | TPS259470ARPWR | lcsc_footprints:C3662799_VQFN-10_L2_0-W2_0-P0_45-TL | U13 |
| 1 | UART debug | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J9 |
| 1 | ULN2003V12 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U9 |
| 1 | USB-A | Connector_USB:USB_A_Kycon_KUSBX-AS1N-B_Horizontal | J501 |
| 1 | USB-C PWR IN | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J1 |
| 1 | USB-C UPSTREAM | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J2 |
| 1 | USB2517I-JZX | lcsc_footprints:QFN-64-1EP_9x9mm_P0.5mm_EP4.7x4.7mm_ThermalVias_0.3mm | U2 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | D20 |
| 1 | arancio | LED_SMD:LED_0805_2012Metric | D93 |
Questions
How big is the Devhub PCB?
It measures 172.5 × 85 mm and has 4 copper layers, 1.62 mm thick.
What parts does the Devhub use?
216 parts, built around the STM32G0B1RET6, USB2517I-JZX, PI3USB4002A and TPS2561ADRCR. 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 Devhub KiCad files?
From the mpolci/devhub repository on GitHub, at the commit this page was made from: the board is hardware/devhub/devhub.kicad_pcb and its schematic hardware/devhub/devhub.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Devhub design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
Similar boards
- 2 layers63.8 × 44 mm

- 2 layers65 × 56.5 mm

UniversalStepperDriver
IRNAS/Universal-Stepper-Driver-Rpi
Universal stepper driver in shape of Raspberry Pi Hat. It supports all signals for Bipolar stepper motors thrue RPi header and have Unipolar stepper connectors and drivers.
88 parts2 - 4 layers100 × 70 mm

Data port x4
kartben/hw-testing-rack
3D-printed, tilted test shelf for 16 dev boards: sliding drawers, per-bay ESP32-S3 running Zephyr (USB/IP, power switching, metering), KiCad PCBs, OpenSCAD parts, BOM and an interactive 3D viewer
290 parts - 2 layers100 × 102 mm

Esp32-c3-dip controller
haya1010/esp32-c3-safe-dip-led-controller
Protected ESP32-C3 2.54 mm DIP controller with USB-C and 3-channel 5/12/24 V LED PWM outputs
63 parts - 4 layers90 × 70 mm

InclinationMeter
soldernerd/InclinationMeter
A battery-powered, Bluetooth-enabled precision electronic level instrument for machine tool geometry inspection and granite surface plate qualification.
118 parts - 2 layers52.5 × 26 mm

- 4 layers100 × 100 mm

DMXion 4port node
NEOgHacking/DMXion_4Port_Node
A 4 port dmx node with rdm funtionallity. Connects via ARTNET or sACN
275 parts2GPL-3.0 - 2 layers82 × 70 mm

NODO ACCESO
DavidManzano04/control-acceso-iot
Sistema IoT de control de acceso y asistencia docente con RFID: firmware ESP32 + Hikvision y plataforma web Flask (trabajo de grado UCEVA)
58 parts