Files
ESP32-S3-Touch-LCD-5B/wiki/sources/launch-captures-2026-10-18-patrol-2.md
T
julian 1cba9f30bc
Firmware / build (push) Successful in 10m49s
Reverse lights on DO0, Sport + Vehicle screens, per-DDE live data, ECU identification
- ReverseLight: isolated output DO0 (CH422G OC0 -> PC817 -> NPN sink) drives the
  reverse-lamp relay while the lever is in R on a live bus with ignition on; 10 Hz
  decision confirmed over 200 ms, written through the panel library's expander
  object so the backlight cannot undo it; `reverse status|on|off|force` console,
  default ON (NVS `revlight_en`). Wiki page reverse-lights-output with the wiring.
- Sport screen: BMW-style power + torque gauges (lv_meter on a dial-face image,
  image needle); PNG sources in assets/, tools/png2lvgl.py converter.
- Vehicle: final drive ratio + tyre circumference -> road speed, hp from torque;
  Settings > Vehicle page; `vehicle` console.
- Bench simulation (`sim` console) overlays torque / rpm / shaft on the snapshot.
- EcuIdent: KWP 1A 86 / 1A 80 read once, stored in NVS, shown on Settings >
  Vehicle, passive ECU CHANGED? check; `ecu` console.
- Ignition fallback from the 0x1D2 lever byte on buses without 0x3B4 (Patrol 2).
- Engine data: per-DDE `2C 10` identifier profiles (Patrol 1 vs Patrol 2
  rail 00C2 / boost 003A / battery 002F); DiagProbe liveConfigure().
- Wiki: Patrol 2 captures, vehicles page, obd identifier table per DDE, logs.
2026-10-28 16:46:42 +01:00

35 lines
3.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
type: source
tags: [can-bus, capture, patrol-2, dde, launch, kwp2000, boost, battery, live-data]
updated: 2026-10-18
---
# Launch captures on Patrol 2 — charge-air pressure and battery identifiers (2026-10-18)
Two CANNY 5.3 Pico logs the user took on Patrol 2 (DDE 7794904 / 7796156, E65 donor, [[vehicles]]) with the Launch showing one live value each: `raw/charge-air-pressure.txt` (30.8 s, 5 930 frames, idle → one throttle blip to 2 553 rpm → key off) and `raw/battery.txt` (18.8 s, 10 232 frames, idle → engine stop). Same method as [[launch-captures-2026-10-07]] on Patrol 1. The Launch's values on its own screen were **not noted**, so the scalings below are Patrol 1's, checked only for physical plausibility.
## The Launch dialogue `(verified from the logs)`
Per cycle (~270 ms): `12 02 1A 80` → ident reply (flow control `12 30 00 00`), then **one** `12 04 2C 10 <id>` → `F1 04 6C 10 HH LL`. No define (`15 E0`), no session, no security, no negative responses — as on this car's rail capture ([[can-capture-2026-10-18-patrol-2]]).
| Launch screen | Identifier | Raw range | Scaled with Patrol 1's formula | Behaviour | Status |
|---|---|---|---|---|---|
| Charge-air pressure | **`003A`** | 8 071 – 9 487 | mbar = raw ÷ 8 → 1 009 – 1 186 | 1 018 mbar flat at 700 rpm idle; blip to 2 553 rpm (pedal 99 %) → peaks at 1 186 mbar 0.6 s after the rpm peak, decays to 1 021 mbar after key-off (ambient) | `(unverified scale)` — plausible: atmospheric at idle, +170 mbar on a free rev; Launch value not noted |
| Battery voltage | **`002F`** | 5 166 – 5 723 | V = raw × 0.002455 → 12.68 – 14.05 | 13.9 – 14.05 V at idle (alternator), drops with the engine stop (13.7 → 12.9 V within 0.6 s), then creeps down 12.86 → 12.68 V over 4 s key-on | `(unverified scale)` — plausible alternator / rest voltages; Launch value not noted |
Compare Patrol 1 (DDE 7796678): charge-air pressure `0091`, battery `0093`, rail `00DF` — **every identifier is different on this DDE** (rail is `00C2` here). The scalings, however, look identical, which fits the same measurement firmware family with a different variable map.
## Consequences `(repo, 2026-10-18)`
- Patrol 2's profile in `engine_screen.cpp` (`PROFILES[]`) now carries rail `00C2`, boost `003A`, battery `002F`; **charge-air temperature is still unmapped** on this car (one more Launch session: "charge-air temperature" / "intake air temperature").
- All three Patrol 2 values are tagged provisional on the screen until the user reads them next to the Launch (one point each would already confirm the scale).
## Also in these logs
- The output shaft: the user confirmed the Driveline's output speed is fine on Patrol 2 once rolling (the stationary logs had shown 0) — [[open-questions]] #15 closed on that point.
- Both logs show the `0x1D0` fuel-counter bytes advancing only with the engine running, as before.
## Related
[[obd-diagnostic-polling]] · [[vehicles]] · [[can-capture-2026-10-18-patrol-2]] · [[launch-captures-2026-10-07]] · [[launch-capture-2026-09-23]]