wiki: Ingest Waveshare LCD-5B product page; resolve CAN transceiver and power questions
This commit is contained in:
+3
-3
@@ -10,7 +10,7 @@ Catalog of every page in the wiki. Read this first when answering questions. Kee
|
||||
## Entities
|
||||
|
||||
- [[bmw-m57n-engine]] — the 3.0L BMW diesel whose CAN bus we read; DDE ECU, donor-vehicle unknown, candidate CAN IDs listed (all unverified)
|
||||
- [[esp32-s3-touch-lcd-5b]] — Waveshare 5" display board (Controller A); pinout, PSRAM/LCD gotchas, hardware open questions
|
||||
- [[esp32-s3-touch-lcd-5b]] — Waveshare 5" display board (Controller A); onboard TJA1051 CAN transceiver, 7–36 V input, pinout, PSRAM/LCD gotchas
|
||||
|
||||
## Concepts
|
||||
|
||||
@@ -19,8 +19,8 @@ Catalog of every page in the wiki. Read this first when answering questions. Kee
|
||||
|
||||
## Synthesis
|
||||
|
||||
- [[open-questions]] — the research frontier: real CAN IDs, donor vehicle, EGS presence, transceiver, power, fault codes
|
||||
- [[open-questions]] — the research frontier: real CAN IDs, donor vehicle, EGS presence, operating temp, transient protection, fault codes
|
||||
|
||||
## Sources
|
||||
|
||||
*(none ingested yet — `raw/ESP32-S3-Touch-LCD-5B.md` exists but is empty; re-clip needed)*
|
||||
- [[esp32-s3-touch-lcd-5b-waveshare-wiki]] — official Waveshare product wiki (ingested 2026-07-15); answered CAN-transceiver and power questions, raised the 0–65 °C operating-temp concern
|
||||
|
||||
@@ -5,3 +5,7 @@ Append-only. `grep "^## \[" log.md | tail -5` for recent activity.
|
||||
## [2026-07-15] setup | Wiki instantiated
|
||||
|
||||
Created schema (`CLAUDE.md`), `index.md`, `log.md`, and five seed pages built from repo knowledge: [[bmw-m57n-engine]], [[esp32-s3-touch-lcd-5b]], [[can-bus-integration]], [[dual-controller-architecture]], [[open-questions]]. Deleted Obsidian's default `Welcome.md`. Flagged: the firmware's CAN ID map looks like placeholders (two IDs exceed 11-bit range); `raw/ESP32-S3-Touch-LCD-5B.md` is an empty clip and needs re-clipping.
|
||||
|
||||
## [2026-07-15] ingest | Waveshare ESP32-S3-Touch-LCD-5 product wiki
|
||||
|
||||
Re-clipped `raw/ESP32-S3-Touch-LCD-5B.md` ingested → [[esp32-s3-touch-lcd-5b-waveshare-wiki]]. Answered two open questions: CAN transceiver is onboard (TJA1051T/3/1J, terminal block, 120 Ω termination switch off by default) and power is solved by the 7–36 V DC wide input (vehicle 12 V direct). New concern raised: operating temp spec is 0–65 °C, marginal for automotive. Updated [[esp32-s3-touch-lcd-5b]] and [[open-questions]]; added schematic PDF to sourcing wishlist.
|
||||
|
||||
@@ -6,36 +6,51 @@ updated: 2026-07-15
|
||||
|
||||
# Waveshare ESP32-S3-Touch-LCD-5B
|
||||
|
||||
Controller A of the [[dual-controller-architecture]] — the main in-cabin display.
|
||||
Controller A of the [[dual-controller-architecture]] — the main in-cabin display. SKU 28151, the 1024×600 capacitive-touch variant of the LCD-5 family. Primary reference: [[esp32-s3-touch-lcd-5b-waveshare-wiki]].
|
||||
|
||||
> [!note]
|
||||
> The raw source `raw/ESP32-S3-Touch-LCD-5B.md` (presumably a clip of the Waveshare product page) is currently **empty** — re-clip it and ingest to flesh this page out with official specs.
|
||||
## Specs (source: waveshare-wiki)
|
||||
|
||||
## Specs (repo)
|
||||
- ESP32-S3-WROOM-1-N16R8 module: dual-core LX7 @ 240 MHz, 16 MB flash, 8 MB OPI PSRAM
|
||||
- 5" IPS 1024×600, 65K colors (16-bit), 550 cd/m², GT911 5-point capacitive touch, tempered glass
|
||||
- 2.4 GHz Wi-Fi + BLE 5, onboard antenna (keep metal away from antenna area)
|
||||
- Runs LVGL 8.4.0 at ~50 FPS via ESP32_Display_Panel v1.0.4 `(repo)`
|
||||
|
||||
- ESP32-S3 dual-core @ 240 MHz, 16 MB flash, 8 MB **OPI** PSRAM
|
||||
- 5-inch 1024×600 RGB LCD (RGB888 parallel interface), capacitive touch
|
||||
- Runs LVGL 8.4.0 at ~50 FPS via ESP32_Display_Panel v1.0.4
|
||||
## Power (source: waveshare-wiki)
|
||||
|
||||
## Pin usage in this project (repo)
|
||||
- **7–36 V DC wide-input terminal** — vehicle 12 V feeds it directly, no external regulator needed. ✅ resolves most of the power question
|
||||
- Alternative inputs: USB Type-C 5 V; optional single-cell 3.7 V LiPo (CS8501 charge/boost, 580 mA)
|
||||
- Draw: ~450 mA @ 5 V (~2.3 W)
|
||||
- Remaining caveat: automotive transient/load-dump spikes (ISO 7637) can exceed 36 V `(unverified)` → [[open-questions]]
|
||||
|
||||
| Function | Pins | Notes |
|
||||
|----------|------|-------|
|
||||
| CAN (TWAI) | GPIO 15 TX / GPIO 16 RX | 500 kbps, LISTEN_ONLY; external transceiver required — which one? → [[open-questions]] |
|
||||
| UART1 → Controller B | GPIO 43 TX / GPIO 44 RX | 115200 baud, exposed on the board's RS485 terminal block |
|
||||
| USB Serial | UART0 | debug @ 115200 |
|
||||
> [!warning] Operating temperature 0–65 °C (source: waveshare-wiki)
|
||||
> Tight for a car: sub-zero winters and sun-baked dashboards both fall outside spec. → [[open-questions]]
|
||||
|
||||
## Hard-won hardware lessons (repo)
|
||||
## CAN interface (source: waveshare-wiki)
|
||||
|
||||
- **Onboard TJA1051T/3/1J transceiver**, CAN 2.0, on a 3.5 mm terminal block — wire CAN-H/L straight in. ✅ resolves the transceiver question
|
||||
- **120 Ω termination switch, OFF by default — leave it off** when tapping an existing vehicle bus (the bus is already terminated at both ends).
|
||||
- Firmware drives it via TWAI on GPIO 15 TX / 16 RX, 500 kbps, LISTEN_ONLY `(repo)`.
|
||||
|
||||
## Other interfaces
|
||||
|
||||
| Interface | Details |
|
||||
|-----------|---------|
|
||||
| RS485 | SP3485, auto TX/RX direction; terminal block used for UART1 → Controller B, GPIO 43/44, 115200 baud `(repo)` |
|
||||
| Isolated I/O | Optocoupler digital in 5–36 V (dry/wet contact), open-drain out sinking 450 mA/ch — could read ignition-on or drive a relay later |
|
||||
| I2C | External header; CH422G expander occupies 0x20–0x27 & 0x30–0x3F, GT911 touch at 0x5D — avoid these addresses |
|
||||
| RTC | PCF85063 + CR927 coin cell |
|
||||
| TF card | SD_CS driven via CH422G EXIO4 |
|
||||
| USB Serial | UART0, debug @ 115200 `(repo)` |
|
||||
|
||||
Note: the screen occupies most GPIOs; auxiliary functions (backlight, reset, SD_CS) route through the CH422G IO expander — spare native GPIOs are scarce.
|
||||
|
||||
## Hard-won firmware lessons (repo)
|
||||
|
||||
- 8MB OPI PSRAM demands `qio_opi` memory type + custom board JSON — wrong setting causes screen flicker/drift.
|
||||
- LCD wants a 16 MHz pixel clock with correct PCLK polarity.
|
||||
- Backlight must be manually sequenced at boot to avoid a white flash.
|
||||
|
||||
## Open hardware questions
|
||||
|
||||
- Automotive power: the board wants 5 V; a vehicle supplies 9–16 V with load-dump transients. What regulator/protection is planned? → [[open-questions]]
|
||||
- CAN transceiver part and wiring (the TWAI peripheral is only the controller — GPIO 15/16 are logic-level).
|
||||
- Flashing: use the Type-C port labeled UART; hold BOOT while connecting if the port isn't recognized (source: waveshare-wiki).
|
||||
|
||||
## Related
|
||||
|
||||
[[dual-controller-architecture]] · [[can-bus-integration]]
|
||||
[[dual-controller-architecture]] · [[can-bus-integration]] · [[esp32-s3-touch-lcd-5b-waveshare-wiki]]
|
||||
|
||||
@@ -21,12 +21,18 @@ The research frontier. Answering any of these should trigger updates across the
|
||||
|
||||
## Hardware
|
||||
|
||||
6. **CAN transceiver**: which part (SN65HVD230? TJA1050?) and how is it wired to GPIO 15/16? → [[esp32-s3-touch-lcd-5b]]
|
||||
7. **Automotive power supply**: 12 V vehicle → 5 V board conversion, transient/load-dump protection, ignition-switched vs constant power.
|
||||
6. **Operating temperature 0–65 °C** (source: waveshare-wiki) — outside automotive norms at both ends (sub-zero winter cabins, sun-baked dashboards). Is the mounting location temperature-controlled enough? Any mitigation (mounting away from vents/sun, accepting reduced lifespan)?
|
||||
7. **Transient protection on the 7–36 V input**: the board takes vehicle 12 V directly, but ISO 7637 load-dump spikes can exceed 36 V `(unverified)`. Consider an upstream TVS diode / automotive-rated buck. Also: ignition-switched vs constant power (the isolated digital input could sense ignition).
|
||||
8. **Fault codes**: the UART packet reserves a field for fault codes — DDE fault codes are read via diagnostic protocols (KWP2000/UDS over K-line or CAN), not passively broadcast. Is passive reading even possible? `(unverified)`
|
||||
|
||||
## Answered
|
||||
|
||||
- ~~CAN transceiver?~~ → **Onboard TJA1051T/3/1J** on a terminal block; leave the 120 Ω termination switch OFF when tapping the vehicle bus. (source: waveshare-wiki, 2026-07-15) → [[esp32-s3-touch-lcd-5b]]
|
||||
- ~~12 V → 5 V power conversion?~~ → **Not needed**: board has a 7–36 V DC wide input. Residual transient concern moved to #7. (source: waveshare-wiki, 2026-07-15)
|
||||
|
||||
## Sourcing wishlist
|
||||
|
||||
- Waveshare ESP32-S3-Touch-LCD-5B product page + schematic (the current raw clip is empty — re-clip it)
|
||||
- ~~Waveshare product page~~ ✅ ingested → [[esp32-s3-touch-lcd-5b-waveshare-wiki]]
|
||||
- Waveshare **schematic PDF** (linked from the product page: `ESP32-S3-Touch-LCD-5-Sch.pdf`) — would confirm CAN GPIO routing and power path
|
||||
- A community DBC / CAN-ID list for the donor platform
|
||||
- A real candump log from the engine running
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
---
|
||||
type: source
|
||||
tags: [hardware, waveshare, can-bus, power]
|
||||
updated: 2026-07-15
|
||||
raw: "[[raw/ESP32-S3-Touch-LCD-5B]]"
|
||||
origin: Waveshare wiki, ESP32-S3-Touch-LCD-5 family product page
|
||||
---
|
||||
|
||||
# Source: Waveshare ESP32-S3-Touch-LCD-5 Product Wiki
|
||||
|
||||
Official product documentation for the ESP32-S3-Touch-LCD-5 family. Covers four SKUs; ours is **28151 (ESP32-S3-Touch-LCD-5B)** — the touch version. All facts below are `(source: waveshare-wiki)`.
|
||||
|
||||
## Key facts
|
||||
|
||||
**Power — big one for this project:**
|
||||
- Two supply options: USB Type-C 5 V, or a **7–36 V DC wide-input terminal** — vehicle 12 V can feed the board directly, no external regulator needed.
|
||||
- Consumption: ~450 mA @ 5 V (~2.3 W).
|
||||
- Optional 3.7 V single-cell LiPo (MX1.25 connector, CS8501 boost/charge chip, 580 mA charge current, battery connect switch).
|
||||
|
||||
**CAN — answers our transceiver question:**
|
||||
- Onboard CAN interface, CAN 2.0 compliant, brought out on a 3.5 mm terminal block.
|
||||
- Transceiver chip: **TJA1051T/3/1J** (NXP, high-speed CAN) — no external transceiver needed; wire CAN-H/CAN-L straight to the terminal block.
|
||||
- **120 Ω termination resistor switch, OFF by default** — correct setting for tapping into an existing, already-terminated vehicle bus; leave it off.
|
||||
|
||||
**Other onboard peripherals:**
|
||||
- RS485 via SP3485, automatic TX/RX direction switching (this is the terminal block the firmware uses for UART1 → Controller B `(repo)`).
|
||||
- Optocoupler-isolated digital I/O: inputs 5–36 V (dry/wet contact, NPN or PNP), open-drain outputs sinking up to 450 mA/channel.
|
||||
- PCF85063 RTC with CR927 coin-cell holder.
|
||||
- TF card slot (SD_CS must be driven via CH422G EXIO4).
|
||||
- **CH422G I2C IO expander** — the screen eats most GPIOs, so reset/backlight/etc. go through it. Occupied I2C addresses: 0x20–0x27 and 0x30–0x3F (CH422G), 0x5D (GT911 touch). Avoid conflicts when adding I2C devices.
|
||||
- SGM2212-3.3 LDO (800 mA), AP3032 backlight boost.
|
||||
|
||||
**Display:** 5" IPS, 1024×600 (5B) or 800×480 (5), 65K colors (16-bit), 550 cd/m², 160° viewing angle, GT911 5-point capacitive touch, tempered glass.
|
||||
|
||||
**Operational notes:**
|
||||
- Flashing: Type-C port labeled UART, auto-download circuit; hold BOOT while connecting if the port isn't recognized.
|
||||
- Keep metal/plastic away from the PCB antenna area.
|
||||
|
||||
> [!warning] Operating temperature: 0 °C to 65 °C
|
||||
> Marginal for automotive use — an interior can drop well below 0 °C in winter and a dash in direct sun can exceed 65 °C. Filed under [[open-questions]].
|
||||
|
||||
## Relevance
|
||||
|
||||
Resolved open questions #6 (CAN transceiver — onboard TJA1051) and largely #7 (power — 7–36 V input takes vehicle 12 V directly; transient protection still worth a look). Raised a new one: operating temperature range. Updated: [[esp32-s3-touch-lcd-5b]], [[open-questions]].
|
||||
Reference in New Issue
Block a user