![[CAN_Lab.jpeg]]
After working on many different module and can networks, cabling and module power can start to get quite messy, drawing inspiration from commercial solutions that are in the range of "If you have to ask for pricing you can't afford it" territory, i settled on creating at 10" mini rack that would house the following parts.
1. ESP32 board with two MCP2515 controllers (This fills in the missing modules messages and fuel sim) this is based off the CarCluster project (Link)
2. Power section (HP server PSU) and switches, fused
3. DB9 connection breakouts on each of the CAN sections
4. PQ Cluster (With OEM connectors) easy to swap clusters
5. PQ gateway, this joins the busses and provides a OBD connection to the rest of the setup
6. USB Hub, connects the ESP32, and allows for a patch panel syle hookup with my can tool to any of the DB9 connections.
The firmware on the ESP32 started off as a fork of the CarCluster project, but now has evolved into a custom framework that allows messages to be built via a base message and factory, this has a dynamtic schedular and registation engine. It also has a global virtual car state producer that is a single source for things like RPM, so if many CAN messages