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 / 17

Raspberry Pi + Matrix Controller

Use USB serial to separate Linux content generation from an ESP32 refresh engine.

Firmware source authored · compile not attempted in this pass

What you'll build

Send a bounded versioned line from Pi/PC to the classic ESP32.

First result after hardware review: Accepted frames display value and live/stale state.

What you need

Check availability and exact module markings before starting.

Connections / current hardware gate

Before connecting power. The Pi sends content; the classic ESP32 refreshes the panel. Panel power/harness, buffering and the physical USB/serial setup still need qualification.

  • Complete the RGB panel's connector, scan, supply and buffer review first.
  • Keep Linux sender software separate from the MCU firmware project; use the included companion files.
  • Check the versioned line format and stale-state policy; this source does not implement a session handshake.

Start building

  1. 1

    Protocol and link

    Send a bounded versioned line from Pi/PC to the classic ESP32.

  2. 2

    Data presentation

    Render the accepted value as text and a scaled bar.

  3. 3

    Failure visibility

    Show stale state after valid updates stop.

Download complete PlatformIO project

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

Troubleshooting

Bytes arrive but no value changes

Check newline, version, range, checksum and sequence. Confirm that a rejected frame cannot refresh freshness.

First reconnect fails

Review sender reset/sequence policy rather than assuming all lost links are wiring faults. Resetting the receiver is the baseline reconnect procedure.

UI stalls on serial flood

Check bounded per-visit work and overflow discard behavior. Unbounded reads can starve rendering.

More detail

Foundations, safety and learning objectives

275 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.
  • Use USB serial to separate Linux content generation from an ESP32 refresh engine.
  • Linux is suitable for content generation, files and network services; the MCU keeps panel scan timing local.
System diagram and electrical boundaries
Raspberry Pi + Matrix Controller · subsystem relationships

Show the meaningful subsystem and signal/power boundary for Raspberry Pi + Matrix Controller. Conceptual system view; physical connections remain conditional.

  • ELEGOO ESP-WROOM-32 development boardClub-owned
  • P5 Indoor RGB LED Matrix Panel, 64×32Club-owned
  • Raspberry Pi 4 Model B 4GBClub-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
  • Raspberry Pi 4 Model B 4GBUSB serial protocolELEGOO ESP-WROOM-32 development boardConditional 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: USB Serial · 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
  • product family verified · preflight required

  • 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.

Raspberry Pi 4 Model B 4GB
USB host
ELEGOO ESP-WROOM-32 development board
USB connector
USB serial protocol
Voltage unresolved
Conditional reference

No GPIO UART wire or mixed power rail is used in this baseline.

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/pi-matrix-controller

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/pi-matrix-controller/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;

 displaylab::Receiver receiver;char inputLine[49]={};size_t used=0;bool discard=false;
 void readMessages(uint32_t now){unsigned budget=64;
 while(budget--&&Serial.available()){const char c=char(Serial.read());
 if(c=='\r')continue;
 if(c=='\n'){if(!discard){inputLine[used]='\0';displaylab::Packet p;if(displaylab::parsePacket(inputLine,p))receiver.accept(p,now);}used=0;discard=false;}
 else if(!discard){if(used<sizeof(inputLine)-1)inputLine[used++]=c;else{discard=true;used=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();}

 void loop(){if(!panel)return;uint32_t now=millis();readMessages(now);if(!displaylab::elapsed(now,lastFrame,33))return;lastFrame=now;panel->fillScreen(0);panel->setCursor(0,0);panel->print(receiver.stale(now)?"STALE":"LIVE");panel->setCursor(0,12);panel->print(receiver.last.value);
 #if DISPLAY_STAGE >= 2
 panel->fillRect(0,25,receiver.last.value*64U/1000U,7,panel->color565(0,100,255));
 #endif
 #if DISPLAY_STAGE >= 3
 panel->drawPixel(63,0,receiver.stale(now)?panel->color565(255,0,0):panel->color565(0,255,0));
 #endif
 panel->flipDMABuffer();}
Source integrity · SHA-2569c52665a4c48481b7a86422f3527e6d017daa25202c197c23f30b87b6dab90d1

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.

Use USB serial to separate Linux content generation from an ESP32 refresh engine.

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

Linux is suitable for content generation, files and network services; the MCU keeps panel scan timing local. USB serial supplies a practical boundary without connecting Pi GPIO voltage rails. The line protocol carries version, sequence, bounded value and a lightweight checksum. Its XOR checksum catches some accidental errors; it is not cryptographic integrity or authentication. The receiver rejects duplicate/out-of-order sequences and does not let invalid messages refresh data age.

Before you start

Estimated learning time: 275 minutes, excluding unresolved hardware/port work. Required prerequisites: display-rgb-matrix-data-wall. 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
club:raspberry-pi-4-4gbCLUB_OWNED1PREFLIGHT_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.
club:raspberry-pi-4-4gb / USB hostclub:elegoo-esp-wroom-32-development-board / USB connectorUSB serial protocolNone / CONDITIONAL_REFERENCENo GPIO UART wire or mixed power rail is used in this baseline.
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/pi-matrix-controller in VS Code/PlatformIO. Configuration: workspaces/pi-matrix-controller/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
Protocol and linkSend a bounded versioned line from Pi/PC to the classic ESP32.checkpoint1Accepted frames display value and live/stale state.
Data presentationRender the accepted value as text and a scaled bar.checkpoint2Presentation responds to validated data, not raw incoming bytes.
Failure visibilityShow stale state after valid updates stop.checkpoint3Unplugging/stopping the sender changes state after the five-second policy.

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 sender companion uses PySerial with timeouts, a one-second rate and a short USB-open delay for boards that reset on port open. The MCU has a 48-character line payload, discards an overlong line until newline, and reads at most sixty-four bytes per loop visit. Complete lines are parsed before state mutation. Sequence comparison uses unsigned modular distance and a half-range ordering rule. A restarted sender beginning at zero may be rejected until the receiver is reset or a future session protocol is added; this limitation is explicit.

Choose an explicit stable port path where possible and distinguish console diagnostics from the one-way input protocol. The existing Pi 4 is a sound initial Linux sender. Direct Pi panel driving is also possible and should be evaluated against the maintained rpi-rgb-led-matrix library, panel type, adapter and OS. Current primary docs contain new Pi 5 support alongside stale contradictory text, so this package does not inherit the obsolete blanket statement that Pi 5 cannot drive a matrix. The split architecture is chosen for isolation, not because a second processor is always required.

Source review precision: All environments parse the bounded V1 line protocol and display LIVE/STALE. Checkpoint2 adds the bar and checkpoint3 adds a status pixel. The checksum is an accidental-corruption check, not authentication. A restarted sender can require a receiver reset because there is no session handshake.

Canonical code reading map

Real fileSource landmarks (1-based)Lines
workspaces/pi-matrix-controller/include/board_profile.hSupporting declarations / portable helpers5
workspaces/pi-matrix-controller/src/main.cpp11: if(c=='\n'){if(!discard){inputLine[used]='\0';displaylab::Packet p;if(displaylab::parsePacket(inputL; 14: void setup(){Serial.begin(115200); if(!kElectricalReviewComplete){Serial.println("STOP: complete wir; 18: cfg.double_buff=true;panel=new MatrixPanel_I2S_DMA(cfg);if(!panel->begin()){Serial.println("DMA allo; 21: void loop(){if(!panel)return;uint32_t now=millis();readMessages(now);if(!displaylab::elapsed(now,las28
common-libs/DisplayCore/src/DisplayCore.h30: inline bool parsePacket(const char* text,Packet& result){; 40: bool accept(const Packet& p,uint32_t now){60
companions/pi-sender/send.pySupporting declarations / portable helpers12

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

Bytes arrive but no value changes

Check newline, version, range, checksum and sequence. Confirm that a rejected frame cannot refresh freshness.

First reconnect fails

Review sender reset/sequence policy rather than assuming all lost links are wiring faults. Resetting the receiver is the baseline reconnect procedure.

UI stalls on serial flood

Check bounded per-visit work and overflow discard behavior. Unbounded reads can starve rendering.

Experiments after the baseline

Add a session identifier and handshake for reconnects.

Publish a sourced local sensor/service value instead of a fixed fixture.

Compare direct Pi and split driving using actual panel/adapter evidence.

Challenge

Design a restart-safe sequence/session protocol that does not accept stale replayed frames.

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, pi-matrix, 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