3613387d41
- New wiki/ (Obsidian vault) following the LLM Wiki pattern: schema, index, log, entity page for the board, concept pages for the A->B link, wired+wireless redundancy, and Patrol gauge outputs, open questions, two sources - New CLAUDE.md distilled from the surviving .docs content: verified pins, brightness/receiver/debug APIs, SquareLine rules, CH343 serial notes, gear-enum drift warning, Waveshare demo and schematic URLs - Delete .docs/ (14 files): stale pin-hunting and troubleshooting guides, wrong header table, finished phase roadmap, duplicate UART spec (now in the 5B repo at docs/UART_PROTOCOL.md) - README.md repointed to CLAUDE.md and wiki/ Co-Authored-By: Claude <noreply@anthropic.com>
4.2 KiB
4.2 KiB
type, tags, updated
| type | tags | updated | ||
|---|---|---|---|---|
| synthesis |
|
2026-09-21 |
Open Questions
The research frontier for Controller B. Answering any of these should trigger updates across the wiki. Ordered roughly by how much they block progress.
Blocking
- How is the wired link physically connected today? The 5B's GPIO 44 only leaves the board as an RS485 A/B pair through an SP3485, yet both wiring guides describe a direct TTL wire into IO1. Is the RS485 A line going straight into IO1, is there an RS485→TTL module on B, or is it soldered to the module? Decides whether the wired leg is trustworthy in the car and what link-redundancy has to cover. → controller-link
- Which
gear_position_tenum is correct? A's and B's protocol headers disagree on values 4–13 (Sport/Manual vs M1–M6). Check what A's CAN parser emits, fix the other side, bumpPACKET_VERSION. → controller-link - Which Nissan Patrol cluster, and what does its tach input expect (signal source, pulses per rev, pull-up voltage)? Fixes the frequency range for the tachometer output. → patrol-gauge-outputs
Active
- Add
engine_rpmto the packet. A has RPM verified from CAN 0x0AA(sibling: 5B wiki → can-id-candidates)but the protocol carries no RPM field. Needed before the tachometer can be driven. → controller-link - BLE GATT or ESP-NOW for the wireless leg? Benchmark reconnect time, latency and RAM cost on A (whose Core 0 already runs Wi-Fi + CAN + UART). → link-redundancy
- Gauge behaviour on link loss — zero, hold + warn, or sweep to a "no data" mark? A safety/UX decision the user must make. → link-redundancy
- Temp sender resistance curve as seen by the gauge, for the °C → duty lookup. → patrol-gauge-outputs
- Does
engine_oil_tempstay in the packet? Its CAN source reads 0xFF on this engine (sensor not fitted). B currently reserves screen space and a warning threshold for it(repo). Drop it, or repurpose the slot.
Hardware
- Operating temperature and power draw are not on Waveshare's product wiki for this board
(source: waveshare-wiki-esp32-s3-lcd-1-3). The 5B's spec is 0–65 °C; assume similar until a datasheet says otherwise. Dashboard mounting in a Patrol will see both extremes. - Vehicle power for B. The board takes 5 V USB or a LiPo — no wide-input regulator like the 5B has. Needs an automotive 12 V → 5 V buck with transient protection, or a 5 V feed from A
(unverified). - IMU and TF-card GPIOs are not stated on the product wiki. Irrelevant unless a future feature wants them, but they might share pins with the header (unlikely — the header GPIOs are IO1–5, IO7–14).
- Is IO3 safe to use as an output? It is a strapping pin on the S3; avoided for now.
Answered
Does the 1.3 have free PWM-capable GPIO?→ Yes, 13 on the headers (IO1–5, IO7–14), 10 fully free today. (verified from pinout photo, 2026-09-21) → esp32-s3-lcd-1-3Could the 5B drive the gauges itself?→ No. All native GPIO consumed; its DO terminals go through an I2C expander + optocoupler and cannot carry hardware PWM. (schematic reviewed 2026-09-21) → patrol-gauge-outputsWhich GPIO does A transmit on?→ GPIO 44 per A's firmware; the "43" in two docs is stale.(repo)→ controller-linkIs the header IO35–IO42 as the wiring guide says?→ No, that table is wrong; see the photo. (verified, 2026-09-21)
Sourcing wishlist
- Waveshare schematic PDF for ESP32-S3-LCD-1.3 (
https://files.waveshare.com/wiki/ESP32-S3-LCD-1.3/ESP32S3_1.3inch.pdf; demo code ziphttps://files.waveshare.com/wiki/ESP32-S3-LCD-1.3/ESP32-S3-LCD-1.3-Demo.zip) — would settle the IMU/TF pins, confirm the CH343 on UART0, and show the backlight and battery circuits - A verbatim Obsidian web clip of the Waveshare product wiki into
raw/(the current source page is from a condensed fetch, not a full clip) - Nissan Patrol cluster wiring diagram for the target generation — tach input and temp sender pins
- Scope capture of the original Patrol tach signal at idle and a known RPM, if the original engine's cluster wiring still exists
- Datasheet or Waveshare note on the board's operating temperature range