Skip to the content
4 layers165.3 × 123.7 mmRX8-7(WithoutOpAmps), the printed circuit board in 3D

An infotainment system for the Mazda RX-8 that integrates seamlessly with the climate control unit.

Size
165.3 × 123.7 mm
Copper layers
4
Thickness
1.6 mm
Parts
392
Nets
447
Pads
1,473
Tracks, vias
3,036, 438
Pours
32
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
2 Mar 2026
Updated
14 Jul 2026

Overview

RX8-7(WithoutOpAmps) is an open-source printed circuit board by bradport02, from the bradport02/RX8-Infotainment_System repository on GitHub. It is a 4-layer board of 165.3 × 123.7 mm with 392 parts on 447 nets, routed with 3,036 tracks and 438 vias.

It is built around the MCP2551-I/SN-HG, NJM4556AM and ESD9B5.0ST5G, with the PTS636 SKG25J SMTR LFS, SMAJ24A and SQJ407EP-T1_GE3 among its other parts. Its parts include 154 resistors, 118 capacitors, 26 diodes, 15 transistors and 9 ICs. It belongs with the interfaces and adapters and computers and single-board computers boards and the ESP32 and STM32 boards of this library.

Main components

7

README

README.md

RX-8 Custom Infotainment System

A full-stack aftermarket infotainment replacement for a Mazda RX-8, developed as a final-year individual engineering project (BEng Electronic Engineering, Royal Holloway University of London — First Class, dissertation graded 81%).

The system replaces the OEM head unit and integrates directly with the car's existing CAN bus, audio amplifiers, climate control unit, and CD changer — most of which use undocumented, proprietary protocols that had to be reverse engineered from scratch. It spans custom four-layer PCB design, embedded firmware, and a full Qt/QML application, and is built and running in the vehicle.

Assembled PCB

A full build demo is available here.

Architecture

Three-processor system, each handling a distinct role:

ProcessorRole
STM32H750VBT6CAN bus gateway, real-time vehicle protocol decoding (CCU, CD changer, OEM audio), RTC/backlight/system control
Raspberry Pi 5Qt6/QML user interface, Bluetooth (BlueZ/oFono/obexd), audio routing (PipeWire/ALSA), CarPlay integration
ESP32-S3Peripheral control — ambient lighting, WS2812B driving, secondary CAN interface for bench testing

All three communicate over a custom 20-byte framed UART/IPC protocol (start-byte delimited, CRC8-checked) running between the Pi, STM32, and ESP32.

System architecture

What it does

CAN bus gateway — FDCAN1/FDCAN2 dual-controller bring-up on the STM32H750, forwarding at ~28 µs measured latency. 18 unique CAN IDs decoded from live RX-8 traffic and mapped to vehicle signals (RPM, speed, steering, warnings).

CAN bus capture

Reverse-engineered vehicle protocols — the RX-8 uses several undocumented buses with no public documentation:

  • CCU (climate control unit): 4800 baud, 8E1, inverted UART — full packet structure decoded from oscilloscope captures and re-implemented in firmware.

    CCU UART reverse engineering

  • CD changer: proprietary PWM bus, nibble-based BCD encoding with XOR+1 checksum — decoded and replicated.

    CD changer bus capture

  • OEM audio output stage: characterised the differential amplifier output (NJM4556A, virtual-ground biasing) to interface cleanly with the new head unit.

Custom 4-layer PCB (KiCad, JLCPCB-manufactured) — integrates the STM32H750, CAN transceivers, TDA7719/TDA7388 audio ICs, Si4703 FM tuner, automotive-grade power protection (reverse polarity, TVS clamping, ACC ignition switching), and connectors for all vehicle interfaces.

Populated (front)Populated (back)Final assembly
PCB frontPCB backFinal assembly

Qt6/QML application — StackView-based navigation, live CAN data display, climate control, ambient lighting control, Bluetooth calling/audio/contacts (PBAP), CarPlay via Carlinkit, and CD/media playback pages.

Automotive-grade hardware engineering — proper reverse-polarity and TVS protection on all vehicle-facing inputs, differential CAN/USB routing, and debugging of real automotive edge cases (back-feed through body diodes, RTC domain persistence across power cycles, etc.).

Repository structure

text
├── Application/          # Qt6/QML UI running on the Raspberry Pi 5
├── Embedded Software/    # STM32H750 firmware (CAN gateway, protocol decoders, UART/IPC) + ESP32-S3 firmware
├── PCBs/                 # KiCad schematics and 4-layer PCB layout
├── Documents/            # Dissertation, supporting reports, protocol definitions, and photo evidence
└── README.md

Skills demonstrated

Embedded firmware (C, HAL-style drivers, DMA, interrupt-driven UART), four-layer PCB design and bring-up (KiCad), Qt/QML application development, CAN bus systems (FDCAN, socketcan), reverse engineering of undocumented serial and PWM protocols from oscilloscope/logic analyser captures, automotive electrical design (protection, power architecture), and cross-processor system integration.

Status

Core CAN gateway, protocol decoding, PCB, and primary UI pages (climate, ambient lighting, Bluetooth, CarPlay, CD) are implemented and tested on hardware. See individual folders for current state of any in-progress subsystems.

Documentation

Author

Bradley Port — Final-year BEng Electronic Engineering, Royal Holloway University of London. LinkedIn · Portfolio [blocked]

Parts

392
QtyValueFootprintReferences
44100nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC100, C102, C107, C110, C111, C112, C118, C120, C130, C208, C209, C211, C212, C213, C225, C227 +28
4110kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR103, R104, R206, R207, R208, R209, R210, R211, R213, R372, R373, R400, R401, R402, R403, R404 +25
160RResistor_SMD:R_0603_1608MetricR331, R332, R333, R341, R343, R345, R361, R365, R374, R375, R376, R377, R378, R379, R380, R381
131uCapacitor_SMD:C_0805_2012MetricC200, C201, C202, C203, C204, C205, C206, C207, C214, C220, C221, C600, C603
13NPNSOT-23[Corrected]:SOT-23-3(CORRECTED)Q300, Q301, Q400, Q401, Q402, Q403, Q404, Q500, Q501, Q502, Q503, Q600, Q601
124k7Resistor_SMD:R_0603_1608MetricR336, R337, R339, R340, R342, R344, R355, R356, R357, R363, R364, R371
111kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR367, R368, R406, R407, R410, R411, R412, R503, R514, R517, R608
11LEDLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD106, D107, D109, D110, D111, D113, D114, D200, D400, D504, D605
102u2Capacitor_SMD:C_0805_2012MetricC215, C216, C217, C218, C409, C410, C412, C413, C507, C508
90RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR507, R520, R606, R607, R611, R612, R700, R703, R704
8220uCapacitor_SMD:CP_Elec_6.3x5.3C335, C336, C337, C338, C339, C340, C347, C348
84R7Resistor_SMD:R_0603_1608MetricR346, R347, R348, R352, R353, R354, R369, R370
722kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR102, R108, R111, R205, R416, R518, R613
610uCapacitor_SMD:CP_Elec_4x5.4C103, C117, C121, C124, C405, C408
65k1Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR105, R106, R505, R508, R604, R605
5ESD9B5.0ST5GDiode_SMD:D_SOD-923D502, D503, D600, D601, D602
410RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR200, R201, R202, R203
410uInductor_SMD:L_Bourns_SRP5030TL200, L201, L202, L203
410uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC108, C109, C503, C518
41kResistor_SMD:R_0603_1608MetricR349, R350, R351, R366
422pCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC400, C401, C701, C702
427kResistor_SMD:R_0603_1608MetricR334, R335, R338, R362
44k3Resistor_SMD:R_0603_1608MetricR328, R329, R330, R360
44u7Capacitor_SMD:CP_Elec_5x4.5C332, C333, C334, C346
4NJM4556APackage_SO:SSOP-8_3.9x5.05mm_P1.27mmU304, U305, U306, U307
3120RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR701, R705, R706
322kResistor_SMD:R_0603_1608MetricR107, R112, R121
3MCP2551-I-SNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU700, U702, U703
3NACapacitor_SMD:C_0603_1608MetricC402, C403, L400
3PTS636SKG25JSMTR_LFSPTS636SKG25JSMTR_LFS:PTS636SKG25JSMTRLFSSW500, SW600, SW601
3USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ100, J502, J601
2100kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR113, R204
210kResistor_SMD:R_1210_3225MetricR100, R101
210uCapacitor_SMD:C_0805_2012MetricC219, C607
210uCapacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolderC106, C114
212pCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC504, C505
215pCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC513, C514
21N5402Diode_SMD:D_SOD-128D101, D103
222RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR512, R513
22K2Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR116, R120
232.768KCrystal:Crystal_SMD_3215-2Pin_3.2x1.5mmX400, X501
23k3Resistor_SMD:R_0603_1608MetricR358, R359
2470RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR421, R422
247kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR212, R603
247uCapacitor_SMD:CP_Elec_6.3x5.9C116, C223
247uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC122, C123
2D_ZenerPackage_TO_SOT_SMD:SOT-223-3_TabPin2D100, D104
2FerriteBeadCapacitor_SMD:C_0603_1608MetricFB100, FB400
2Jumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm_NumberLabelsJP100, JP101
2LM75BPackage_SO:TSSOP-8_3x3mm_P0.65mmU704, U705
2SMAJ24ADiode_SMD:D_SMAD102, D500
2SQJ407EP-T1_GE3SQJ407EP-T1_GE3:PowerPAK-SO-8L_Option-2_VISQ101, Q102
2TestPointTestPoint:TestPoint_Pad_D1.0mmTP500, TP501
11.5KExxADiode_THT:D_DO-201AE_P15.24mm_HorizontalD108
1100nCapacitor_SMD:C_0603_1608MetricC343
1100uCapacitor_SMD:CP_Elec_10x10C115
110kResistor_SMD:R_0603_1608MetricR708
110uCapacitor_SMD:CP_Elec_8x10.5C101
110uInductor_SMD:L_1210_3225MetricL401
110uCapacitor_SMD:C_0603_1608MetricC406
112kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR118
11N4001Diode_SMD:D_SOD-123D505
11N4007Diode_SMD:D_SMA_HandsolderingD105
11N4007Diode_SMD:D_SMAD112
11k5Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR115
11k8Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR119
11uCapacitor_SMD:CP_Elec_4x5.7C105
11uCapacitor_SMD:CP_Elec_4x5.4C127
1220uCapacitor_SMD:CP_Elec_10x10C104
122k1Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR602
122nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC113
122uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC125
122uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC126
1240RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR114
125MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mm_HandSolderingX500
12kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR117
133kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR519
134958-038334958-0383:349580383J800
135RASMT6CHNTRX35RASMT6CHNTRX:35RASMT6CHNTRXJ401
14.7uHXAL7030-472MEC:XAL7030472MECL100

The 345 most common of 392 parts.

More from bradport02/RX8-Infotainment_System

2
  • 4 layers165.3 × 123.7 mmRX8-7(STM CENTRE), the printed circuit board in 3D

    RX8-7(STM CENTRE)

    bradport02/RX8-Infotainment_System

    An infotainment system for the Mazda RX-8 that integrates seamlessly with the climate control unit.

    387 parts
  • 2 layers67 × 30.5 mmRX8-8, the printed circuit board in 3D

    RX8-8

    bradport02/RX8-Infotainment_System

    An infotainment system for the Mazda RX-8 that integrates seamlessly with the climate control unit.

    29 parts

Similar boards

  • 6 layers131.5 × 132.4 mmBedCooler, the printed circuit board in 3D

    BedCooler

    NicholasKorth/BedCooler

    A dual-zone heating and cooling controller for a bed: a 6-layer KiCad board with an STM32G474 real-time controller and a Raspberry Pi Compute Module 5 host.

    258 parts11
  • 4 layers93 × 62 mmPIM V01, the printed circuit board in 3D

    PIM V01

    kpayinda/PIM_V01

    PIM PCB.

    260 parts
  • 2 layers180 × 110 mmISD1700 sampler main board, the printed circuit board in 3D

    ISD1700 sampler main board

    hiro-akihabara/OpnBeat

    OpnBeat is open source Lo-fi sampler project

    180 parts67GPL-3.0
  • 2 layers100 × 50 mmRc2014-ym2151, the printed circuit board in 3D

    Rc2014-ym2151

    electrified/rc2014-ym2151

    Yamaha's DX21, DX27 and DX100 synthesisers used a derivative IC which is very similar.

    33 parts9
  • 2 layers100 × 100 mmTiva board, the printed circuit board in 3D

    Tiva board

    pfrapp/reflow-oven

    DIY reflow oven for SMD soldering

    28 partsGPL-3.0
  • 4 layers203.2 × 88.9 mmStationConsole, the printed circuit board in 3D

    StationConsole

    SmittyHalibut/station-console

    A station console, to connect an operator, logger, and radio together.

    134 parts

Questions

How big is the RX8-7(WithoutOpAmps) PCB?

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

What parts does the RX8-7(WithoutOpAmps) use?

392 parts, built around the MCP2551-I/SN-HG, NJM4556AM, ESD9B5.0ST5G and PTS636 SKG25J SMTR LFS. 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 RX8-7(WithoutOpAmps) KiCad files?

From the bradport02/RX8-Infotainment_System repository on GitHub, at the commit this page was made from: the board is PCBs/RX8-7/RX8-7(WithoutOpAmps).kicad_pcb and its schematic PCBs/RX8-7/Audio3.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the RX8-7(WithoutOpAmps) design in my own project?

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