Files
ESP32-S3-LCD-1.3/wiki/index.md
T
julian 5fe313b7fa Link protocol v2 receiver, ESP-NOW leg, Patrol gauge outputs, gear pulse
- protocol header v2 copied byte-identical from the 5B repo
- uart_receiver: processFrame() shared by the UART framing task and ESP-NOW,
  version check, dedupe on packet_id+timestamp, per-transport liveness,
  CONFIG cache with sequence number
- espnow_receiver: STA mode, channel hopping while silent, locks on frames
- gauge_outputs: tach on IO7 (LEDC ch2, 14-bit), coolant PWM on IO8 (LEDC
  ch4, 8-bit), config cached in NVS, overrides applied but not saved
- main: gear label from lever + engaged/target (pulses while shifting, red on
  mismatch), icons driven by A's alert bits, gauge update at 5 Hz, link stats
- wiki: temp_stage.cfd (user's old CANNY program) decoded as prior art;
  controller-link, link-redundancy, patrol-gauge-outputs, open-questions
  updated with the bench-verified v2 results and calibration procedure

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-21 19:12:38 +02:00

29 lines
2.3 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: index
updated: 2026-09-21
---
# Index
Catalog of every page in the wiki. Read this first when answering questions. Keep current on every change. For CAN decoding, the BMW engine and the vehicle swap, read the sibling wiki at `../../ESP32-S3-Touch-LCD-5B/wiki/index.md` instead of duplicating here.
## Entities
- [[esp32-s3-lcd-1-3]] — Waveshare 1.3" round-display board (Controller B): specs, the **verified 16-pin header pinout** (IO1–5, IO7–14 all free-function), GPIO budget (10 clean spares), CH343 console on UART0, BLE 5
## Concepts
- [[controller-link]] — the A → B link, **protocol v2 (verified 2026-09-21)**: typed DATA/CONFIG frames on UART1 **and** ESP-NOW with dedupe, split gear fields, rpm, A-side alerts; pins (A TX = GPIO 44 → 485_A → B IO1 on the bench); the RS485-in-the-car question; v1 and the old enum drift kept for the record
- [[link-redundancy]] — wired + wireless redundancy: **ESP-NOW leg built and bench-verified** (both paths carry every frame, B dedupes and hops channels); RS485 for the car and BLE still open; failover policy notes
- [[patrol-gauge-outputs]] — Patrol tachometer (IO7, 14-bit LEDC, 4 ppr) and coolant gauge (IO8, 8-bit PWM, CANNY duty law) **outputs implemented and bench-verified**; tunables on A via `cfg` console; prior art from the CANNY program; driver stage and needle calibration still to do
## Synthesis
- [[open-questions]] — the research frontier: will the bare A-line wire survive the car, which Patrol cluster / tach pull-up, temp needle calibration + CANNY PWM clock, gauge behaviour on link loss, pull-the-wire failover test, BLE or not, vehicle power, environmental specs
## Sources
- [[waveshare-wiki-esp32-s3-lcd-1-3]] — Waveshare product wiki (condensed fetch 2026-09-21, not a verbatim clip); core spec, CH343, PL4054/ME6217 power, BLE 5; silent on pins and environmental limits
- [[pinout-photo-details-7]] — Waveshare annotated header photo (`raw/ESP32-S3-LCD-1.3-details-7.jpg`); the authoritative pinout, contradicts the repo's wiring guide
- [[temp-stage-cfd]] — **the user's earlier CannyLab program** for the same temp gauge (`raw/temp_stage.cfd`, decoded 2026-09-21): CAN 0x1D0 byte 0 − 48, **duty = 1.5·T + 50 on 0–255**, enable gate; PWM frequency and external circuit not in the file