Skip to the content
2 layers40 × 50 mmSsus, the printed circuit board in 3D

DUDE, Dirty USB Disconnect. ESP32-S3 host powered, managed 2x USB Hub

Size
40 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
46
Nets
61
Pads
215
Tracks, vias
332, 133
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
8 May 2024
Updated
25 May 2024

Overview

Ssus is an open-source printed circuit board by ldab, from the ldab/dude-dirty-usb-disconnect repository on GitHub, published under the WTFPL licence. It is a 2-layer board of 40 × 50 mm with 46 parts on 61 nets, routed with 332 tracks and 133 vias.

It is built around the ESP32-S3-MINI-1-N8, CH334R and RT9080-33GJ5, with the TPS2065CDBV and PRTR5V0U2X among its other parts. Its parts include 12 capacitors, 9 resistors, 4 ICs, 4 diodes and 3 connectors. It belongs with the interfaces and adapters boards and the ESP32 boards of this library.

Main components

5

README

README.md

dude-dirty-usb-disconnect

GitHub version Build Status License: WTFPL

GitHub last commit

USB CDC-ACM uart like controlled USB Hub:

  • 1.5A fuse;
  • Power switch with overcurrent, undervoltage and overtemperature protection;
  • ESD Protection diodes on the USB lines;

Todo

Why?

I needed something to remotely disconnect and reconnect an USB device from my workstation, aka managed USB hub, the commercially available options where either expensive or needed drivers. So the idea here is an device that does not need external power and works as a USB CDC-ACM and one can simply send hub_ports_off over the terminal to turns the USB ports off.

How?

As per USB-C standard, if you are bored read section 4.6.2.1, an USB-C source device should at least source 1.5A, as it is written:

All exposed USB Type-C Current ports shall have the ability to offer the same power capabilities.

  • All ports shall initially offer 1.5 A.

With that being said we can use the HUB with USB2.0 devices (500mA) with no problems. The device monitor the CC pins and it can detect if the source is able to provide the minimum required current (1.5A):

Table 4-36 indicates that a minimum of 0.7V should be read on CC for a 1.5A capable source, so we should be good with a USB-C to USB-C cable.

If you have an old laptop like me and it does not have an USB-C port, one can override the source check and send hub_setings override_cc 1 and the HUB ports will be enabled even if the source does not provide enough power. On that case you may experience some weirdness on the final USB device, but hey, if you are here, you should have some idea of what you are doing.

One can also issue hub_status and see what the status is, for example:

text
dirty_usb_disconnect> hub_status
FW version: v0.0.1a
Hub is: Enabled
Fault: None
USB Host does not provide 1.5A

The CDC-ACM USB driver is based on espressif example, you will find how it works there... the PID is 0x303A and VID is 0x0009. In case you are building the debug version the output will be over the USB-JTAG controller, PID:VID 0x303A:0x1001 (here you can also debug over USB, cool :smile:)

Firmware

Available commands

  • Type help on the terminal

LED

  • Blue - idle, ports off;
  • Green - ports on;
  • Red - fault;

Hardware

  • 1.5A fuse;
  • TPS2065C: 1A load, 86mΩ USB power switch with overcurrent, undervoltage and overtemperature protection;
  • Device itself draws ~40mA;

  • On the boards I made I changed all the resistors to 5.1KOhms for simplicity, the schematic did not update;
  • Jumper 1 allows to use the HUB without crystal, saving 0.05USD :smile:;
  • Jumper 2 and 3 changes the ADC to channel 2 as the channel 1 has a boot glitch (it should be ok). Bear in mind that ADC2 does not work with WiFi (rtfm);

Note

Outro

Parts

46
QtyValueFootprintReferences
5100nCapacitor_SMD:C_0603_1608MetricC3, C5, C6, C7, C11
55.1KResistor_SMD:R_0603_1608MetricR1, R2, R6, R8, R9
41KResistor_SMD:R_0603_1608MetricR3, R4, R5, R7
4MountingHoleMountingHole:MountingHole_2.1mmH1, H2, H3, H4
310uCapacitor_SMD:C_0603_1608MetricC8, C9, C10
31uCapacitor_SMD:C_0603_1608MetricC1, C2, C12
3PRTR5V0U2XPackage_TO_SOT_SMD:SOT-143D2, D3, D4
23Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mmJP2, JP3
2TestPointTestPoint:TestPoint_Pad_D1.5mmTP1, TP2
2USB_AConnector_USB:USB_A_TE_292303-7_HorizontalJ2, J3
11.5AFuse:Fuse_1206_3216MetricF1
112MHzOscillator:Oscillator_SMD_ECS_2520MV-xxx-xx-4Pin_2.5x2.0mmY1
1150uFCapacitor_SMD:C_Elec_6.3x5.4C4
12Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1CH334RPackage_SO:QSOP-16_3.9x4.9mm_P0.635mmU1
1ESP32-S3-MINI-1RF_Module:ESP32-S2-MINI-1U3
1LED_RBAGLED_SMD:LED_Cree-PLCC4_2x2mm_CWD1
1RT9080-33GJ5Package_TO_SOT_SMD:SOT-23-5U2
1SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW1
1TPS2065CDBVPackage_TO_SOT_SMD:SOT-23-5U4
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J4

The 44 most common of 46 parts.

Similar boards

  • 2 layers191.3 × 164 mmXYmatics E64, the printed circuit board in 3D

    XYmatics E64

    XyrusB2010/XYmatics-E64

    A 5-axis Klipper mainboard, powered by a Raspberry Pi Compute Module and STM32F407

    282 parts
  • 4 layers180 × 170 mmHw openmower yardforce, the printed circuit board in 3D

    Hw openmower yardforce

    xtech/hw-openmower-yardforce

    This repository contains the design files for a custom mainboard specifically designed for converting YardForce mowers to OpenMower

    293 parts12CC-BY-4.0
  • 4 layers100 × 80 mmHamref proto v0 1, the printed circuit board in 3D

    Hamref proto v0 1

    OH2LAK/HamRef

    Disciplined reference oscillator + NTP for ham radio station with uBlox LEA-M8S

    109 parts1
  • 4 layers40 × 80 mmUSB pasthrough, the printed circuit board in 3D

    USB pasthrough

    beattie/stm32f723-USB-demo

    A hardware and firmware demonstration platform based on the STM32F723VET6, a Cortex-M7 with an embedded USB HS PHY.

    100 parts
  • 4 layers90 × 130 mmAdventure board, the printed circuit board in 3D

    Adventure board

    picorubykaigi/adventure-board-pcb

    PicoRubyKaigi 2026 の オリジナルRP2350 基板「Adventure Board」の設計データ(KiCad 9)

    362 partsCERN-OHL-P-2.0
  • 4 layers109 × 100.5 mmHw universal logic, the printed circuit board in 3D

    Hw universal logic

    xtech/hw-module-logic

    Logic board for universal application

    119 partsCC-BY-4.0
  • 4 layers285 × 160 mmPcb a power, the printed circuit board in 3D

    Pcb a power

    meshsat/meshsat-fieldkit

    MeshSat field kit hardware: the V1 kits as built, the V2 carrier PCB set for the Peli 1450 and the compact pocket-sized node (KiCad and OpenSCAD sources, generators, release files, build guides).

    279 parts4CERN-OHL-S-2.0

Questions

How big is the Ssus PCB?

It measures 40 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ssus use?

46 parts, built around the ESP32-S3-MINI-1-N8, CH334R, RT9080-33GJ5 and TPS2065CDBV. 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 Ssus KiCad files?

From the ldab/dude-dirty-usb-disconnect repository on GitHub, at the commit this page was made from: the board is PCB/ssus/ssus.kicad_pcb and its schematic PCB/ssus/ssus.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ssus design in my own project?

Its repository publishes it under the WTFPL licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).