Init new era, with wiki integrated.

This commit is contained in:
2026-07-15 12:17:06 +02:00
commit 37f98a241f
67 changed files with 10396 additions and 0 deletions
@@ -0,0 +1,30 @@
---
type: concept
tags: [architecture, uart]
updated: 2026-07-15
---
# Dual-Controller Architecture
The system is two ESP32-S3 boards linked by UART (repo):
```
BMW M57N CAN bus ──▶ Controller A ──UART 5Hz──▶ Controller B
(this repo: (ESP32-S3-LCD-1.3,
5" 1024×600 display) 1.3" round display)
```
- **Controller A** — [[esp32-s3-touch-lcd-5b]]: listens to the CAN bus, renders the main UI, and re-broadcasts a compact sensor packet over UART1 (GPIO 43/44, 115200 baud) at 5 Hz.
- **Controller B** — ESP32-S3-Touch-LCD-1.3: a secondary display fed purely by that UART stream. Lives in a sibling repo (`bmw-patrol/` parent directory).
## UART packet (repo)
`0xAA` start · version · length · `automotive_data_t` (gear position, gear number, coolant/oil/gearbox temps, battery voltage, fault codes) · XOR checksum · `0x55` end. Full spec in the repo's UART protocol documentation (commit 49aaf06).
## Why it matters for the wiki
Any change to what data we extract from the [[can-bus-integration]] ripples into this packet **and** into Controller B's parser — both ends must move together.
## Related
[[esp32-s3-touch-lcd-5b]] · [[can-bus-integration]]