Skip to the content
6 layers65 × 50 mmSwitch main v4, the printed circuit board in 3D

KiCad design files for the 4th iteration of my single pair Ethernet (SPE) switch. The firmware can be found in unified-switch-firmware.

Size
65 × 50 mm
Copper layers
6
Thickness
1.05 mm
Parts
471
Nets
504
Pads
1,885
Tracks, vias
2,903, 876
Pours
1,704
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
24 Aug 2025
Updated
25 Apr 2026

Overview

Switch main v4 is an open-source printed circuit board by ben5049, from the ben5049/switch-v4-hardware repository on GitHub, published under the GPL-3.0 licence. It is a 6-layer board of 65 × 50 mm with 471 parts on 504 nets, routed with 2,903 tracks and 876 vias.

It is built around the 88Q2112-A2-NYD2A000-P123, TPS62290TDRVRQ1 and LMK1C1104DQFR, with the LMQ66420MC3RXBRQ1, MAX20075DATCA/V+ and TPS27S100BRRKR among its other parts. Its parts include 215 capacitors, 112 resistors, 28 ICs, 20 transistors and 18 diodes. It belongs with the STM32 boards of this library.

Main components

12

README

README.md

Switch v4 Hardware

KiCad design files for the 4th iteration of my single pair Ethernet (SPE) switch. The firmware can be found in unified-switch-firmware.

Also see my post on r/embedded!

top-render

Design

See the schematic for a block diagram and in-depth details.

The main switch chip is an SJA1105QEL from NXP. It is configured via SPI by an STM32H573IIK3Q. The STM32 is also connected by reduced media independent interface (RMII) to the switch so it is able to send and receive management traffic such as Spanning Tree Protocol (STP) BPDUs as well as Precision Time Protocol (PTP) packets and diagnostic information.

The connections for each SJA1105 port are shown below:

PortSpeed (Mbps)Description
0100/1000Marvell 88Q2112 100/1000BASE-T1 Ethernet PHY
1100/1000Marvell 88Q2112 100/1000BASE-T1 Ethernet PHY with PoDL
2100/1000Marvell 88Q2112 100/1000BASE-T1 Ethernet PHY with PoDL
310Microchip LAN8671 10BASE-T1S Ethernet PHY with PoDL
4100Internal STM32 management processor

PoDL PSE

Power over Datalines (PoDL) is similar to Power over Ethernet (PoE) but for SPE. In regular PoE power is sent over the center taps of the transformers, however in SPE there is only one (or no) transformer so this wouldn't work. Instead, DC power is injected into the datalines in the Coupling Decoupling Network (CDN) using differential mode inductors (DMI). The switch is only capable of being a Power Sourcing Equipment (PSE) which powers other devices. It must get its own power through the other connectors on the board.

PoDL has been implemented on ports 1, 2 and 3 of the switch.

  • Ports 1 and 2 are able to output 1.1A each and use a simple detection method before supplying power to a load. Firstly ~14mA is sent down the cable, then if the bus voltage is between 4.05 and 4.55V then the full supply is enabled (typically 24V). This is usually done by a zener diode on the other end of the cable.

  • Port 3 is also able to output 1.1A and uses a custom multidrop PoDL implementation. Detection is done by powering the bus at 6.5V, then each device on the bus draws 1mA for every 1W of power they want. Then the full supply is enabled.

An STM32H503KBU6 is used as a secondary processor to control the PoDL operations. It talks to the primary processor via UART through an optocoupler. This means the data and power circuits are galvanically isolated.

Test Rig

The test rig PCB is designed so that its pogo pins align directly with the test pads on the bottom of the main switch board. This means a debugger can be connected without needing to include a header on the main board.

Versions

VersionDescription
v4.1.1Updated to Kicad v10
v4.1.0Fixed bugs from first revision
v4.0.0First release

See the errata for details on bugs.

References

Datasheets:

PoDL:

Parts

471
QtyValueFootprintReferences
103100nproject_footprints:C_0402C1202, C1304, C1308, C1309, C1310, C1311, C1313, C1314, C1315, C1316, C1317, C1318, C1319, C1320, C1404, C1408 +87
484u7project_footprints:C_0402C1301, C1302, C1305, C1306, C1307, C1401, C1402, C1405, C1406, C1407, C1501, C1502, C1505, C1506, C1507, C2605 +32
351.5mmTestPoint:TestPoint_Pad_D1.5mmTP401, TP402, TP501, TP1101, TP1102, TP1201, TP1301, TP1302, TP1401, TP1402, TP1501, TP1502, TP2601, TP2602, TP2603, TP2604 +19
231uproject_footprints:C_0402C403, C404, C405, C702, C703, C704, C706, C711, C811, C815, C821, C826, C901, C902, C903, C1201 +7
234k7project_footprints:R_0402R1301, R1310, R1401, R1403, R1501, R1503, R2201, R2202, R2203, R2204, R2213, R2214, R2215, R2216, R2304, R2306 +7
2110kproject_footprints:R_0402R302, R1103, R1106, R1601, R1602, R1604, R1605, R1606, R1607, R2207, R2209, R2212, R2218, R2220, R2223, R2301 +5
11DMN21D2UFB-7Bproject_footprints:DMN21D2UFB7BQ1101, Q1102, Q1103, Q1301, Q1401, Q1501, Q2203, Q2205, Q2301, Q2601, Q2602
1010uproject_footprints:C_0402C829, C1312, C1321, C1412, C1421, C1512, C1521, C1601, C1602, C1603
10SZESD7241N2T5Gproject_footprints:SZESD7462N2T5GD301, D601, D1802, D1803, D1902, D1903, D2002, D2003, D2102, D2103
9100kproject_footprints:R_0402R305, R306, R307, R403, R606, R607, R2211, R2222, R2303
9DMP21D0UFB-7Bproject_footprints:DMP21D0UFB7BQ801, Q1302, Q1402, Q1502, Q2201, Q2202, Q2204, Q2206, Q2302
7180kproject_footprints:R_0402R502, R503, R504, R701, R1305, R1405, R1505
71kproject_footprints:R_0402R802, R1308, R1408, R1508, R2208, R2219, R2302
747kproject_footprints:R_0402R304, R801, R1201, R1309, R1409, R1509, R2601
6100nproject_footprints:C_0603C301, C601, C1802, C1902, C2002, C2102
61nproject_footprints:C_0805C101, C102, C1803, C1903, C2003, C2103
62k2project_footprints:R_0402R2206, R2210, R2217, R2221, R2309, R2310
522pproject_footprints:C_0402C507, C508, C1303, C1403, C1503
578438313015project_footprints:L_Wurth_WE-MAIA-1610L501, L502, L1301, L1401, L1501
5TPS62290TDRVRQ1project_footprints:SON65P200X200X80-7NU501, U502, U1301, U1401, U1501
410nproject_footprints:C_0402C1607, C1608, C1609, C1611
410pproject_footprints:C_0402C801, C802, C935, C936
41k5project_footprints:R_0402R1101, R1102, R1104, R1105
422Rproject_footprints:R_0402R902, R1202, R1203, R1204
4360kproject_footprints:R_0402R501, R1306, R1406, R1506
474930100project_footprints:74930100T1801, T1901, T2001, T2101
4824012823project_footprints:824012823D1801, D1901, D2001, D2101
4ADL3225VT-4R7M-TL000project_footprints:ADL3225VT4R7MTL000L1901, L1902, L2001, L2002
3100Rproject_footprints:R_0402R1801, R1901, R2001
310uproject_footprints:C_0805C401, C402, C701
34k99project_footprints:R_0402R1307, R1407, R1507
35k6project_footprints:R_0402R309, R604, R608
388Q2112-A2-NYD2A000-P123project_footprints:88Q2112U1302, U1402, U1502
3ACT1210G-800-2P-TL10project_footprints:ACT1210GFL1801, FL1901, FL2001
3M2.5MountingHole:MountingHole_2.7mm_M2.5_PadH101, H102, H103
3PMEG4002EL-QYLproject_footprints:PMEG4002EL-QYLD2201, D2202, D2301
3TPS27S100BRRKproject_footprints:TPS27S100ARRKRU2201, U2202, U2302
2120kproject_footprints:R_0402R301, R601
21Mproject_footprints:R_0805R101, R102
26p8project_footprints:C_0402C803, C804
2BZX884-C3V3,315project_footprints:BZX884Z2201, Z2202
2JST-GH-2-Horizontalproject_footprints:JST_GH_SM02B-GHS-TB_1x02-1MP_P1.25mm_HorizontalJ2401, J2402
2MKXS1-1 Power Inputproject_footprints:10132797-031100LFJ301, J601
2MSPE-J2L0-B00project_footprints:MSPEJ2L0B00J2403, J2404
2TPS26600RHFRproject_footprints:QFN50P400X500X100-25N-DU302, U602
2TPS7B8133QDRVRQ1project_footprints:SON65P200X200X80-7NU401, U701
2TVS3301DRBRproject_footprints:SON65P300X300X100-9N-DU301, U601
2XRCGB25M000F3A16R0project_footprints:XRCGB25M000F3A16R0Y801, Y901
10603L008YRFuse:Fuse_0603_1608MetricF2301
10Rproject_footprints:R_0402R2311
1100pproject_footprints:C_0402C809
112k4project_footprints:R_0402R1608
115kproject_footprints:R_0402R605
11Rproject_footprints:R_0402R2305
133kproject_footprints:R_0402R702
13k3project_footprints:R_0402R2101
1470Rproject_footprints:R_0402R2205
174438323022project_footprints:L_Wurth_WE-MAPI-2510L401
174438323047project_footprints:L_Wurth_WE-MAPI-2510L701
1ACT1210E-131-2P-TL00project_footprints:ACT1210EFL2101
1DFE252012F-2R2MInductor_SMD:L_1008_2520MetricL801
1ECS-.327-7-12QS-TRproject_footprints:ECS-.327-7-12QS-TRY802
1FM25CL64B-DGproject_footprints:SON95P400X450X80-9NU801
1ISO6520REURproject_footprints:SON50P300X200X105-8N-DU2502
1ISO6521REURproject_footprints:SON50P300X200X105-8N-DU2501
1LAN8671C2-E_U3Bproject_footprints:QFN50P400X400X100-25N-DU1601
1LMK1C1104DQFRproject_footprints:SON50P200X200X80-8NU1201
1LMQ66420MC3RXBRQ1project_footprints:LMQ664x0U402
1LOGOproject_footprints:red-scorpions-8mmG***
1LOGOproject_footprints:aquila-8mmG***
1LOGOproject_footprints:adeptus-mechanicus-8mmG***
1MAX20075DATCA/V+project_footprints:SON50P300X300X80-13NU702
1MSD7342-333MLCproject_footprints:MSD7342L2102
1MSD7342-333MLC_DMproject_footprints:MSD7342L2101
1MSPE-J2L0-x00project_footprints:MSPEJ2L0x00J2405
1NCP508MT25TBGproject_footprints:NCP508MT25TBGU703
1NCS213RMUTAGproject_footprints:NCS213RMUTAGU2301
1REDLED_SMD:LED_0402_1005MetricD801
1SJA1105QELYproject_footprints:BGA159C80P14X14_1200X1200X150U901
1STM32H503KBUxproject_footprints:QFN-32-1EP_5x5mm_P0.5mm_EP3.45x3.45mmU2601

The 469 most common of 471 parts.

More from ben5049/switch-v4-hardware

1
  • 2 layers65 × 70 mmSwitch main v4-test rig, the printed circuit board in 3D

    Switch main v4-test rig

    ben5049/switch-v4-hardware

    KiCad design files for the 4th iteration of my single pair Ethernet (SPE) switch. The firmware can be found in unified-switch-firmware.

    31 parts33GPL-3.0

Similar boards

  • 6 layers93 × 50 mmSwitch main v5, the printed circuit board in 3D

    Switch main v5

    ben5049/switch-v5-hardware

    KiCad design files for the 5th iteration of my single pair Ethernet (SPE) switch. It is similar to v4 but with more ports and an RJ45 connector so an external media converter isn't needed to connect to regular Ethernet…

    646 parts25AGPL-3.0
  • 6 layers200 × 190 mmNerd8, the printed circuit board in 3D

    Nerd8

    Patsch91/NerdOCTAXE-Gamma

    8-Asic Miner based on the NerdQaxe

    471 parts97CERN-OHL-S-2.0
  • 6 layers130.3 × 100 mmNoob sdr, the printed circuit board in 3D

    Noob sdr

    ainnovators/noob-sdr

    An open source SDR board derived from Michael Ossmann's Hackrf project. It should include an onboard FPGA for DSP purposes.

    473 parts1GPL-3.0
  • 6 layers64 × 90 mmUrti mainboard, the printed circuit board in 3D

    Urti mainboard

    greatscottgadgets/urti-mainboard

    Mainboard of URTI, the Universal Radio Test Instrument

    468 parts29CERN-OHL-P-2.0
  • 6 layers100 × 160 mmOWNVERTER, the printed circuit board in 3D

    OWNVERTER

    owntech-foundation/OWNVERTER

    The OwnVerter is an open-source 3-phase power converter that can be used to control multiple types of motors and is compatible with different types of sensors.

    474 parts16
  • 6 layers200 × 170 mmMicrowave Beamer, the printed circuit board in 3D

    Microwave Beamer

    levisawatz/Microwave_beam_kicad

    474 parts
  • 6 layers170 × 170 mmD2000-mitx, the printed circuit board in 3D

    D2000-mitx

    mothenjoyer69/pcb-design-files

    475 parts1MIT

Questions

How big is the Switch main v4 PCB?

It measures 65 × 50 mm and has 6 copper layers, 1.05 mm thick.

What parts does the Switch main v4 use?

471 parts, built around the 88Q2112-A2-NYD2A000-P123, TPS62290TDRVRQ1, LMK1C1104DQFR and LMQ66420MC3RXBRQ1. 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 Switch main v4 KiCad files?

From the ben5049/switch-v4-hardware repository on GitHub, at the commit this page was made from: the board is pcbs/switch-main-v4/switch-main-v4.kicad_pcb and its schematic pcbs/switch-main-v4-test-rig/switch-main-v4-test-rig.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Switch main v4 design in my own project?

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