Skip to the content
PCBKitNew board
4 layers65 × 55 mmGateway, the printed circuit board in 3D

Work-in-progress STM32 Cyphal/CAN-to-USB gateway with automatic input/output enrollment, ordered HID controllers, guarded configuration/leased action/event routing and native/Pico debug simulation.

Size
65 × 55 mm
Copper layers
4
Thickness
1.6 mm
Parts
45
Nets
67
Pads
189
Tracks, vias
1,513, 93
Pours
7
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
11 Oct 2026
Updated
5 Nov 2026

Overview

Gateway is an open-source printed circuit board by opensimgear, from the opensimgear/device-gateway repository on GitHub. It is a 4-layer board of 65 × 55 mm with 45 parts on 67 nets, routed with 1,513 tracks and 93 vias.

It is built around the STM32G0B1CBT6, R-78E5.0-0.5 and TCAN3413D, with the TLV75533PDBVR-MS, USBLC6-2SC6 and RC0805FR-0710KL among its other parts. Its parts include 12 capacitors, 8 resistors, 7 ICs, 6 connectors and 5 diodes. It belongs with the STM32 boards of this library.

Main components

12

README

electronics/boards/gateway/0.1.0/README.md

Gateway v0.1.0

Development status and disclaimer

This project is heavily under development and is not ready for use. Use it entirely at your own risk. To the fullest extent permitted by applicable law, the authors and contributors disclaim all liability for any damage, loss, or other issues arising from its use.

Open gateway.kicad_pro in KiCad 10. This revision develops the gateway around the reviewed STM32G0B1 starter core, adding protected 12 V injection and two physical 4P4C modular CAN/power sockets. The board is a prototype; no assembly has been measured or fabricated. Validation records actual static results and validation limits. Fabrication, footprint review, BOM, schematic and copper preview and 1:1 assembly drawings accompany the editable CAD.

The connectors are four-position/four-contact jacks, often sold as RJ9/RJ10/RJ22 handset connectors. They are smaller than six-position RJ11/RJ12 sockets. They implement the user's final 4P4C everywhere requirement. These powered sockets must never connect to telephone equipment. The former six-contact template ecosystem must be migrated before connecting a module; adapters or casual telephone-cord substitutions are not assumed safe.

Socket / headerContacts
J1 USB-CUSB 2.0 device, external 5.1 kΩ Rd on CC1/CC2, no USB PD
J2/J3 powered CAN1 protected BUS_12V; 2 CAN_H; 3 CAN_L; 4 GND
J5 12 V barrel5.5 mm OD / 2.1 mm ID mating plug, center positive; sleeve GND; switched sleeve unused
J4 SWD1 target 3.3 V reference, 2 GND, 3 SWDIO, 4 SWCLK, 5 NRST
J6 CAN test1 CAN_H, 2 CAN_L, 3 GND; no power output

Contact numbering comes from the exact manufacturer's drawing and local footprint; see FOOTPRINTS.md. Qualify a straight-through four-conductor cable whose center pair carries CAN_H/L as a twisted pair. Most handset cords reverse contacts end to end and many are flat, untwisted cable. A reversed cord swaps both power polarity and CAN polarity. Use continuity checks at every contact before energizing any new cable. No hot-plug or cable-current qualification has been established.

J2 and J3 are electrically parallel on a single CAN FD segment. Copper passes CAN and protected trunk power through independently of MCU reset or firmware. Use a linear chain. Fit a removable 120 Ω, 1%, ≥0.25 W resistor between contacts 2 and 3 only inside an endpoint plug in the unused gateway port, and a second endpoint plug in the final module's unused port. Remove termination on every intermediate module. There is no permanent PCB terminator; J6 is a bench test connection. Do not form a ring.

The barrel input feeds F2 (350 mA hold / 750 mA trip, 30 V PPTC), D6 SS14 reverse-polarity diode, then D7 SMBJ15A TVS at BUS_12V. Both jacks and the MCU branch receive this protected voltage. F1 (200 mA hold / 30 V) separately protects the MCU branch, followed by D1, the local D5 TVS and RECOM 5 V converter. U6/U7 LM66100 combine regulated bus power and USB VBUS into SYS_5V with TI's Figure 17 continuous-output priority topology: the buck-side status output drives USB-side enable through OR_STATUS, with R6 pulling up to BUCK_5V, followed by the 3.3 V LDO. USB never has a path that generates 12 V. The power-source selection is passive and independent of firmware; leakage, backfeed and source transitions still require measurement. Use one 12 V source per trunk; do not join independently powered gateways.

Use a current-limited regulated 12 V bench supply, set ≤0.5 A, and provisionally budget ≤250 mA total at the barrel input at 20–40°C, including the gateway and all chain devices. The connector's 1.5 A/contact rating does not establish a cable/system current budget. F2's hold rating derates with temperature (300 mA at 40°C and 150 mA at 85°C); a PPTC is a slow fault element, not an accurate electronic current limiter. This prototype has no sustained-overvoltage cutoff. TVS and fuse behaviour under actual faults, wire heating, diode drop and connector temperature must be qualified before extending these limits.

Firmware signalMCU padLQFP48 pin
USB D− / D+PA11 / PA1233 / 34
USB VBUS presencePB0, 10 kΩ / 15 kΩ divider19
CAN RX / TXPB8 / PB9, AF347 / 48
CAN standby, high = standbyPB5, external 10 kΩ pull-up44
LED, active high through 1 kΩPA516
SWDIO / SWCLKPA13 / PA1435 / 36
ResetPF2-NRST10

Clocks use internal oscillators. VDD, VDDA, VREF+ and VBAT use 3.3 V; the LQFP48 package internally connects USB supply to VDD. Leave PA11/PA12 remapping disabled and disable UCPD dead-battery pull-downs on unused PA9/PA10. The transceiver is in standby during reset; CAN traffic and chain power continue through the passive connectors. External control headers from the device template are absent.

The four-layer board retains the 65 × 55 mm outline and reviewed USB geometry: 0.2474 mm main track width / 0.1501 mm pair gap above a continuous L2 reference plane. Request the documented JLC04161H-7628 construction, 90 Ω differential ±10%, final geometry approval and coupon/TDR; the calculation is not a measured impedance. See fabrication instructions. Reproduce static checks and exports with sh tools/check-and-export.sh 0.1.0 from the repository root after every CAD edit.

KiCad.kicad_sym / KiCad.pretty retain selected upstream library entries under KiCad's license. OpenSimGear contains local manufacturer-derived connector, PPTC and other reviewed footprints. Upstream 3D paths require KiCad's model installation; newly authored parts deliberately omit unverified models.

Follow PCB versioning: this single current design is version 0.1.0, held fixed until launch.

Parts

45
QtyValueFootprintReferences
7100nF 25V X7RKiCad:C_0805_2012MetricC1, C6, C8, C9, C10, C11, C13
4M3 3.2mmKiCad:MountingHole_3.2mm_M3H1, H2, H3, H4
310kKiCad:R_0805_2012MetricR5, R6, R7
31uF 25V X7RKiCad:C_0805_2012MetricC3, C4, C7
24P4C POWERED CANOpenSimGear:RJ4P4C_Evercom_5301-4P4C_HorizontalJ2, J3
25.1k 1%KiCad:R_0805_2012MetricR1, R2
2LM66100DCKROpenSimGear:TI_DCK0006A_SC70-6_LM66100U6, U7
2SS14KiCad:D_SMAD1, D6
10.20A hold / 30VOpenSimGear:Fuse_Littelfuse_1206L020-30YRF1
10.35A hold / 30VOpenSimGear:Fuse_Littelfuse_1206L035-30WRF2
110k 1%KiCad:R_0805_2012MetricR3
110uF 50V X7RKiCad:C_1210_3225MetricC2
112V DC CENTER + / 5.5x2.1OpenSimGear:BarrelJack_SameSky_PJ-102AH_HorizontalJ5
115k 1%KiCad:R_0805_2012MetricR4
11kKiCad:R_0805_2012MetricR8
12.2uF 25V X7RKiCad:C_0805_2012MetricC5
1CAN TEST / END TERMINATIONOpenSimGear:PinHeader_Samtec_TSW-103-07-L-S_P2.54mm_VerticalJ6
1GREENOpenSimGear:LED_Kingbright_AP2012SGC_0805D4
1R-78E5.0-0.5KiCad:Converter_DCDC_RECOM_R-78E-0.5_THTU4
1RESETKiCad:SW_PUSH_6mm_H4.3mmSW2
1SMBJ15A-E3/52KiCad:D_SMBD7
1SMF15A-E3-08KiCad:D_SMFD5
1STM32G0B1CBT6KiCad:LQFP-48_7x7mm_P0.5mmU1
1SWD / 3V3 REFERENCE ONLYOpenSimGear:PinHeader_Samtec_TSW-105-07-L-S_P2.54mm_VerticalJ4
1TCAN3413DKiCad:SOIC-8_3.9x4.9mm_P1.27mmU3
1TLV75533PDBVRKiCad:SOT-23-5U5
1USB-C DEVICEKiCad:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1
1USBLC6-2SC6KiCad:SOT-23-6U2

Questions

How big is the Gateway PCB?

It measures 65 × 55 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Gateway use?

45 parts, built around the STM32G0B1CBT6, R-78E5.0-0.5, TCAN3413D and TLV75533PDBVR-MS. 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 Gateway KiCad files?

From the opensimgear/device-gateway repository on GitHub, at the commit this page was made from: the board is electronics/boards/gateway/0.1.0/gateway.kicad_pcb and its schematic electronics/boards/gateway/0.1.0/gateway.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Gateway design in my own project?

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

Similar boards

  • 4 layers85 × 75 mmStarter, the printed circuit board in 3D

    Starter

    opensimgear/device-template

    Work-in-progress STM32G0B1 input/output module with USB HID or CDC-only profiles, Cyphal/CAN, persistent settings, ordered panel events, leased LED/display actions, KiCad hardware and native simulation.

    111 parts
  • 6 layers84 × 98 mmFujiNet-5200-Rev0, the printed circuit board in 3D

    FujiNet-5200-Rev0

    FujiNetWIFI/fujinet-hardware

    Schematics and design files for FujiNet hardware

    145 parts142
  • 4 layers165 × 160 mmBig Fast Switch, the printed circuit board in 3D

    Big Fast Switch

    slugrustle/electronics

    Various electronics projects.

    136 parts1
  • 4 layers150 × 110 mmController, the printed circuit board in 3D

    Controller

    micthiesen/crystal-shim

    Aquarium skimmer controller: capacitive sensing, ESP32-C6 firmware, and separated mains switching

    117 parts
  • 2 layers79 × 83 mmInterface module, the printed circuit board in 3D

    Interface module

    psas/mints-scada-hardware

    Minimal Test Stand Supervisory

    113 parts
  • 4 layers55 × 55 mmLovelace as-001, the printed circuit board in 3D

    Lovelace as-001

    chanulee/audiostream-esp32

    Airplay 2 + Spotify Connect + Bluetooth

    63 parts
  • 2 layers50 × 50 mmCan proto, the printed circuit board in 3D

    Can proto

    fahrrad-camper/anhaenger

    232 parts