Microblog

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

ESP32 mini TV in a retro case showing METR TV

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.

A frame from the live stream
A frame from the live stream
“Morning on METR”
“Morning on METR”
Logo splash
Logo splash

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.
System overview: METR stream → relay → Wi-Fi → ESP32 → screen and speaker

Wiring

Wiring of the ST7789 display and the MAX98357A amp to the ESP32-S3-Zero
DisplayESP32-S3-ZeroAmpESP32-S3-Zero
VCC3V3VIN5V
GNDGNDGNDGND
SDAGPIO11BCLKGPIO4
SCLGPIO12LRCGPIO5
CSGPIO10DINGPIO6
DCGPIO9SD, GAIN—
RESGPIO8speaker → + and −
BLKGPIO7

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.

ESP32-S3-ZeroST7789 1.69"MAX98357AMITgithub.com/MihailPirogov/esp32-mini-tv
← All posts