PriusG2
ksmola·PriusG2
About the PriusG2 PCB
PriusG2 is an open source ESP32 PCB design by ksmola, published on GitHub. It is a 4-layer board measuring 147.8 × 65 mm, with 145 components from 60 distinct parts.
Its main chip is the ESP32-WROOM-32D, from the ESP32 family. Other key parts include the MCP6022T-I/SN, ULN2003ADR, TDA2822G-S08-R, TJA1051T/3/1J and LMR14020SDDAR. By type, the board carries 64 resistors, 52 capacitors, 8 ICs, 7 diodes, 4 connectors and 4 switches.
From the project
Inverter control board for Toyota Prius Gen 2 (XW20) inverter. Some of the schematics are based on Johannes Huebner's work found here. Running openinverter firmware.
Inverter control board for Toyota Prius Gen 2 (XW20) inverter. Some of the schematics are based on Johannes Huebner's work found here. Running openinverter firmware.
- ESP32 on board - AMPSEAL connectors - 3D printed enclosure
ESP32 needs ported webinterface Get latest openinverter firmware here
Pinout is documented on the bottom silk of the PCB

Main components on the PriusG2
PriusG2 bill of materials (BOM)
145 components, 60 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | MCP6022T-I/SN MCP602 | SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.29x3mm | U2 |
| 1 | ULN2003ADR ULN2003A | SOIC-16_4.55x10.3mm_P1.27mm | U3 |
| 1 | TDA2822G-S08-R TDA2822D | SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.29x3mm | U4 |
| 1 | TJA1051T/3/1J TJA1051T-3 | SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 1 | ESP32-WROOM-32D ESP32-WROOM-32 | ESP32-WROOM-32 | U6 |
| 1 | LMR14020SDDAR LMR14020 | SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.29x3mm | U7 |
| 1 | AMS1117-3.3 AZ1117-3.3 | SOT-223-3_TabPin2 | U8 |
| 1 | STM32F103VBT6 STM32F103VBTx | LQFP-100_14x14mm_P0.5mm | U9 |
| 2 | AP9T18GH-HF IRLZ14SPBF | TO-252-2 | Q1, Q2 |
| 1 | X50328MSB2GI 8MHz | Crystal_SMD_5032-2Pin_5.0x3.2mm | Y1 |
| 1 | Conn_02x05_Odd_Even | PinHeader_2x05_P1.27mm_Vertical_SMD | J1 |
| 1 | Conn_01x23 | TE_776228-1 | J3 |
| 1 | Conn_01x14 | TE_776262-2 | J4 |
| 1 | Conn_01x03_Male | PinSocket_1x03_P1.27mm_Vertical_SMD_Pin1Left | J5 |
| 2 | TS-1187A-C-E-B SW_Push | SW_SPST_EVQQ2 | SW1, SW2 |
| 1 | TS-1187A-C-E-B RESET | SW_SPST_EVQQ2 | SW3 |
| 1 | TS-1187A-C-E-B BOOT | SW_SPST_EVQQ2 | SW4 |
| 2 | MHT192UBCT LED | LED_0603_1608Metric_Castellated | D1, D3 |
| 1 | PESD1CAN-UX | SOT-323_SC-70 | D2 |
| 1 | SMCJ36CA SM15T33CA | D_SMC | D4 |
Show 40 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | SS34 D_Schottky | D_SMA | D5, D6 |
| 1 | E6Q0603URAC1UDA LED | LED_0603_1608Metric_Castellated | D7 |
| 1 | GZ2012D101TF Ferrite_Bead | C_0805_2012Metric | FB1 |
| 1 | LQH32PN2R2NN0L 2.2uH | L_1210_3225Metric | L1 |
| 1 | MWSA0503S-100MT 10u | MWSA0503 | L2 |
| 2 | CC0603JRNPO9BN200 20pF | C_0603_1608Metric | C1, C2 |
| 11 | 0603B104K250CT 100nF | C_0603_1608Metric | C3, C4, C5, C6, C7, C8, C9, C10 +3 |
| 1 | CL10A475KO8NNNC 4.7u | C_0603_1608Metric | C12 |
| 10 | CL10A105KB8NNNC 1u | C_0603_1608Metric | C14, C17, C45, C46, C47, C48, C49, C50 +2 |
| 4 | CL10B102KB8NNNC 1n | C_0603_1608Metric | C15, C16, C43, C44 |
| 3 | CL10A106KP8NNNC 10uF | C_0603_1608Metric | C18, C40, C41 |
| 1 | CL10B102KB8NNNC 1nF | C_0603_1608Metric | C19 |
| 2 | CL10A105KB8NNNC 1uF | C_0603_1608Metric | C20, C36 |
| 1 | 100uF | C_Elec_6.3x7.7 | C21 |
| 5 | CL10B223KB8NNNC 22n | C_0603_1608Metric | C22, C23, C24, C25, C27 |
| 2 | CL10A106KP8NNNC 10u | C_0603_1608Metric | C26, C32 |
| 2 | 0603B104K250CT 100n | C_0603_1608Metric | C28, C29 |
| 3 | CL10B104KC8NNNC .1u | C_0603_1608Metric | C30, C31, C33 |
| 2 | CL10A475KO8NNNC 4.7uF | C_0603_1608Metric | C34, C42 |
| 1 | 56uF | CP_Radial_D8.0mm_P3.50mm | C35 |
| 1 | 0603B103K500NT 10nF | C_0603_1608Metric | C37 |
| 1 | CL10C331JB8NNNC 330pF | C_0603_1608Metric | C39 |
| 25 | 0603WAF1002T5E 10k | R_0603_1608Metric | R1, R3, R4, R5, R6, R11, R18, R19 +17 |
| 3 | 1k | R_0603_1608Metric | R2, R35, R64 |
| 6 | 0603WAF1003T5E 100K | R_0603_1608Metric | R7, R8, R9, R10, R16, R17 |
| 2 | 0603WAF3302T5E 33K | R_0603_1608Metric | R12, R14 |
| 2 | 0603WAF1502T5E 15K | R_0603_1608Metric | R13, R15 |
| 5 | 0603WAF5100T5E 510 | R_0603_1608Metric | R22, R41, R42, R55, R58 |
| 1 | 0603WAF2200T5E 220 | R_0603_1608Metric | R23 |
| 1 | 0603WAF4701T5E 4K7 | R_0603_1608Metric | R25 |
| 1 | 0603WAF3300T5E 3.3k | R_0603_1608Metric | R27 |
| 1 | 0603WAF6801T5E 3.3k | R_0603_1608Metric | R28 |
| 1 | 0603WAF1002T5E 3.3k | R_0603_1608Metric | R29 |
| 3 | 0603WAF4701T5E 4.7k | R_0603_1608Metric | R31, R32, R45 |
| 1 | 0603WAF1200T5E 120 | R_0603_1608Metric | R33 |
| 1 | 0603WAF100KT5E 1 | R_0603_1608Metric | R37 |
| 1 | 0603WAF1202T5E 12k | R_0603_1608Metric | R39 |
| 1 | 0603WAF6802T5E 68k | R_0603_1608Metric | R40 |
| 4 | 0603WAF3301T5E 3.3k | R_0603_1608Metric | R46, R47, R48, R49 |
| 5 | 0603WAF1201T5E 1.2k | R_0603_1608Metric | R50, R51, R52, R53, R54 |
PriusG2 design files
The KiCad project lives in the ksmola/PriusG2 repository on GitHub; these links point at the commit this page was built from.
- Layoutprius_gen2.kicad_pcb
- Schematicprius_gen2.kicad_sch
- BOMprius_g2_cam/prius_g2_r3-BOM.xls
PriusG2: common questions
What microcontroller does the PriusG2 use?
The PriusG2 is built around the ESP32-WROOM-32D, from the ESP32 family.
How big is the PriusG2 PCB?
The PriusG2 measures 147.8 × 65 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the PriusG2?
145 components, from 60 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the PriusG2 design files?
From the ksmola/PriusG2 repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the PriusG2 design in my own project?
The repository has no license, so all rights stay with ksmola. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the PriusG2 without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.
Similar boards
ESP32
Open Book Abridged Edition
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8kESP32
Bitaxe
skot
56.5 × 99.8 mm86 parts4LCERN-OHL-S-2.01.4k