Skip to the content
2 layers38.1 × 63.5 mmUSB Switch, the printed circuit board in 3D

This project aims to create a wifi-enabled module containing 2 individually switchable USB ports.

Size
38.1 × 63.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
31
Nets
43
Pads
128
Tracks, vias
175, 35
Pours
2
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
14 Oct 2022
Updated
16 Jun 2023

Overview

USB Switch is an open-source printed circuit board by emwjacobson, from the emwjacobson/USB_Wifi_Switch repository on GitHub. It is a 2-layer board of 38.1 × 63.5 mm with 31 parts on 43 nets, routed with 175 tracks and 35 vias.

It is built around the ESP-12F(ESP8266MOD), AMS1117-3.3 and RC0603JR-0710KL, with the 201007F100LT4E, RC0603FR-07330RL and 19-217/GHC-YR1S2/3T among its other parts. Its parts include 11 resistors, 6 capacitors, 5 connectors, 4 ICs and 2 diodes. It belongs with the ESP8266 boards of this library.

Main components

10

README

README.md

USB Wifi Switch

This project aims to create a wifi-enabled module containing 2 individually switchable USB ports.

There are software-programmable LEDs that can be used to show the current status of each port.

Schematics

The design is broken up into 2 parts, the MOSFET board and the Control board. In the assembled product, these are connected using headers to create a 2-layered design.

Control Board

The control board consists of the ESP8266 module that controls the LEDs as well as the 2 MOSFETs on the MOSFET board.

MOSFET Board

As the name implies, this is the board that holds 2 copies of the power switching circuit as well as a 3.3v regular for the Control board.

Switch Circuits

There are 2 copies of this circuit, as shown in the MOSFET Board schematic. The switch circuit contains

PCB

The PCB design was made as a single-sided component design, as it's easy enough for me to hand-assemble with a hot-air reflow station.

There is a v-score that is intended to be used to split the board into it's two halves and stacked with headers.

Rendering

Currently I have an older version assembled and working on auto-charging a tablet I use as a Home Assistant dashboard. That board is v0.1.2, and does not have correct voltage reading. When I ver v0.2.0 ordered and assembled, I hope to post a photo of it.

I do have images of an even older version, v0.1, that I have since disassembled and reworked to be the v0.1.2 board that I currently use.

Parts

31
QtyValueFootprintReferences
610kResistor_SMD:R_0603_1608MetricR3, R4, R5, R6, R9, R10
3100nFCapacitor_SMD:C_0603_1608MetricC1, C2, C4
310uFCapacitor_SMD:C_0603_1608MetricC3, C5, C6
2100mResistor_SMD:R_2010_5025MetricR1, R2
2330Resistor_SMD:R_0603_1608MetricR7, R8
2GREENLED_SMD:LED_0603_1608MetricD1, D2
2INA219AxDPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2, U3
2Q_NMOS_GDSLibrary:YJL3400AQ1, Q2
2USB_OUTLibrary:904-131A2032S10100J3, J5
1100Resistor_SMD:R_0603_1608MetricR11
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ1
1Conn_01x08Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ4
1ESP-12FRF_Module:ESP-12EU4
1PRGMLibrary:TS-1187A-B-A-BSW1
1USB_INLibrary:U217-041N-4BV81J2

Similar boards

  • 2 layers65 × 30 mmMax3421e rpi uhat, the printed circuit board in 3D

    Max3421e rpi uhat

    StarGate01/max3421e-rpi-uhat

    A uHAT for the Rapberry Pi (Zero), which adds a second USB 2.0 controller over SPI, using the MAX3421E chip.

    23 parts1MPL-2.0
  • 4 layers49.5 × 21.6 mmUSB Replug Dongle RevC1, the printed circuit board in 3D

    USB Replug Dongle RevC1

    gslee-dev/portpulse

    USB replug test dongle with KiCad hardware, CH552 firmware, and native C host

    38 partsMIT
  • 4 layers60 × 90 mm2027Payload, the printed circuit board in 3D

    2027Payload

    Bmcneley/2027Payload

    KiCad project files for 2027 Cy Launch payload PCB.

    96 parts
  • 2 layers95 × 95 mmMain pcb, the printed circuit board in 3D

    Main pcb

    akaFunk/BlinkyBar

    Moduar LED light painting strip with 180 LEDs per meter

    52 parts1CC-BY-4.0
  • 2 layers24.4 × 190.2 mmBlumy, the printed circuit board in 3D

    Blumy

    Dennis960/Blumy

    A smart, WiFi-enabled ESP32 soil moisture and plant sensor

    24 parts3
  • 2 layers40 × 75 mmFragaria extend, the printed circuit board in 3D

    Fragaria extend

    Zhang-JK/Fragaria-Cake

    A linux development board based on allwinner F1C200s

    82 parts2
  • 4 layers100 × 68 mmDevKit, the printed circuit board in 3D

    DevKit

    kaminaris/GigaESC

    209 parts47
  • 4 layers33.5 × 66.8 mmNet bmp, the printed circuit board in 3D

    Net bmp

    elagil/net-bmp

    An Ethernet-connected SWD/JTAG debug adapter (blackmagic probe)

    97 parts3GPL-3.0

Questions

How big is the USB Switch PCB?

It measures 38.1 × 63.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the USB Switch use?

31 parts, built around the ESP-12F(ESP8266MOD), AMS1117-3.3, RC0603JR-0710KL and 201007F100LT4E. 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 USB Switch KiCad files?

From the emwjacobson/USB_Wifi_Switch repository on GitHub, at the commit this page was made from: the board is USB_Switch.kicad_pcb and its schematic USB_Switch.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the USB Switch design in my own project?

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