Site Guide

Find your way around the Engineering Club.

Know what you need? Search for a component, concept or project.

Around the site

Start

Labs

TestingExperimental

Build

Club

LearnExperimental

Go a little deeper

Entry points to larger collections. Use Search for individual records.

Learning paths & reference

Inside PiCrawlerExperimental

Inside Inventory

Testing / Displays / 10

RGB Matrix Playground

Separate simulation rate, drawing rate and continuous electrical refresh in richer animations.

Firmware source authored · compile not attempted in this pass

What you'll build

Move a bounded square and reflect its direction at the edges.

First result after hardware review: The object remains within the 64×32 drawing surface.

What you need

Check availability and exact module markings before starting.

Connections / current hardware gate

Before connecting power. This animation work requires the qualified RGB Matrix Fundamentals setup, including the still-missing panel power/harness and logic buffer.

  • Complete the panel identity, scan, connector and supply review from Fundamentals.
  • Establish the color/geometry fixtures before changing animation behavior.
  • Treat animation, simulation updates and continuous panel refresh as different timing tasks.

Start building

  1. 1

    Bouncing object

    Move a bounded square and reflect its direction at the edges.

  2. 2

    Procedural color pattern

    Draw a sine-shaped trace with a coordinate-derived color gradient.

  3. 3

    Life on a larger grid

    Update a 64×32 cellular model at a separate 200 ms interval.

Download complete PlatformIO project

Each stage has its exact environment, complete source and expected result. Editor and tools setup →

Troubleshooting

Movement speed changes under load

Measure actual intervals. Compare fixed-step slowdown with dt integration rather than assuming millis scheduling makes speed invariant.

DMA allocation fails

Review total memory, chain length, buffering and color depth. A 64×32 count alone does not establish available DMA memory.

Life freezes

Check simulation timing separately from rendering; a stable or period-two state can also be valid.

More detail

Foundations, safety and learning objectives

260 minutes · Editorial learning estimate excluding unresolved procurement/driver-port time

Three actual PlatformIO firmware environments; embedded compile and bench verification unestablished.

  • Keep electrical review false until the exact wiring/power/logic checklist is completed.
  • No power budget is inferred from successful compilation.
  • Separate simulation rate, drawing rate and continuous electrical refresh in richer animations.
  • A matrix refresh engine may scan the LEDs many times during one application frame.
System diagram and electrical boundaries
RGB Matrix Playground · subsystem relationships

Show the meaningful subsystem and signal/power boundary for RGB Matrix Playground. Conceptual system view; physical connections remain conditional.

  • ELEGOO ESP-WROOM-32 development boardClub-owned
  • P5 Indoor RGB LED Matrix Panel, 64×32Club-owned
  • Verified panel-rated 5 V supply and harnessAdditional hardware needed
  • Compatible high-speed panel logic buffer/adapterAdditional hardware needed

Signals and interfaces

  • ELEGOO ESP-WROOM-32 development boardHUB75 R1P5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 G1P5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 B1P5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 R2P5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 G2P5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 B2P5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 AP5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 BP5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 CP5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 DP5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 LATP5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 OEP5 Indoor RGB LED Matrix Panel, 64×32Conditional reference
  • ELEGOO ESP-WROOM-32 development boardHUB75 CLKP5 Indoor RGB LED Matrix Panel, 64×32Conditional reference

Power and common reference boundary

  • P5 Indoor RGB LED Matrix Panel, 64×32Separate panel powerVerified panel-rated 5 V supply and harnessConditional reference
  • display/peripheralSignal referencecontrollerConditional reference

Interfaces: HUB75-style

Electrical boundaries and interpretation
  • Use conditional wiring records; null pin/voltage means unresolved, not permission to choose a value.
  • Draw power and logic paths separately.
  • Do not turn a reference signal label into a guessed connector position.
  • Keep member, club and campus access labels distinct.
  • Include explicit port gate for unresolved driver/identity.
  • Access scopes: CLUB_OWNED, MISSING.
  • Firmware source is not bench evidence.
  • Draw a reviewed buffer/adapter boundary between MCU GPIO and panel inputs, plus a separate panel-rated supply/harness. The GPIO list is not a direct 3.3 V connection approval.
Full hardware facts and conditional wiring reference

Access describes the source of a requirement. Check availability, the exact revision and the complete power/driver/harness system before starting. Inventory quantities are expected purchase/BOM quantities, not live stock.

  • product family verified · preflight required

    Compatibility and unresolved details
    • Resolution: 64 × 32
    • Module size: 320 × 160 mm
    • Pixel pitch: 5 mm / P5
    • Scan mode: 1/16 scan
    • LED package class: SMD2121 class
    • Input voltage: 5 V class
    • Construction: Indoor full-color RGB, black mask
    • Interface class: HUB75-style; verify actual connector pinout before wiring
  • product family verified · preflight required

    Compatibility and unresolved details
    • Headers/USB bridge: Exact carrier count and bridge unverified
  • Verified panel-rated 5 V supply and harnessAdditional hardware needed

    identity blocked · not established

    Compatibility and unresolved details
    • Panel amperage, connectors, protection and source capability are not established.
  • Compatible high-speed panel logic buffer/adapterAdditional hardware needed

    identity blocked · not established

    Compatibility and unresolved details
    • Select from verified panel thresholds and chosen controller/clock; generic I²C shifter is not a HUB75 solution.

Electrical review is incomplete. Conditional references require confirmation; unresolved pins or rails are not wiring instructions. Power off before changing connections.

From device / pinTo device / pinSignal / voltageConnection status and notes
ELEGOO ESP-WROOM-32 development board
GPIO25
P5 Indoor RGB LED Matrix Panel, 64×32
R1
HUB75 R1
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO26
P5 Indoor RGB LED Matrix Panel, 64×32
G1
HUB75 G1
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO27
P5 Indoor RGB LED Matrix Panel, 64×32
B1
HUB75 B1
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO14
P5 Indoor RGB LED Matrix Panel, 64×32
R2
HUB75 R2
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO13
P5 Indoor RGB LED Matrix Panel, 64×32
G2
HUB75 G2
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO18
P5 Indoor RGB LED Matrix Panel, 64×32
B2
HUB75 B2
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO23
P5 Indoor RGB LED Matrix Panel, 64×32
A
HUB75 A
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO19
P5 Indoor RGB LED Matrix Panel, 64×32
B
HUB75 B
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO21
P5 Indoor RGB LED Matrix Panel, 64×32
C
HUB75 C
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO22
P5 Indoor RGB LED Matrix Panel, 64×32
D
HUB75 D
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO17
P5 Indoor RGB LED Matrix Panel, 64×32
LAT
HUB75 LAT
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO32
P5 Indoor RGB LED Matrix Panel, 64×32
OE
HUB75 OE
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

ELEGOO ESP-WROOM-32 development board
GPIO16
P5 Indoor RGB LED Matrix Panel, 64×32
CLK
HUB75 CLK
3.3 V
Conditional reference

Controller reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.

P5 Indoor RGB LED Matrix Panel, 64×32
VCC/GND
Verified panel-rated 5 V supply and harness
reviewed output/harness
Separate panel power
5 V
Conditional reference

Exact amperage and wire/connector/protection budget unresolved. Never through MCU regulator/GPIO.

display/peripheral
GND
controller
GND
Signal reference
0 V
Conditional reference

Unpowered wiring check; use correct common-ground topology and keep high-current panel returns out of thin signal paths.

All source files, supporting libraries and project download

Download complete project · workspaces/rgb-matrix-playground

Open the extracted folder containing platformio.ini and keep the complete supporting files.

  • mrfaptastic/ESP32 HUB75 LED MATRIX PANEL DMA Display@3.0.15

workspaces/rgb-matrix-playground/src/main.cpp

main.cpp
#include <Arduino.h>
#include <ESP32-HUB75-MatrixPanel-I2S-DMA.h>
#include <DisplayCore.h>
#include "board_profile.h"
MatrixPanel_I2S_DMA* panel=nullptr;uint32_t lastFrame=0;
uint8_t life[2048]={},nextLife[2048]={};int x=3,y=3,dx=1,dy=1;uint32_t lastLife=0;
void setup(){Serial.begin(115200); if(!kElectricalReviewComplete){Serial.println("STOP: complete wiring/power review in guide before enabling hardware.");return;}HUB75_I2S_CFG cfg(64,32,1);
 cfg.gpio.r1=25;cfg.gpio.g1=26;cfg.gpio.b1=27;cfg.gpio.r2=14;cfg.gpio.g2=13;cfg.gpio.b2=18;
 cfg.gpio.a=23;cfg.gpio.b=19;cfg.gpio.c=21;cfg.gpio.d=22;cfg.gpio.e=-1;
 cfg.gpio.lat=17;cfg.gpio.oe=32;cfg.gpio.clk=16;
 cfg.double_buff=true;panel=new MatrixPanel_I2S_DMA(cfg);if(!panel->begin()){Serial.println("DMA allocation/init failed");delete panel;panel=nullptr;return;}
 panel->setBrightness8(16);panel->clearScreen();life[15*64+30]=life[15*64+31]=life[15*64+32]=1;}
void loop(){if(!panel)return;const uint32_t now=millis();if(!displaylab::elapsed(now,lastFrame,33))return;lastFrame=now;panel->fillScreen(0);

 #if DISPLAY_STAGE == 1
 x+=dx;y+=dy;if(x<=0||x>=59)dx=-dx;if(y<=0||y>=27)dy=-dy;panel->fillRect(x,y,5,5,panel->color565(255,150,0));
 #elif DISPLAY_STAGE == 2
 for(int px=0;px<64;++px){int py=int(15+12*sin((px+now/50)*0.15));panel->drawPixel(px,py,panel->color565(px*4,255-px*4,100));}
 #else
 for(int py=0;py<32;++py)for(int px=0;px<64;++px)if(life[py*64+px])panel->drawPixel(px,py,panel->color565(0,255,40));
if(displaylab::elapsed(now,lastLife,200)){lastLife=now;displaylab::lifeStep(life,nextLife,64,32);memcpy(life,nextLife,sizeof(life));}
 #endif
 panel->flipDMABuffer();}
Source integrity · SHA-256826c0e3273728da6e1f1f9325406f9df7402176a19aa0d73e6482358567e3141

Raw downloads and standalone ZIPs retain the canonical bytes and supporting files. Copy follows the selected Comments setting.

Original engineering guide

Original research wording is preserved. Use the stage-specific dated build evidence for later compile results; it does not establish physical behavior.

Separate simulation rate, drawing rate and continuous electrical refresh in richer animations.

Status: FIRMWARE_AUTHORED_UNVERIFIED. FIRMWARE_SOURCE_AUTHORED; embedded build UNVERIFIED; hardware NOT_TESTED. Three actual PlatformIO firmware environments; embedded compile and bench verification unestablished.

What you are building

A matrix refresh engine may scan the LEDs many times during one application frame. Application drawing is scheduled around 33 ms, while the Life simulation advances around 200 ms. The electrical refresh rate is not the same number. Workload, color depth and memory influence whether the requested application frame cadence is achieved. A timer is a scheduling policy rather than a guarantee of hard real-time behavior.

Before you start

Estimated learning time: 260 minutes, excluding unresolved hardware/port work. Required prerequisites: display-rgb-matrix-fundamentals. See PLATFORMIO_ORIENTATION.md and the hardware identity/access records. Current main inventory IDs and expected quantities were compared read-only at a406480e1e13807983f1c03b8a531c2dcd310ddb; expected quantities are not live stock. Member and campus access remain separate from club ownership.

Hardware and conditional wiring

Component IDAccess scopeExpected snapshot quantityPreflight
club:elegoo-esp-wroom-32-development-boardCLUB_OWNED3PREFLIGHT_REQUIRED
club:p5-rgb-matrix-64x32CLUB_OWNED2PREFLIGHT_REQUIRED
missing:panel-powerMISSINGunspecifiedNOT_ESTABLISHED
missing:hub-bufferMISSINGunspecifiedNOT_ESTABLISHED

Breadboard, appropriately rated jumpers/data cables and a computer are shared setup requirements. Review supply, signal levels and ground separately; power off before changing connections. Null pins/rails remain unresolved.

FromToSignalVoltage / gateCondition
club:elegoo-esp-wroom-32-development-board / GPIO25club:p5-rgb-matrix-64x32 / R1HUB75 R13.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO26club:p5-rgb-matrix-64x32 / G1HUB75 G13.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO27club:p5-rgb-matrix-64x32 / B1HUB75 B13.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO14club:p5-rgb-matrix-64x32 / R2HUB75 R23.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO13club:p5-rgb-matrix-64x32 / G2HUB75 G23.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO18club:p5-rgb-matrix-64x32 / B2HUB75 B23.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO23club:p5-rgb-matrix-64x32 / AHUB75 A3.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO19club:p5-rgb-matrix-64x32 / BHUB75 B3.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO21club:p5-rgb-matrix-64x32 / CHUB75 C3.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO22club:p5-rgb-matrix-64x32 / DHUB75 D3.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO17club:p5-rgb-matrix-64x32 / LATHUB75 LAT3.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO32club:p5-rgb-matrix-64x32 / OEHUB75 OE3.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:elegoo-esp-wroom-32-development-board / GPIO16club:p5-rgb-matrix-64x32 / CLKHUB75 CLK3.3 / CONDITIONAL_REFERENCEController reference through an appropriate verified buffer; connector position/polarity not established by this table. This row identifies the 3.3 V MCU signal assignment, not a direct-wire approval: route through missing:hub-buffer after its voltage, speed and connector review; keep panel power separate.
club:p5-rgb-matrix-64x32 / VCC/GNDmissing:panel-power / reviewed output/harnessSeparate panel power5 / CONDITIONAL_REFERENCEExact amperage and wire/connector/protection budget unresolved. Never through MCU regulator/GPIO.
display/peripheral / GNDcontroller / GNDSignal reference0 / CONDITIONAL_REFERENCEUnpowered wiring check; use correct common-ground topology and keep high-current panel returns out of thin signal paths.

Software setup and dependencies

Open workspaces/rgb-matrix-playground in VS Code/PlatformIO. Configuration: workspaces/rgb-matrix-playground/platformio.ini. Platform: espressif32@6.12.0. Board/framework: esp32dev / arduino. Dependencies: mrfaptastic/ESP32 HUB75 LED MATRIX PANEL DMA Display@3.0.15. Dependency resolution occurs during build; an include is not an installation. See LIBRARY_MATRIX.md and COMPILATION_AUDIT.md for exact verification limits. The default electrical-review flag remains false. Review the matching pins, power and logic before changing it; a build cannot complete that physical review.

Build it: checkpoint path

StageGoalEnvironmentExpected / gate
Bouncing objectMove a bounded square and reflect its direction at the edges.checkpoint1The object remains within the 64×32 drawing surface.
Procedural color patternDraw a sine-shaped trace with a coordinate-derived color gradient.checkpoint2The pattern changes predictably over time.
Life on a larger gridUpdate a 64×32 cellular model at a separate 200 ms interval.checkpoint3Simulation generations advance more slowly than frame presentation.

Choose a stage deliberately. Project downloads include all authored environments; model-only project downloads include checkpoints1/2 and explicitly exclude the unfinished physical checkpoint. Stage3 for a port-gated project refuses download as finished firmware.

Understand it: software and physical model

The bouncing object keeps position and velocity as state and reverses sign at defined bounds. The procedural stage computes geometry from x and time. The Life stage uses two 2048-byte cell grids independent of DMA’s display buffers. The four-kilobyte simulation state does not represent the full DMA memory footprint; that footprint depends on library/panel/color configuration. Each complete drawn frame is flipped after composition, preserving the update/render boundary.

This baseline advances the moving object by one pixel per scheduled application frame; it is deliberately a simple fixed-step policy, not elapsed-time physical integration. If the loop is delayed, animation slows rather than jumping across a boundary. A later dt-based integrator needs overshoot handling and a maximum/update-step policy. The algorithm is original instructional code informed by the common Life rules, not an imported external game.

Canonical code reading map

Real fileSource landmarks (1-based)Lines
workspaces/rgb-matrix-playground/include/board_profile.hSupporting declarations / portable helpers5
workspaces/rgb-matrix-playground/src/main.cpp7: void setup(){Serial.begin(115200); if(!kElectricalReviewComplete){Serial.println("STOP: complete wir; 11: cfg.double_buff=true;panel=new MatrixPanel_I2S_DMA(cfg);if(!panel->begin()){Serial.println("DMA allo; 13: void loop(){if(!panel)return;const uint32_t now=millis();if(!displaylab::elapsed(now,lastFrame,33))r23
common-libs/DisplayCore/src/DisplayCore.h30: inline bool parsePacket(const char* text,Packet& result){; 40: bool accept(const Packet& p,uint32_t now){60

Read initialization and failure guards first, then the selected DISPLAY_STAGE region and its supporting modules. Source hashes, owners and roles are in code-assets.json. Shared software tests establish portable invariants only. No model substitutes for a physical driver.

Troubleshooting with evidence

Movement speed changes under load

Measure actual intervals. Compare fixed-step slowdown with dt integration rather than assuming millis scheduling makes speed invariant.

DMA allocation fails

Review total memory, chain length, buffering and color depth. A 64×32 count alone does not establish available DMA memory.

Life freezes

Check simulation timing separately from rendering; a stable or period-two state can also be valid.

Experiments after the baseline

Add bounded particles that respond to one verified input.

Instrument longest loop duration and missed frame count.

Create a sprite transition without blocking delays.

Challenge

Implement a fixed-step simulation accumulator with bounded catch-up work and explain its overload policy.

Verification and next work

No physical upload or bench observation occurred. Expected device results are targets. Native test output is recorded separately in validation/host-results.json. Current bounded build attempts are in validation/repair-compile-results.json; historical attempts remain under validation/history/. Embedded compile/link and hardware behavior remain unverified until actual evidence is recorded.

Source records: inventory-club-v3, inventory-member-v14, pio-deps, hub-lib, pio-esp32, pio-ide. Verified repository destinations are recorded in repository-integration.json; only resolved IDs are exposed in relatedLabs/relatedLearnConcepts.

Build evidence and diagnostic references

Current compile attempts: not performed in this pass. Physical Upload and bench observation: not tested.

  • Stage 1: no successful compile in the dated embedded ledger. The supplied electrical-review flag is false.
  • Stage 2: no successful compile in the dated embedded ledger. The supplied electrical-review flag is false.
  • Stage 3: no successful compile in the dated embedded ledger. The supplied electrical-review flag is false.

Historical compile evidence is separate from the original guide's earlier unverified status and does not establish today's build or hardware behavior.

Diagnostics before integration

Technical sources and references