-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
- Node.js 20 or newer
- npm
- PlatformIO for firmware build and flash
- A supported ESP32 and SPI display
-
ffmpegonly when using video mode
git clone git@github.com:Sany18/TinyPanel-Studio.git
cd TinyPanel-Studio
npm ci
npm startnpm start builds the local CodeMirror browser bundle, starts the display
server on TCP 8765, and starts Device Studio on HTTP 8766.
Open:
http://localhost:8766
If startup reports EADDRINUSE, another TinyPanel process already owns the
port. Stop that process before starting a second server.
- Open Hardware Setup in Studio.
- Select the controller, display, and SPI bus.
- Set display dimensions, rotation, color order, SPI frequency, and pins.
- Enter Wi-Fi credentials.
- Save the profile.
Studio stores the validated profile in
firmware/display-client/hardware.json and generates
firmware/display-client/hardware_config.h. Wi-Fi credentials are written to
the gitignored secrets.h.
Use the Firmware tab in Studio and select Build or Flash ESP32. Serial Monitor is stopped automatically before flashing so both operations do not compete for the USB port.
The equivalent command-line workflow is:
cd firmware/display-client
pio run -e esp32-c3-super-mini -t uploadThe exact PlatformIO environment follows the selected hardware profile.
The ESP32 connects outward to the host display server. The firmware must know the host LAN address and TCP port, and both devices must be reachable on the same network. When connected, Studio lists the device by address and begins showing the exact transported frame.
Choose an app in the left-side App Library. The active app is persisted in the
gitignored apps/.active-app file and switches without restarting the server
or reconnecting the ESP32.
npm run start:canvas
npm run start:synthwave
npm run start:html
npm run start:videoCanvas is the normal Studio mode. Synthwave and HTML are compatibility/legacy
paths. Video mode accepts DISPLAY_VIDEO_SOURCE; without it, ffmpeg generates
a test pattern.