57 lines
2.9 KiB
Markdown
57 lines
2.9 KiB
Markdown
---
|
||
type: entity
|
||
tags: [hardware, waveshare, display]
|
||
updated: 2026-07-15
|
||
---
|
||
|
||
# Waveshare ESP32-S3-Touch-LCD-5B
|
||
|
||
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]].
|
||
|
||
## Specs (source: waveshare-wiki)
|
||
|
||
- 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)`
|
||
|
||
## Power (source: waveshare-wiki)
|
||
|
||
- **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]]
|
||
|
||
> [!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]]
|
||
|
||
## 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.
|
||
- 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]] · [[esp32-s3-touch-lcd-5b-waveshare-wiki]]
|