Retire SquareLine: hand-coded gauge screen (oil quadrant dropped), LVGL lock, updates on change only; LVGL pool in PSRAM, millis tick, log off; 16 MB flash + OTA partitions; docs and wiki
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
type: entity
|
||||
tags: [hardware, waveshare, display, gpio]
|
||||
updated: 2026-09-21
|
||||
updated: 2026-09-27
|
||||
---
|
||||
|
||||
# Waveshare ESP32-S3-LCD-1.3
|
||||
@@ -67,6 +67,7 @@ Net: **10 clean, unconstrained GPIOs** (IO4, IO5, IO7–IO14) plus IO2 and IO3 w
|
||||
## Firmware-side facts worth knowing (repo)
|
||||
|
||||
- Display driven by LovyanGFX 1.1 + LVGL 8.4.0, 80 MHz SPI write; LVGL task on Core 1, UART receiver on Core 0
|
||||
- **2026-09-27**: SquareLine Studio retired (as on A) - the one screen is hand-coded, built once, updated only on value change under a new LVGL lock; engine-oil quadrant dropped; LVGL's pool moved to PSRAM (128 KB); flash declared 16 MB with two OTA slots (`default_16MB.csv`) for a future update path; LVGL logging off, tick from `millis()`
|
||||
- Warning thresholds baked in: coolant 110 °C, engine oil 130 °C, gearbox oil 130 °C, battery below 11.0 V
|
||||
- Link considered lost after 1000 ms without a valid packet → [[controller-link]]
|
||||
- Original implementation guide proposed the link on GPIO 43/44, which would have collided with the CH343 console; the shipped firmware moved it to IO1 `(repo)`
|
||||
|
||||
@@ -20,7 +20,7 @@ The research frontier for Controller B. Answering any of these should trigger up
|
||||
6. **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]]
|
||||
7. **Temp gauge °C → duty curve — partly answered.** The user's old CANNY program gives `duty = 1.5·T + 50` on 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]].
|
||||
13. **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]]
|
||||
8. **Does `engine_oil_temp` stay 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.
|
||||
8. ~~**Does `engine_oil_temp` stay in the packet?**~~ **Answered 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.
|
||||
|
||||
## Hardware
|
||||
|
||||
|
||||
Reference in New Issue
Block a user