A mini TV on ESP32: live METR TV in a retro case

I built a tiny TV that plays the live METR channel over Wi-Fi, with picture and sound. Inside: an ESP32-S3-Zero, a 1.69" 240×280 IPS screen and a MAX98357A amp with a 28 mm speaker. The case is a 3D-printed retro TV with a handle, a button and a speaker grill.
How it works
- A relay on the server turns the broadcast into two light streams: MJPEG video at 280×158 and ~12 fps, plus MP3 audio at 48 kbps.
- The ESP32 keeps a ~7 second buffer in PSRAM: one core decodes JPEG, the other pushes frames to the screen over SPI.
- Picture and sound stay in sync: every frame and audio chunk is time-stamped. If anything drifts or stalls, the TV resets its buffer and is back on air in seconds.
- When the signal drops you get snow and hiss, just like a real old TV.
- Volume, effects and Wi-Fi networks are set in the browser at minitv.local.

Wiring

| Display | ESP32-S3-Zero | Amp | ESP32-S3-Zero |
|---|---|---|---|
| VCC | 3V3 | VIN | 5V |
| GND | GND | GND | GND |
| SDA | GPIO11 | BCLK | GPIO4 |
| SCL | GPIO12 | LRC | GPIO5 |
| CS | GPIO10 | DIN | GPIO6 |
| DC | GPIO9 | SD, GAIN | — |
| RES | GPIO8 | speaker → + and − | |
| BLK | GPIO7 | ||
Note: the speaker goes only to the amp's + and − outputs, never to GND. The display runs on 3V3, the amp on 5V. GAIN is left floating for 9 dB.
Separate diagrams: display and amp.
Case
The case is the open Megazoids-Hut/Mini-ESP32-TV project (The Unlicense), a remix of Moononournation's Mini Retro TV. Thanks to the author! The modules inside are wired point-to-point, without the original PCB.
Source code
Firmware, the Go relay, wiring diagrams, parts list and build guide are on GitHub under the MIT license. It builds with arduino-cli on ESP32 core 3.3.12.


