ESP32 Projects
Start a build
Markdown

Touch Deck

An ESP32 display project for Guition JC3248W535 involving Speaker, SD card.

Guition JC3248W535See upstream buildUnrated
Parts and source

Before you start

Check the exact Speaker, SD card configuration against the upstream wiring or parts list.

Upstream README

TouchDeck

A touch control deck for two boards: the Guition JC3248W535 (3.5") and the Waveshare ESP32-P4-WIFI6-Touch-LCD-7B (7"). Pages of tiles switch and read Home Assistant entities, show live PC stats from the TouchDeck Companion and follow Bambu Lab printers. Everything is set up from a web portal on the device. No cloud, no accounts: it talks to Home Assistant over its local WebSocket API and receives PC metrics over UDP on the LAN.

A personal project built around my own desk setup, shared as is. Expect features that only make sense for that setup, and rough edges.

Install from the browser: touchdeck.stolaris.dev flashes the latest release over USB from desktop Chrome or Edge, sets up WiFi in the same tab and walks through Home Assistant and the PC companion.

Full feature guide: GUIDE.md.

Hardware

Two boards are supported. Nothing to wire on either.

TouchDeck on the Guition JC3248W535 in its printed case TouchDeck on the Waveshare ESP32-P4 7B in its printed case

The 3.5" Guition deck next to the 7" Waveshare 7B

Optional: a single-colour status LED on a free GPIO (wiring), a vibration motor for tile taps and a microSD card for wallpapers and brand icons.

Community boards

Ported and tested by other users. I do not own these boards, so I cannot test them: they are not in the web flasher or the releases and are built from source.

  • Freenove FNK0104N: 3.5" 320x480 ESP32-S3 board with an ST77922 panel, ES8311 speaker and microSD. Ported by Samartcev166. Build, flash and known limits: GUIDE.

Screenshots

Short video of the deck in use: YouTube.

Captured from the device (/screen.bmp), Glass theme unless noted.

Main page: Home Assistant switches, media, PC volume, CPU chart and sensors PC stats: CPU and GPU charts, RAM, temperatures, power and fans
Home Assistant tiles, media and PC volume PC stats from the companion
Main page in the Midnight theme Main page in the Daylight theme
Midnight theme Daylight theme
Bambu Lab printer page during a print AMS units with humidity, temperature and spools
Bambu Lab printer page AMS units and all slots
Home lab page: Proxmox and pfSense from Home Assistant Quick panel with brightness and link status
Home lab: Proxmox and pfSense Quick panel

Animations

Recorded frame by frame from the display. Pick a set under Appearance > Animations (Classic, Calm, Water, Glass, Heavy, or Custom to choose each effect).

Calm: ripple on touch, glow when a tile turns on, crossfade between pages, card growing out of its tile Water: drop rings, the on colour flooding out of the finger, a water edge between pages
Calm Water
Glass: highlight under the finger, glossy sheen, pages sliding in depth, card rising like a glass sheet Heavy: the tile bending like water, aurora colours, pages changing column by column
Glass Heavy
Photo frame: the tiles step aside for a full screen picture and a clock, a tap brings them back Bambu Lab printer: nozzles and bed heating, a turning spool and a filament change
Photo frame Printer animations

What it does

  • Pages of tiles up to 6x4 (8x6 on the 7B), sized in half-cell steps, stacked into columns: swipe sideways between columns, up and down within one. More
  • Home Assistant: switches, sliders, scenes and scripts, sensors with history charts and warning thresholds, a detail card on long press. Material Design Icons, plus optional brand icons.
  • PC stats and control from the TouchDeck Companion (Windows, Linux): metric tiles, media keys, volume, now playing, hotkeys, sleep and shut down.
  • Bambu Lab printers: up to two, over the LAN or through Home Assistant, with printer and AMS pages. More
  • Weather: now and the next days or hours with animated icons, from Open-Meteo without an account. More
  • HTTP buttons and sensors for LAN devices without Home Assistant (Tasmota, Node-RED, your own projects). Buttons, sensors
  • Conditional tiles and pages: shown only while a PC is on or off, or while an entity is in a state; sub-pages that only a Go to page tile opens. More
  • Themes: Midnight, Daylight and Glass over built-in wallpapers, your own pictures or daily Windows Spotlight ones, per-tile colours and icon styles. Wallpapers
  • Screen sleep on Home Assistant presence, night schedules for the backlight and the status LED. More
  • MQTT discovery: the deck shows up in Home Assistant with its screen, page, night mode and messages. More
  • Notifications from Home Assistant or a script: a banner over the live page or the full screen with a big icon, over HTTP or MQTT. More
  • AI agent (Waveshare 7B): tap a tile and talk to Home Assistant Assist or your own xiaozhi voice server through the deck's microphones. More
  • Rotary encoders (Waveshare 7B): up to two knobs for lights, media, PC volume and thermostats. More
  • Edit on the device: long press an empty spot to move, resize, add or remove tiles. A quick panel from the top edge has brightness, volume, night mode and link status. A PIN can lock the portal, changes on the screen and single tiles.

Getting started

  1. Flash from touchdeck.stolaris.dev, or see Flashing without the web flasher.
  2. Set up WiFi over USB in the same tab, or join the deck's TouchDeck-XXXX network (password touchdeck1234, setup page at http://192.168.4.1).
  3. Open the device IP, connect Home Assistant and build your pages.

Updating a deck that already runs TouchDeck: upload TouchDeck-<version>-ota.bin from Releases in Maintenance > Firmware update. Building from source: GUIDE.md.

Credits

Built on LVGL, ArduinoJson, arduinoWebSockets, GFX Library for Arduino (AXS15231B init table), Improv WiFi (vendored under lib/ImprovWiFi), the Opus codec through codec-opus Espressif's ES7210 driver (vendored under lib/es7210) and Pololu's VL53L0X library for the optional proximity sensor. Fonts: Montserrat (SIL OFL 1.1) with the LVGL symbol set (Font Awesome Free); icons: Material Design Icons, installed on the device by the user. Weather data by Open-Meteo (CC BY 4.0).

License

MIT, see LICENSE. The vendored Improv WiFi library keeps its own MIT license in lib/ImprovWiFi/LICENSE. The Opus codec (BSD-3-Clause) and the ES7210 driver (Espressif MIT) are built into the 7B firmware, the VL53L0X library (MIT, with ST code under BSD-3-Clause) into every firmware; their notices are in THIRD-PARTY-NOTICES.md.