Skip to content

About

Dmd firmware for Esp32 128x32 or 256x64

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

ArcadeMatrix

🇬🇧 English | 🇫🇷 Français | 🇪🇸 Español

Telegram Community Ko-fi

💬 Telegram Community: https://t.me/+DrSdAO8UMUViNmE0
📺 Video Demo / Présentation : https://youtu.be/2sA5wLVozRQ?si=T1gn6MYDwpq2-54c

Welcome to the open-source ESP32 firmware for HUB75 LED matrix displays! This project allows you to display Arcade clocks, animated GIFs, live weather, and even MUGEN fighting game sprites simulated directly on a real LED matrix.


Important

⚡ One-Click Web Installer (Browser Flash)

Flash your ESP32 board directly from your web browser (Chrome / Edge / Opera) in one click with zero software to install!

👉 🚀 Launch ArcadeMatrix Web Installer

Firmware Version Compatible Hardware Board Web Installer Button
ESP32-DevKit (Classic) ESP32-DevKitC, NodeMCU-32S, WROOM-32 (4MB Flash) Select ESP32 (Standard)
ESP32-S3 Waveshare Waveshare ESP32-S3 Matrix Board (32MB Flash + 16MB PSRAM (N32R16)) Select ESP32-S3 (Waveshare)

💾 Releases & SD Card Kit

⬇️ Download Latest Pre-built Release & SD Card Kit

  • Firmware Bundles: Pick ArcadeMatrix-esp32dev.zip or ArcadeMatrix-esp32s3_waveshare.zip depending on your board (contains firmware-*.bin, bootloader-*.bin, partitions-*.bin, and boot_app0.bin for manual esptool.py flashing - see Getting Started).
  • SD Card Starter Kit (ArcadeMatrix-sdcard.zip): Ready-to-copy root folder structure containing config.json, GIF/MUGEN asset folders, and playlist indexing scripts.

🕹️ Built-in Engines & Hardware Simulations

Every engine in ArcadeMatrix is engineered with zero dynamic allocations and zero mutex contention on the Core 1 hot-path, guaranteeing a rock-solid 60 FPS refresh rate. Below are hardware-accurate simulations of each engine running on physical HUB75 displays:

Engine / ID Hardware Simulation Description & Key Features
Desk Master Dashboard
dashboard
Dashboard Engine Complete horizontal desk deck with handcrafted analog watch dial, smooth sweeping second hand, world clocks, SHTC3 indoor climate, and live Binance cryptos & Yahoo Finance stocks ticker.
Retro Game Clock
clock
Retro Clock

👉 View 10+ Retro Clocks Showcase ➔
Signature animated retro arcade and console clocks (Metal Slug, Castlevania, Mario, Mega Man, Sonic, Pokédex, Pac-Man, Tetris, World Clock, Matrix Rain...) with 100% bit-perfect sprites.
WebRadio & Music Player
music_player
Music Engine Autonomous streaming audio with linear real-time MP3 decoding (minimp3), Everest ES8311 I2S DAC output, album artwork, and dynamic 64-band audio visualizer.
Spotify Now Playing
spotify
Spotify Engine Real-time track display with full-color album artwork, scrolling artist/title, animated mini equalizer bars, and track progress.
Google Cast & Nest
google_cast
Google Cast Engine Automatic mDNS discovery of Google Home / Nest Audio devices with live streaming media artwork, volume, and playback progress.
Crypto Ticker & Chart
crypto
Crypto Engine Live Binance / CoinGecko prices, 24h change badge, and real-time historical sparkline charts with smart TTL caching.
Stock Market Ticker
stock
Stock Engine Real-time quotes from Yahoo Finance, 1D % badges, and intraday sparkline area charts for NASDAQ/S&P stocks and ETFs.
Weather Forecast
weather
Weather Engine Live outdoor conditions, high/low temperatures, humidity, wind, and animated retro icons via OpenWeatherMap & Open-Meteo.
Climate Sensor
temp
Temp Engine Real-time indoor temperature (°C/°F) and relative humidity via on-board SHTC3 I2C sensor with dynamic comfort indicators.
SPL Decibel Meter
decibelMeter
Decibel Engine Calibrated SPL ambient noise monitoring with reactive arcade smileys, top VS fighting healthbar gauge, and segmented VU meter.
System Telemetry HUD
system_info
SysInfo Engine Real-time dual-column monitor of CPU usage (%), RAM (%), SoC hardware temperature (°C/°F), and Uptime with vibrant gauge bars.
Live News Ticker
gnews
GNews Engine Real-time breaking headlines with topic pills ([TECH], [WORLD], [BIZ]), live pulsing red beacon, and smooth sub-pixel scrolling ticker.
Home Assistant & MQTT
mqttdata
MQTT Data Engine Stream Home Assistant dashboards, sensor values, 24h historical charts, and local weather via MQTT with ready-to-use blueprints.
Audio Visualizer
audiovisualizer
Visualizer Engine Real-time 32-band rainbow spectrum bars with peak hold dots, oscilloscope waveforms, and radial audio reactive modes.
Animated GIF Player
gifs
GIF Engine Smooth 60 FPS playback of retro animations and SD card playlists with zero-copy DMA canvas acceleration.
Scrolling Text Banner
message
Message Engine Customizable dot-matrix marquee signs with glowing amber typography, multiple scroll directions, and REST API triggers.
Arcade Cabinet Marquee
marquee
Marquee Engine Displays official illuminated arcade marquees via Pixelcade integration for Batocera, Recalbox, and RetroPie gaming setups.
Retro Games Showcase
retro_games
Retro Games Showcase Engine Streams authentic retro console & arcade box art, metadata badges, localized synopses, and 30 FPS RGB565 gameplay videos.
⚠️ Requires dmd_media_showcase installed on another machine on the same local network.
Movie Showcase
movie_showcase
Movie Showcase Engine Cinema poster & trailer showcase streaming TMDB/TVDB movie posters, ratings, localized synopses, and 30 FPS RGB565 trailers.
⚠️ Requires dmd_media_showcase installed on another machine on the same local network.
Series Showcase
series_showcase
Series Showcase Engine TV series showcase displaying show posters, release year, star ratings, localized synopses, and 30 FPS RGB565 trailer streams.
⚠️ Requires dmd_media_showcase installed on another machine on the same local network.
Anime Showcase
anime_showcase
Anime Showcase Engine Anime & manga showcase powered by AniList/Jikan/Kitsu metadata with cover art, localized synopses, and 30 FPS RGB565 video previews.
⚠️ Requires dmd_media_showcase installed on another machine on the same local network.
Calendar & Date
date
Date Engine Large arcade-styled date with 3D Capcom/Nintendo drop shadows, multi-language support (EN, FR, ES), and NTP/RTC DS3231 synchronization.

Note

Hardware Rendering Notice: The engine preview displays and clock showcase posters shown in this documentation are high-fidelity software simulations designed to illustrate visual layouts, animations, and telemetry widgets. Actual hardware rendering on a physical HUB75 LED matrix panel may differ depending on LED pitch, optical acrylic diffusion, viewing distance, and ambient brightness.


🎮 Legendary Retro Game Clocks (Showcase & Hardware Simulations)

Note

All clock screen previews below are software simulations. Real-life hardware rendering on physical RGB LED panels may have subtle differences in color temperature, brightness, and optical diffusion.

Important

Hardware Profile Availability (ESP32-S3 vs ESP32 Standard): Due to high-resolution Flash ROM asset footprints on boards with 4 MB Flash, Metal Slug (Theme 41), Pokédex (Theme 32), World Clock (Theme 33), and Words Clock (Theme 37) are exclusive to ESP32-S3 boards (16 MB Flash). On classic ESP32 DevKit boards, selecting these themes automatically falls back gracefully to the standard Arcade Clock.

ArcadeMatrix includes a signature collection of handcrafted, hardware-synchronized retro arcade and console clocks rendered with 100% bit-perfect original sprites in full 60 FPS, with zero dynamic allocations on the Core 1 hot-path:

1. Metal Slug: Super Vehicle-001 (SNK Neo Geo) — Theme 41 (ESP32-S3 only)

Authentic SNK Neo Geo pixel art with Arabian desert bazaar backdrop, Marco Rossi combat animations, Rebel Di-Cokka tank, patrol helicopter, and heavy machine gun firefights. Metal Slug Clock

2. Castlevania (Konami NES) — Theme 31

Gothic clock tower Belfry with Simon Belmont climbing the grand stone staircase toward Dracula's chamber, authentic pedestal torch, flapping vampire bat across the blood moon, and high-legibility ivory digits. Castlevania Clock

3. Super Mario Bros (NES) — Theme 30

Mushroom Kingdom Overworld with 100% authentic SMB1 brick blocks; Mario runs across the screen and jumps under the digit block to trigger an elastic bounce and digit flip (with green Koopa shell kick and gold coin pop in 128x32 compact mode). Super Mario Bros Clock

4. Mega Man (Capcom NES) — Theme 35

Capcom Wily Castle fortress with separated technical platforms, life gauge, sleeping Metool, and Mega Man firing his Buster shot at the minute pod. Mega Man Clock

5. Sonic The Hedgehog (Sega Genesis) — Theme 39

Green Hill Zone checkered platforms, spinning gold rings, red spring, Motobug badnik, and Sonic idle/spin-dash jumping animations. Sonic The Hedgehog Clock

6. Pokémon Pokédex (Nintendo Game Boy) — Theme 32 (ESP32-S3 only)

Authentic dual-screen Pokédex (Pocket Index) interface with creature inspection viewport, animated Pikachu sprite, PKMN font digital clock, live seconds telemetry bar, and blinking LED status sensor. Pokédex Clock

7. Pac-Man Arcade (Namco 1980) — Theme 26

Original Namco arcade maze with blue neon corridors, energizers, dots, animated Pac-Man, and 4 chasing ghosts (Blinky, Pinky, Inky, Clyde). Pac-Man Clock

8. Russian Tetris (Alexey Pajitnov / Game Boy) — Theme 23

Legendary falling block puzzle with dynamic 3D-beveled mino bricks (I, J, L, O, S, T, Z) cascading down to assemble the hours and minutes in real-time. Tetris Clock

9. World Clock & Solar Terminator — Theme 33 (ESP32-S3 only)

High-resolution continental world map with dynamic day/night solar terminator calculating real-time solar declination, local meridian marker, and dual UTC/local time. World Map Clock

10. True Matrix Rain (The Wachowskis 1999) — Theme 21

Iconic digital rain with phosphor green glyph cascades, randomized drop speeds, blazing white lead heads, fading persistence trails, and glowing neon clock digits. Matrix Rain Clock


🚀 Universal Engine Compatibility: Auto Depth & Auto Buffer

ArcadeMatrix features an advanced, memory-aware execution pipeline that allows all 22 engines (including heavy engines like AnimatedGIF, Stock, Crypto, MUGEN, and the 4 Media Showcase video streaming engines) to run on classic ESP32 DevKit boards with 0 KB PSRAM as well as flagship ESP32-S3 boards with 16 MB PSRAM:

  • 🎨 Auto Color Depth (dynamic_color_depth):

    • Rich 8-Bit Visuals by Default: Clocks, fighting game animations, visualizers, messages, and marquees render at maximum 8-bit color depth (up to 256 brightness levels per RGB channel).
    • Dynamic Sandbox Memory Reclamation: When network engines (stock, crypto, weather, gnews) need to perform HTTPS requests, the HUB75 DMA engine temporarily downshifts to 4 bits under hardware blanking. This instantly frees 16 to 24 KB of contiguous DMA DRAM, ensuring plenty of room for TLS handshakes and chunked JSON parsing without memory fragmentation.
    • 0 ms Instant Transitions: When stock quotes, crypto prices, and sparkline charts are fresh in cache (needsTlsFetch() == false), the downshift is skipped completely. Stock and Crypto activate immediately in full 8 bits with 0 ms transition time (zero display blanking).
  • ⚡ Auto Buffering Pipeline (render_pipeline: auto):

    • PSRAM Acceleration: On ESP32-S3 boards, allocates a 16-bit canvas in PSRAM with double DMA buffers (canvas_double) for buttery-smooth 60 FPS tear-free rendering.
    • SRAM1 Canvas Isolation: On classic ESP32 chips, allocates the 8 KB off-screen canvas in SRAM1 (non-DMA, CPU-only DRAM) during early boot before Wi-Fi and WebServer start. This preserves 8,192 bytes of contiguous DMA-capable memory in SRAM2, preventing memory starvation.
    • Tear-Free Single DMA: Uses Hub75BulkEncoder sequential row bursts to commit frames atomically, eliminating scanline tearing even on single-buffered displays.

SD Card Structure

Format your SD card to FAT32 or exFAT. Your SD card should look like this:

SD:/
  ├─ config.json
  ├─ gifs/
  │  │   └─ mario.gif
  └─ fighters_32/
      ├─ backgrounds/
      │   └─ stage1.raw
      └─ ryu/
          ├─ idle.fgt
          └─ attack.fgt
  └─ fighters_64/
      ├─ (same structure for 64px tall panels)

Note: The www/ folder is no longer required on the SD card as the Web UI is now baked directly into the ESP32 firmware!

Configuration (config.json)

The config.json file located at the root of your SD card is exhaustive. It contains parameters for the Matrix size, color depth, clock themes, idle rotation order, and MUGEN sprite backgrounds. Open the config.json provided in the release/sdCard/ folder to see all possible values.

MUGEN Sprite Extraction (The mugen_extractor.py Script)

To display fighters in the SPRITES module, the ESP32 expects .fgt raw files. Since the ESP32 is not powerful enough to decode complex MUGEN character formats natively, we provide a custom Python script to convert them and generate an index.txt manifest containing perfect bounding boxes and virtual ground values.

How to use the extractor:

  1. Make sure you have Python 3 installed with the Pillow library (pip install Pillow), or just run tools/mugen_extractor/start_extractor.sh/.bat which sets this up for you automatically.
  2. Go to the tools/mugen_extractor/ folder in the repository.
  3. Run the script, pointing --src at your MUGEN chars/ folder:
    python mugen_extractor.py --src /Path/To/Your/Mugen/chars --dest ./fighters_32
    # Or with custom scaling (e.g., --scale 0.5 to scale down by 50% saving 75% RAM):
    python mugen_extractor.py --src /Path/To/Your/Mugen/chars --dest ./fighters_64 --scale 0.5
  4. The script generates .fgt files along with an index.txt/index.json manifest in the --dest folder. Run it twice (with --dest ./fighters_32 and --dest ./fighters_64) if you want assets for both matrix sizes.
  5. Copy the resulting fighters_32/ or fighters_64/ folder to your SD card.

For full details, please read the documentation inside tools/mugen_extractor/README.md.

Sprite Backgrounds

Fighters and the Date engine can display an optional arena backdrop by placing a raw image file (e.g., stage1.raw) in SD:/fighters_32/backgrounds/ and selecting it via the bg_sprite option on your date instance in config.json (or from the Web UI):

{
  "instance_id": "date_main",
  "engine_id": "date",
  "config": {
    "bg_sprite": "stage1.raw"
  }
}

GIF Playlists (Automatic Discovery)

The ESP32 firmware dynamically scans your SD card /gifs/ and /gifs_tate/ folders and supports background re-indexing directly from the Web UI (POST /api/gifs/reindex) — no manual indexing scripts required!

Tip

Web UI File Manager & Uploader (No SD card removal needed!): You can now manage playlists, create/delete folders, rename items, and upload animated GIFs directly through the browser using the Web UI GIF File Manager card with native Horizontal / Vertical orientation support, with automatic background re-indexing — implemented by @TooncesToo!

  1. Simply organize your GIFs into subfolders under gifs/ on your SD card, e.g. gifs/mario/, gifs/sonic/.
  2. The Web UI automatically detects them as selectable playlists (and optional offline scripts in tools/gif_indexation/ remain available if preparing an SD card in bulk on a PC).
  3. Loose .gif files placed directly at the root of gifs/ are always played by default.

Custom Fonts (BDF → AMF conversion)

The Clock, Date, and scrolling Message can use custom bitmap fonts loaded from the SD card instead of the ~6 fonts compiled into the firmware, using the same .bdf fonts ArcadeMatrix_RPi already ships. The ESP32 has no on-device BDF parser though, so they must be converted to the compact .amf format first.

  1. Copy your .bdf font(s) into the fonts/ folder on your SD card.
  2. Run the batch converter:
    python3 tools/bdf_to_amfont/bdf_to_amfont.py /Volumes/SDCARD   # pass the SD root or its fonts/ folder
    (No external dependencies required. Standard Python only.)
  3. This converts each .bdf to an equivalently named .amf in-place. The resulting fonts immediately appear in the Web UI Settings page (Clock/Date "Font" dropdowns) - no restart required.

For full details, check tools/bdf_to_amfont/README.md.

🎬 DMD Media Showcase Server (dmd_media_showcase) Integration

The 4 Showcase engines (retro_games, movie_showcase, series_showcase, anime_showcase) only work with the companion dmd_media_showcase application installed on another machine on the same local network (Raspberry Pi, NAS, Docker host, or PC) to stream pre-rendered RGB565 posters, panoramas, multilingual metadata (automatically matching your DMD's configured language: en, fr, es, de, it), and RGB565 video trailers/gameplay clips:

  1. Install and start dmd_media_showcase on another machine on your local network (it automatically advertises itself on your LAN as http://dmdmediashowcase.local:8890).
  2. In the ArcadeMatrix Web UI Settings tab (MQTT & API -> 🎬 DMD Media Showcase), the Server URL is already pre-filled as http://dmdmediashowcase.local:8890 and Disabled by default (showcase.enabled = false) so zero network requests are made if you haven't installed Showcase. Simply toggle Enable DMD Media Showcase ON, click Save Showcase Settings, and verify that the live status badge turns 🟢 Communication OK (v3.0.0).
  3. Add any combination of retro_games, movie_showcase, series_showcase, or anime_showcase to your idle rotation. Each Showcase engine is self-paced (selfPaced = true), completing its full Poster + Synopsis + Panorama + Video Clip sequence cleanly before advancing to the next rotation slot.

🕹️ Recalbox, Batocera & RetroPie Sync + In-Game Showcase (Marquees, Cards & Gameplay Videos)

ArcadeMatrix synchronizes in real time with Recalbox, Batocera (v33+ for menu browsing), and RetroPie consoles to bring your arcade cabinet or gameroom to life:

✨ How It Works in Practice

  1. Menu Browsing (0 ms Instant Marquee, Zero Showcase Traffic): While scrolling through systems and games on your console, ArcadeMatrix immediately displays the corresponding Pixelcade marquee artwork from local storage with zero delay and 0 HTTP requests to Showcase.
  2. Launching a Game (Seamless In-Game Showcase):
    • The moment you launch a game, the classic marquee appears immediately (no black screen or "Waiting for content" message).
    • If dmd_media_showcase is enabled on your network and In-Game Showcase is turned on, Showcase prepares the launched game's full presentation on an isolated {dmd_id}_sync slot using dual lookup (game ROM basename + console title fallback_query, without disturbing autonomous retro_games rotation) — Animated Info Card + Boxart/Marquee/Screenshot Panoramas + Gameplay Video — and smoothly takes over the DMD as soon as Frame 0 is ready.
    • Choose how the display behaves while you keep playing:
      • Play Once then Keep Marquee: Plays the Showcase presentation once, then leaves the game's static marquee on screen.
      • Alternate Marquee & Showcase: Alternates between the Showcase sequence and a configurable pause on the classic marquee (e.g. 45s).
      • Loop Showcase Continuously: Repeats the Showcase presentation while the game is running.
  3. Exiting a Game (Instant Marquee Resume & Automatic Server Process Abort): Returning to the console menu (browsing/stopped) immediately stops any in-game video, switches back to live menu marquees in 0 ms, and automatically sends DELETE /api/v1/clients/{sync_id}/queue to cancel queued jobs and terminate any running server conversion processes (dmd_show_converter, ffmpeg, yt-dlp).
  4. Automatic Shared MQTT Broker (Zero Re-install & Extra Free RAM):
    • Console sync scripts store only your DMD's IP address (DMD_HOST) and ask the DMD dynamically which MQTT broker to use.
    • When Share Showcase MQTT Broker is enabled and Showcase is running, ArcadeMatrix automatically switches to Showcase's MQTT broker and turns off its internal ESP32 MQTT broker to free precious RAM — and falls back to its built-in broker automatically if Showcase is turned off. You never need to re-install the script on Recalbox/Batocera!
  5. Instant Replay Cache & 1-Click Cache Eviction:
    • Enabling Persistent On-Demand Conversion Cache in Showcase saves converted game sequences on disk by (System + Game + Resolution + Card Style) so relaunching a previously played game starts instantly without re-scraping or re-converting.
    • Changed your mind on a card theme or layout? Click 🗑️ Evict Showcase Cache directly in ArcadeMatrix (Settings -> MQTT & API -> 🎮 FrontendSync) to clear cached conversions in one click.

🚀 Step-by-Step Activation Tutorial

  1. Install the Console Sync Script (One-Time Setup):
    • From your PC/Mac, run tools/recalbox_daemon/install.sh (Linux/macOS) or tools/recalbox_daemon/install.ps1 (Windows) — or install via SSH from tools/rpi_emulationstation_base_os_setup.sh — and enter only your ArcadeMatrix IP (see tools/recalbox_daemon/README.md).
  2. Enable FrontendSync on ArcadeMatrix:
    • Open the ArcadeMatrix Web UI -> System -> MQTT & API -> 🎮 FrontendSync.
    • Set Enable MQTT to Enabled (keep 127.0.0.1 to use the built-in broker when standalone).
  3. Enable In-Game Showcase (Optional — Requires DMD Media Showcase):
    • In 🎬 DMD Media Showcase, toggle Enable DMD Media Showcase ON and verify 🟢 Communication OK.
    • Back in 🎮 FrontendSync, enable Share Showcase MQTT Broker (Free Local RAM) and In-Game Showcase (Card + Gameplay Video).
  4. Customize Your Playback Cycle & Card Style:
    • Pick your Playback Cycle (Play Once, Alternate Marquee & Showcase + marquee pause seconds, or Loop).
    • Under Card Style Source, choose Inherit DMD Profile from Showcase Studio (to use the visual design configured in Showcase's Card Studio) or Custom Override on DMD to pick your Card Layout (Classic Split, Badge Header, Full Art, Minimal), Theme (Tinted, Neon Border, Poster Wash), Synopsis Scroll Speed, Panoramas, Gameplay Video duration/FPS/framing, and Color Boost right from the DMD UI.
    • Click Save MQTT Settings — launch a game on your console and enjoy!

⚡ Hardware Compatibility & Engine Matrix

Engine / Feature Category ESP32-S3 (Waveshare Board) ESP32 Classic (DevKit / esp32dev) Hardware / Network Requirement
Clock Engine (clock) info 🟢 60 FPS 🟢 60 FPS Dynamic fonts, arcade/retro watch faces
Animated GIFs (gifs) media 🟢 Fullspeed 60 FPS 🟢 Fullspeed 60 FPS Micro-SD Card (Yoko / Tate orientations)
M.U.G.E.N Combat (fighter overlay) arcade 🟢 60 FPS 🟢 60 FPS Micro-SD Card (RGB565 sprite streaming)
Desk Deck Dashboard (dashboard) info 🟢 10 FPS 🟢 10 FPS Wi-Fi (Multi-widget clock, weather & market)
Real-Time Crypto (crypto) finance 🟢 10 FPS (8 bits) 🟢 10 FPS (8 bits cached) Wi-Fi, HTTPS/TLS (Binance, CoinGecko)
Stock Market & Sparklines (stock) finance 🟢 10 FPS (8 bits) 🟢 10 FPS (8 bits cached) Wi-Fi, HTTPS/TLS (Yahoo Finance)
Live Breaking News (gnews) news 🟢 30 FPS 🟢 30 FPS Wi-Fi, HTTPS/TLS (GNews API)
Live Weather Forecasts (weather) info 🟢 10 FPS 🟢 10 FPS Wi-Fi (OpenWeatherMap, Open-Meteo)
Date & Calendar (date) info 🟢 30 FPS 🟢 30 FPS Local system time & optional sprite backdrop
Scrolling Text Ticker (message) text 🟢 60 FPS 🟢 60 FPS Sub-pixel 60 FPS text scroller
System Telemetry (system_info) system 🟢 10 FPS 🟢 10 FPS Real-time CPU, RAM, Temp & Uptime gauges
Retro Gameroom Marquee (marquee) arcade 🟢 60 FPS 🟢 60 FPS MQTT / Batocera / Recalbox / RetroPie
Retro Games Showcase (retro_games) arcade 🟢 30 FPS 🟢 30 FPS Wi-Fi + Requires dmd_media_showcase on a LAN machine
Movie Showcase (movie_showcase) media 🟢 30 FPS 🟢 30 FPS Wi-Fi + Requires dmd_media_showcase on a LAN machine
Series Showcase (series_showcase) media 🟢 30 FPS 🟢 30 FPS Wi-Fi + Requires dmd_media_showcase on a LAN machine
Anime Showcase (anime_showcase) media 🟢 30 FPS 🟢 30 FPS Wi-Fi + Requires dmd_media_showcase on a LAN machine
Spotify Now Playing (spotify) media 🟢 30 FPS 🟢 30 FPS Wi-Fi, HTTPS/TLS, Spotify Web API
Google Cast Display (google_cast) media 🟢 30 FPS 🟢 30 FPS Wi-Fi, mDNS local discovery
Autonomous WebRadio (music_player) media 🟢 30 FPS (I2S DAC) ❌ Incompatible Built-in ES8311 DAC & PSRAM required
Audio Spectrum Visualizer (audiovisualizer) audio 🟢 60 FPS (I2S Mic) ❌ Incompatible Built-in ES7210 microphone array required
SPL Decibel Sound Meter (decibelMeter) audio 🟢 30 FPS (I2S Mic) ❌ Incompatible Built-in ES7210 microphone array required
Indoor Climate Sensor (temp) sensor 🟢 30 FPS (I2C SHTC3) ❌ Incompatible Built-in SHTC3 temperature/humidity sensor required
Home Assistant & MQTT Data (mqttdata) info 🟢 30 FPS 🟢 30 FPS MQTT Broker / Home Assistant Blueprints

👉 For the comprehensive technical breakdown (FPS, RAM, and DMA budgets), see the Engine Compatibility Matrix.

Note

💡 ESP32 Classic (esp32dev) Full TLS Compatibility & Smart Transition Prefetch

The classic ESP32 (WROOM-32 without PSRAM) is now fully compatible with TLS/HTTPS engines (crypto, stock, gnews, weather) thanks to an advanced DMA-released memory sandbox:

  1. Why the ~1s pause on the first rotation? On classic ESP32, concurrent HUB75 DMA scanning and mbedTLS cryptographic handshakes cannot run simultaneously due to contiguous internal SRAM constraints. During the transition into a TLS engine, the firmware temporarily releases the DMA framebuffer, opening an 89 KB clean memory window to prefetch all quotes, charts, and icons over HTTP/1.1 keep-alive in ~700 ms before reconfiguring the panel.
  2. Instant Subsequent Rotations: This brief transition fetch occurs only once on the initial rotation! For all subsequent rotations during the cache lifetime (configurable via UI, e.g. 10 to 15 minutes), the engine serves cached quotes and sparkline charts directly from RAM at full 8-bit color depth with zero transition delay and zero network overhead.
  3. Automatic Refresh: When the cache TTL expires, the engine cleanly performs a single background refresh on the next rotation and restarts the fresh cache cycle.

Note

Dynamic Hardware Probing & Graceful Degradation: All hardware sensors (Gyroscope QMI8658, Microphone ES7210, DAC ES8311, Temperature SHTC3) are dynamically probed on the I2C/I2S bus at startup. If a sensor or peripheral is absent on your board, the feature is automatically disabled safely without crashing, falling back to manual settings in the Web UI.

  • ESP32-S3 Waveshare RGB Matrix Board (esp32s3_waveshare): 100% Compatible with all features. Highly recommended. Required for large 256x64 True Matrix panels, autonomous WebRadio audio streaming, Gyroscope auto-rotation, and leverages built-in hardware sensors (Decibel, Temp, Speaker DAC) out of the box.
  • Classic ESP32 (WROOM-32 / esp32dev): Dual-core Tensilica Xtensa LX6 @ 240MHz. Fully supports animations, Web UI, MUGEN, and now all HTTPS/TLS cloud engines (crypto, stock, gnews, weather) on 128x32 / 64x32 matrix panels. Built-in physical audio/temp sensors are absent from standard DevKits unless wired externally.

Compilation

To compile the firmware yourself, you must use PlatformIO.

  • For 128x32: A standard ESP32 WROOM is sufficient (pio run -e esp32dev).
  • For 256x64: An ESP32-S3 with PSRAM is required (pio run -e esp32s3_waveshare).

Run the following command to build:

pio run -e esp32s3_waveshare

📚 Further Documentation

🙏 Acknowledgments

A huge thanks to the open-source community and the creators of the incredible libraries that power this project:

  • ESP32-HUB75-MatrixPanel-DMA by mrfaptastic
  • AnimatedGIF & PNGdec by bitbank2
  • ESPAsyncWebServer by mathieucarbou
  • ArduinoJson by bblanchon
  • PubSubClient by knolleary
  • PicoMQTT by mlesniew
  • Adafruit GFX by Adafruit
  • SdFat by greiman
  • Clockwise by Jonathas Amaral Barbosa (@jnthas) for the pixel art clock designs and retro assets (Mario, Pokédex, World Map, Words).
  • @TooncesToo (Erik Jerue) for developing the Home Assistant & MQTT Data engine with ready-to-use blueprints, the network GIF library API, multi-file uploader, Web UI file manager with dual-orientation support on both ESP32 and Raspberry Pi, clockface optimizations, and outstanding cross-platform contributions.

Special thanks to the RPiTeam for the awesome pack of 600 GIFs!

☕ Support the Project

Ko-fi

If you enjoy this project and want to support its ongoing development, feel free to buy me a coffee on Ko-fi. It is completely voluntary, no strings attached, and nothing expected in return — just a kind gesture that fuels motivation and testing on new hardware!

📜 License

This project is licensed under the PolyForm Noncommercial License 1.0.0.

In short: you're free to use, modify, and share this project for any noncommercial purpose (personal use, hobby builds, research, education, non-profit/public institutions) - see the full LICENSE file for the exact terms. Any commercial use (selling assembled units, kits, or derived products/services) requires a separate license - contact Red1L to discuss commercial terms.

About

Dmd firmware for Esp32 128x32 or 256x64

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages