Twinusb

s-t-e-f-a-n·twinusb·hardware/twinusb.kicad.kicad_pcb

Twinusb PCB layout, top view — open source STM32 board by s-t-e-f-a-n
Simulate this board

About the Twinusb PCB

Twinusb is an open source STM32 PCB design by s-t-e-f-a-n, published on GitHub. It is a 4-layer board measuring 63 × 20 mm, with 112 components from 31 distinct parts.

Its main chip is the STM32G0B1KBU6, from the STM32 family. Other key parts include the TPS2553DRVR-1, TPS2116DRLR, USBLC6-2P6, INA180B2IDBVR and GL852G-OHY60. By type, the board carries 48 capacitors, 43 resistors, 14 ICs, 2 connectors, 2 diodes and 1 transistor.

It belongs with the displays & leds and usb & debug tools designs in this gallery.

From the project

H₂H³ | Twin USB Host Switch × Triple USB Hub (with OLED Telemetry)

H₂H³ is a compact, STM32 microcontroller-driven USB 2.0 KVM switch and 3-port hub designed to maintain a clean, clutter-free workspace in modern home offices. It enables two computers to seamlessly share a single set of peripherals—like your keyboard, mouse, and flash drives—while delivering live voltage and current telemetry via an integrated OLED display. Paired with the native Rust host daemon, H₂H³ features seamless automatic host switching as your mouse reaches the screen edge, alongside intuitive configuration directly from your system tray.

Twinusb, from the project README
From the project README

Main components on the Twinusb

Twinusb bill of materials (BOM)

112 components, 31 distinct parts.

QtyPartRefs
2
TPS2553DRVR-1
Texas Instruments
U1, U2
1
TPS2116DRLR
TPS2116DRL
Texas Instruments
U3
5
USBLC6-2P6
STMicroelectronics
U4, U6, U8, U10, U14
3
INA180B2IDBVR
INA180B2, 50V/V
Texas Instruments
U5, U7, U9
1
GL852G-OHY60
Genesys Logic
U11
1
FSUSB42MUX
onsemi
U12
1
STM32G0B1KBU6
STM32G0B1KBUx
STMicroelectronics
U13
1
DMN62D0LFB
Diodes
Q1
1
X322512MSB4SI
12M
YXC
Y1
1
BM04B-SURS-TF
1x4, 0.8mm, Vertical, Receptable
JST
J2
1
BM06B-SURS-TF
1x6, 0.8mm, Vertical, Receptable
JST
J3
1
APHF1608LSEEQBDZGKC
LED_ARBG
Kingbright
D1
1
BAT54LP
Diodes
D2
1
MLZ1608N100LTD25
10u, 60 mA
TDK
L1
5
4n7
C1, C13, C15, C20, C25
24
100n
C2, C9, C11, C14, C17, C19, C22, C24 +16
6
10n
C3, C4, C5, C6, C44, C46
6
10u
C7, C8, C18, C23, C28, C48
2
1u
C10, C12
3
T520A107M006ATE070
100u 6V3 Tantal Polymer
Kemet
C16, C21, C26
Show 11 more
QtyPartRefs
2
22p
C29, C30
2
1M
R1, R23
10
10k
R2, R3, R4, R5, R10, R11, R33, R36 +2
2
240R
R6, R7
4
470R
R8, R27, R28, R31
4
1k
R9, R13, R16, R17
11
100k
R12, R14, R15, R20, R29, R30, R34, R35 +3
2
16k9
R21, R22
3
PE0603FRF7T0R039L
39m, 1%, 100ppm/K
Yageo
R24, R25, R26
1
680R
R32
4
4k7
R42, R43, R44, R45

Twinusb design files

The KiCad project lives in the s-t-e-f-a-n/twinusb repository on GitHub; these links point at the commit this page was built from.

Twinusb: common questions

What microcontroller does the Twinusb use?

The Twinusb is built around the STM32G0B1KBU6, from the STM32 family.

How big is the Twinusb PCB?

The Twinusb measures 63 × 20 mm, has 4 copper layers and is 1.5842 mm thick.

How many components are on the Twinusb?

112 components, from 31 distinct parts. The full bill of materials is listed on this page.

Where can I download the Twinusb design files?

From the s-t-e-f-a-n/twinusb repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.

Can I use the Twinusb design in my own project?

The repository has no license, so all rights stay with s-t-e-f-a-n. Use it as a reference, and ask the author before reusing the design.

Can I test firmware for the Twinusb without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.

Similar boards