Skip to the content
4 layers99 × 99 mmTwin GaN VESC, the printed circuit board in 3D

Twin motordriver with GaN powerstages, compatible with VESC-Tool

Size
99 × 99 mm
Copper layers
4
Thickness
1.6 mm
Parts
325
Nets
252
Pads
1,105
Tracks, vias
2,330, 1,342
Pours
34
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
15 Oct 2026
Updated
17 Oct 2026

Overview

Twin GaN VESC is an open-source printed circuit board by NovaPrime18, from the NovaPrime18/Twin-GaN repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 4-layer board of 99 × 99 mm with 325 parts on 252 nets, routed with 2,330 tracks and 1,342 vias.

It is built around the ESP32-C3-WROOM-02-H4, INA240A1D and LMR16006XDDCR, with the 74LVC1G66GW, EPC23102 and TJA1051TK/3/1 among its other parts. Its parts include 139 capacitors, 95 resistors, 32 ICs, 25 diodes and 12 connectors. It belongs with the robots and motor control boards and the ESP32, STM32 and RISC-V boards of this library.

Main components

12

README

README.md

Twin-GaN

Dual 3-phase GaN motor controller with on-board CAN traction control

License: CERN-OHL-S v2.0 KiCad


Overview

Twin-GaN is an open-source, dual-motor VESC-compatible controller that fits two complete 3-phase inverters onto a single 99 × 99 mm board. It targets the same use case as a pair of off-the-shelf single ESCs — a two-wheel-drive skateboard, e-bike or robot — doing the job of two drivers with one board. It is cheaper than the equivalent Flipsky dual, smaller, and more efficient; the trade-off is deliberate, since it gives up peak power for that density. This is a 20 A-input board, not a 100 A one, and the density comes from switching to GaN rather than from oversizing the power stage.

Built around six EPC23102 eGaN ePower Stage ICs (100 V, 5.2 mΩ, gate driver and bootstrap integrated in a 3.5 × 5 mm package) and two STM32F405RGT6s, it accepts up to 60 VDC through a single XT60 and drives two motors through MR30PW-M connectors.

Both channels have their own MCU, their own USB-C port and their own three-shunt sensing chain, and all three controllers on the board (both STM32s plus an ESP32-C3-WROOM-02) share one internal CAN bus — which is what makes traction control between the two channels possible on-board, instead of two separate ESCs having to agree over a cable.


Specifications

ParameterValue
Input voltageup to 60 VDC
Battery input current20 A
Phase current20 A continuous / 40 A absolute max
Max input power≈ 1.2 kW (battery-limited: 60 V × 20 A, both channels)
PWM frequencyup to 35 kHz
Topology2 × independent 3-phase inverter
Power stage6 × EPC23102 ePower Stage (100 V, 5.2 mΩ)
Control2 × STM32F405RGT6 + 1 × ESP32-C3-WROOM-02
Input connectorXT60
Motor connectors2 × AMASS MR30PW-M (30 A)
Board99 × 99 mm, 4 layer, 1.6 mm
EDAKiCad

⚠️ The current and power figures above are design targets for Revision 1 — they have not been bench-verified.


VESC-Tool Compatibility

  • Two independent VESC targets — each channel runs its own STM32F405RGT6 with its own 6-PWM GaN stage, so VESC Tool detects, configures and monitors them as two separate controllers (VESC 75/300-derived hardware target)
  • USB-C per controller — J12/J13 give each motor its own USB-C for VESC Tool, with a third port (J7) on the ESP32-C3; every port has 5.1 kΩ CC pulldowns and VBUS → 0.5 A PTC → ferrite → diode → +5V
  • Three-shunt current sensing — one INA240A1D per phase (six total) across 2 mΩ 1206 shunts, REF1 = GND / REF2 = +3V3 for true bidirectional measurement
  • Hall sensors + motor temperature — one 6-pin JST-PH header per channel (J4, J9): GND, Hall W, Hall V, Hall U, TEMP_MOTOR
  • VESC COMM header per channel — 8-pin JST-PH (J5, J10) on the standard VESC accessory pinout: +5V, +3V3, GND, SCK, SDA/NSS, SCL/MOSI, MISO, ADC-15
  • SWD per controller — Tag-Connect TC2030 footprints (J2, J8), no header needed
  • CAN — three TJA1051T/3 transceivers on one internal bus (MCU1, MCU2 and the ESP32-C3), terminated on-board; the two channels can be coordinated for traction control over CAN
  • On-board UI — one push button and red/green status LEDs per channel

Hardware

ComponentPart
MCU2 × STM32F405RGT6 (LQFP-64)
Wireless / third CAN nodeESP32-C3-WROOM-02
Power stage6 × EPC23102 (eGaN half-bridge with integrated driver)
Current sense6 × INA240A1D across 2 mΩ 1206 shunts
CAN transceivers3 × TJA1051T/3
Signal switches12 × 74LVC1G66 (current / voltage filter enables)
FET temperature6 × NCP15XH103 NTC (10 kΩ @ 25 °C, one per phase)
Logic supplyLMR16006XDDCR: Vdrive → +5V → +3V3
Bus protection20 A fuse, SMAJ58A TVS
Bulk storage8 × 100 µF 80 V, 12 × 1 µF 100 V, 6 × 4.7 µF 100 V
Input connectorAMASS XT60IPW-M
Motor connectors2 × AMASS MR30PW-M
Hall / COMMJST PH 6-pin (×2) / 8-pin (×2)
USB3 × USB-C 16-pin
Debug2 × Tag-Connect TC2030 SWD
Buttons2 × KMR211NGLFS
EDAKiCad

Acknowledgements / Based On


License

Hardware design files are licensed under the CERN Open Hardware Licence Version 2 – Strongly Reciprocal (CERN-OHL-S v2.0).

See LICENSE for the full text, or visit ohwr.org/cern_ohl_s_v2.

In short: you are free to use, study, modify, and distribute this design, provided that any derivatives are released under the same licence and source files are made available.

Parts

325
QtyValueFootprintReferences
49100nFCapacitor_SMD:C_0402_1005MetricC1, C15, C16, C18, C20, C22, C24, C26, C29, C103, C104, C105, C106, C107, C108, C109 +33
2022Resistor_SMD:R_0402_1005MetricR1, R13, R16, R19, R20, R21, R22, R23, R42, R43, R44, R45, R46, R47, R60, R61 +4
162.2uFCapacitor_SMD:C_0402_1005MetricC9, C10, C13, C19, C23, C27, C28, C35, C42, C43, C46, C85, C89, C94, C95, C96
1310kResistor_SMD:R_0402_1005MetricR11, R12, R14, R15, R31, R32, R33, R34, R48, R49, R50, R92, R94
1210Resistor_SMD:R_0402_1005MetricR52, R53, R54, R55, R56, R57, R66, R69, R70, R71, R87, R88
121kResistor_SMD:R_0402_1005MetricR2, R3, R17, R18, R67, R68, R72, R73, R77, R78, R80, R95
121uF 100VCapacitor_SMD:C_0805_2012MetricC33, C121, C122, C123, C124, C125, C126, C127, C136, C137, C138, C139
122.2uF 16VCapacitor_SMD:C_0402_1005MetricC100, C101, C102, C114, C119, C120, C128, C129, C130, C131, C132, C133
1274LVC1G66Package_TO_SOT_SMD:SOT-353_SC-70-5U10, U11, U12, U13, U14, U17, U20, U21, U22, U23, U24, U25
12DSK310Diode_SMD:D_SOD-123FD11, D12, D13, D15, D17, D18, D19, D20, D21, D26, D28, D29
8100uF 80VCapacitor_SMD:CP_Elec_10x10C110, C111, C112, C113, C115, C116, C117, C118
72k2Resistor_SMD:R_0402_1005MetricR36, R38, R40, R59, R90, R96, R104
756kResistor_SMD:R_0603_1608MetricR35, R37, R39, R58, R89, R91, R103
610k @25°CResistor_SMD:R_0402_1005MetricR74, R75, R76, R81, R82, R83
610u X7R 25VCapacitor_SMD:C_0805_2012MetricC65, C69, C72, C91, C92, C93
615nFCapacitor_SMD:C_0402_1005MetricC48, C54, C57, C66, C75, C81
61nFCapacitor_SMD:C_0402_1005MetricC49, C59, C67, C68, C78, C82
61u X7R 100VCapacitor_SMD:C_0805_2012MetricC56, C61, C62, C86, C87, C88
62mRResistor_SMD:R_1206_3216MetricR97, R98, R99, R100, R101, R102
64.7uF 100VCapacitor_SMD:C_1206_3216MetricC134, C135, C140, C141, C142, C143
65.1kResistor_SMD:R_0402_1005MetricR105, R106, R107, R108, R109, R110
6EPC23102Thommys-Parts:D0727U2, U5, U6, U18, U26, U27
6INA240A1DPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU3, U9, U19, U28, U29, U30
510uFCapacitor_SMD:C_0805_2012MetricC2, C8, C17, C34, C41
415pFCapacitor_SMD:C_0402_1005MetricC11, C12, C44, C45
4MountingHole_PadMountingHole:MountingHole_2.7mm_M2.5H1, H2, H3, H4
30.5AResistor_SMD:R_0805_2012MetricF2, F3, F4
3600R@100MHzInductor_SMD:L_0402_1005MetricFB2, FB3, FB4
3BAV16WDiode_SMD:D_SOD-123D4, D7, D8
3Connector, USB-TYPE-C-16PPCM_JLCPCB:TYPE-C-SMD_HX-TYPE-C-16PINJ7, J12, J13
3LEDLED_SMD:LED_0603_1608MetricD22, D24, D25
3TJA1051TK-3Package_SON:HVSON-8-1EP_3x3mm_P0.65mm_EP1.6x2.4mmU7, U31, U32
2100n X7R 100VCapacitor_SMD:C_0603_1608MetricC55, C90
222uH 1A 0.29OhmInductor_SMD:L_Sunlord_SWPA4030SL2, L3
23v3/5VJumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mmJP1, JP2
24.7Resistor_SMD:R_0402_1005MetricR10, R30
28MCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1, Y2
2COMMConnector_JST:JST_PH_B8B-PH-SM4-TB_1x08-1MP_P2.00mm_VerticalJ5, J10
2Conn_01x03Connector_AMASS:AMASS_MR30PW-M_1x03_P3.50mm_HorizontalJ1, J11
2GreenLED_SMD:LED_0603_1608MetricD2, D6
2HallConnector_JST:JST_PH_B6B-PH-SM4-TB_1x06-1MP_P2.00mm_VerticalJ4, J9
2KMR211NGLFSButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW1, SW2
2LMR16006XDDCRPackage_TO_SOT_SMD:SOT-23-6U15, U16
2MBR1H100SFT3GDiode_SMD:D_SOD-123FD14, D23
2RedLED_SMD:LED_0603_1608MetricD1, D5
2STM32F405RGTxPackage_QFP:LQFP-64_10x10mm_P0.5mmU1, U4
2TagconnectConnector:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_VerticalJ2, J8
11uFCapacitor_SMD:C_0402_1005MetricC31
120AFuse:Fuse_2512_6332MetricF1
1220Resistor_SMD:R_0603_1608MetricR41
133k 1%Resistor_SMD:R_0402_1005MetricR86
150kResistor_SMD:R_0402_1005MetricR79
154.9k 1%Resistor_SMD:R_0402_1005MetricR93
1Conn_01x04Connector_AMASS:AMASS_XT60IPW-M_1x03_P7.20mm_HorizontalJ3
1ESP32-C3-WROOM-02RF_Module:ESP32-C3-WROOM-02U8
1LOGOLOGOG***
1SMAJ58APCM_JLCPCB:D_SMAD27

The 323 most common of 325 parts.

Similar boards

  • 6 layers120 × 57 mmNitride nano, the printed circuit board in 3D

    Nitride nano

    NovaPrime18/nitride-nano

    USB-C PD3.1 240W compatible 60V buck/boost converter nano powersupply

    310 parts3CERN-OHL-S-2.0
  • 6 layers66 × 66 mmPD240W kicad, the printed circuit board in 3D

    PD240W kicad

    theohg/PD240W

    PD240W is a complete hardware and firmware project converting USB-C Power Delivery into a programmable 240W (48V 5A) bench power supply, featuring C++ code for Raspberry Pi Pico, custom PCB Gerbers, and a 3D-printable…

    299 parts125
  • 4 layers206.9 × 120 mmCompressorController, the printed circuit board in 3D

    CompressorController

    NovaPrime18/CompressorController

    VESC Compatible 230VAC BLDC Driver

    276 partsCERN-OHL-S-2.0
  • 4 layers65 × 64.5 mmScratch-001, the printed circuit board in 3D

    Scratch-001

    CrypticRage/scratch-001

    114 parts
  • 4 layers67.2 × 90.4 mmLinkodrive08, the printed circuit board in 3D

    Linkodrive08

    jediminer543/animated-robot

    Easily PCBA-able BLDC driver

    161 parts1Apache-2.0
  • 4 layers50.8 × 22.9 mmBench stim wing, the printed circuit board in 3D

    Bench stim wing

    ThatguyCplus/throttleECU

    STM32F411CE Throttle ECU — PID position control with AS5048A encoder, H-bridge motor, safety module

    114 parts1
  • 2 layers90 × 40 mmDualpaneldriver, the printed circuit board in 3D

    Dualpaneldriver

    zoe1337/canesys

    Switchmode LED Controller fed from CAN

    142 parts3

Questions

How big is the Twin GaN VESC PCB?

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

What parts does the Twin GaN VESC use?

325 parts, built around the ESP32-C3-WROOM-02-H4, INA240A1D, LMR16006XDDCR and 74LVC1G66GW. 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 Twin GaN VESC KiCad files?

From the NovaPrime18/Twin-GaN repository on GitHub, at the commit this page was made from: the board is Twin-GaN-VESC.kicad_pcb and its schematic CAN.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Twin GaN VESC design in my own project?

Its repository publishes it under the CERN-OHL-S-2.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).