6.0 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
- Will the bare
485_A→ IO1 link survive the car? On the bench it works (verified 2026-09-21) because the SP3485's 4.7 kΩ bias holds A high when unterminated. Over a car-length harness with noise and possible termination it may not. Decide: RS485 module on B, or rely on the wireless leg → link-redundancy, controller-link - Which Nissan Patrol cluster, and what does its tach input expect (signal source, pull-up voltage)? Pulses per rev stated by the user as 4 (2026-09-21), unverified on the bench. Fixes the frequency range for the tachometer output. → patrol-gauge-outputs
Active
-
Is ESP-NOW enough, or is BLE still wanted? ESP-NOW is built and works on the bench. Open: behaviour when A joins a Wi-Fi AP (channel follows the AP; B hops — untested), range in the car, and whether BLE's disconnect event is worth its RAM. → link-redundancy 5b. Pull-the-wire test. Both transports carry every frame on the desk; physically removing the UART wire (and separately blocking the radio) to confirm seamless failover has not been done. → 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 gauge °C → duty curve — partly answered. The user's old CANNY program gives
duty = 1.5·T + 50on 0–255 (temp-stage-cfd). Still needed: the old circuit's series resistor / driver and PWM frequency, and a needle check with the new MOSFET stage. Measurement procedure is on patrol-gauge-outputs. -
CANNY 5.3 pico details: what is the HR PWM base clock (period 255 = what frequency), and what sat between the CANNY pin and the gauge wire? The user may still have the unit and harness. → temp-stage-cfd
-
DoesAnswered 2026-09-27 (user): dropped from the screen. The field stays in the packet (protocol v2 unchanged, never valid on this engine), but B's hand-coded screen no longer has an oil quadrant - the battery cell sits alone at the bottom.engine_oil_tempstay in the packet? -
OTA for Controller B — answered 2026-09-27 → controller-b-ota: implemented and verified end-to-end on the bench (pair over the wire, automatic credential handoff,
link ota check/installfrom A, Bdev→v0.1.0, reboot, self-confirm). Left to eyeball: the Controller B card on A's Updates page and B's on-screen progress line during the next update; the bench wire wants a proper GND (checksum-error bursts with hub-only ground).
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
-
Which→ Moot: protocol v2 (2026-09-21) sends lever + target/engaged nibbles; header copied byte-identical to B. → controller-linkgear_position_tenum is correct? -
Add→ Done in v2 (2026-09-21),engine_rpmto the packet.valid_flagsbit 6. → controller-link -
BLE GATT or ESP-NOW for the wireless leg?→ ESP-NOW first, implemented and bench-verified 2026-09-21; BLE stays optional (#5). → link-redundancy -
Where do the gauge tunables live?→ On A (Tunables, NVS,cfgconsole), pushed to B in CONFIG frames, cached on B (verified 2026-09-21). → patrol-gauge-outputs -
How is the wired link physically connected today?→ Bare485_Astraight into IO1, common GND, no transceiver on B. Bench-verified 2026-09-21: 0 errors at 5 Hz. Works because of the 5B's SP3485 bias resistors; bench-only until proven in the car (now #1). → controller-link -
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-3 -
Could 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-outputs -
Which GPIO does A transmit on?→ GPIO 44 per A's firmware; the "43" in two docs is stale.(repo)→ controller-link -
Is 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
- CANNY 5.3 pico datasheet / CannyLab HR PWM documentation (PWM clock, output stage), or a scope trace of the old unit's output