Testing / Displays / 09
64×32 RGB Matrix Fundamentals
Establish electrical readiness, color channels, scan behavior and DMA-driven refresh for one panel.
Firmware source authored · compile not attempted in this pass
What you'll build
Display distinct red, green and blue regions at low initial brightness.
First result after hardware review: Colors match labels and the panel stays electrically stable.
What you need
- P5 Indoor RGB LED Matrix Panel, 64×32
- ELEGOO ESP-WROOM-32 development board
- Verified panel-rated 5 V supply and harness · Additional hardware needed
- Compatible high-speed panel logic buffer/adapter · Additional hardware needed
Check availability and exact module markings before starting.
Connections / current hardware gate
Before connecting power. The panel-rated supply/harness and compatible high-speed logic buffer are missing requirements. Connector orientation, scan mapping and power budget remain unqualified; do not wire the panel directly from this reference.
- Identify the exact P5 64×32 panel connector, driver and scan arrangement.
- Obtain and review a panel-rated supply/harness and compatible logic buffer; panel power must not pass through MCU GPIO or its regulator.
- Verify signal mapping and grounding through the reviewed interface before enabling the electrical flag.
Start building
- 1
Color channels
Display distinct red, green and blue regions at low initial brightness.
- 2
Row/scan fixture
Draw regularly spaced rows to inspect multiplex/address mapping.
- 3
Geometry fixture
Draw border, corner marker and dimensions.
Download complete PlatformIO project
Each stage has its exact environment, complete source and expected result. Editor and tools setup →
Troubleshooting
Repeated rows or wrong scan
Compare the address/scan configuration and driver IC against matching documentation. Do not conflate a wrong scan mapper with an application drawing bug.
Wrong colors
Use isolated channel regions, verify labeled signal order and cable direction, then investigate panel driver initialization.
Flicker or reset
Measure supply and ground behavior during updates; inspect DMA allocation/refresh and signal integrity separately. Do not raise brightness during an unresolved power problem.
More detail
Foundations, safety and learning objectives
240 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.
- Establish electrical readiness, color channels, scan behavior and DMA-driven refresh for one panel.
- HUB75-style panels use parallel RGB channel streams, row-address signals, clock, latch and output-enable while repeatedly scanning rows.
System diagram and electrical boundaries
Show the meaningful subsystem and signal/power boundary for 64×32 RGB Matrix Fundamentals. 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.
- P5 Indoor RGB LED Matrix Panel, 64×32Club-owned
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
- ELEGOO ESP-WROOM-32 development boardClub-owned
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 / pin | To device / pin | Signal / voltage | Connection status and notes |
|---|---|---|---|
ELEGOO ESP-WROOM-32 development boardGPIO25 | P5 Indoor RGB LED Matrix Panel, 64×32R1 | 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 boardGPIO26 | P5 Indoor RGB LED Matrix Panel, 64×32G1 | 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 boardGPIO27 | P5 Indoor RGB LED Matrix Panel, 64×32B1 | 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 boardGPIO14 | P5 Indoor RGB LED Matrix Panel, 64×32R2 | 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 boardGPIO13 | P5 Indoor RGB LED Matrix Panel, 64×32G2 | 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 boardGPIO18 | P5 Indoor RGB LED Matrix Panel, 64×32B2 | 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 boardGPIO23 | P5 Indoor RGB LED Matrix Panel, 64×32A | 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 boardGPIO19 | P5 Indoor RGB LED Matrix Panel, 64×32B | 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 boardGPIO21 | P5 Indoor RGB LED Matrix Panel, 64×32C | 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 boardGPIO22 | P5 Indoor RGB LED Matrix Panel, 64×32D | 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 boardGPIO17 | P5 Indoor RGB LED Matrix Panel, 64×32LAT | 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 boardGPIO32 | P5 Indoor RGB LED Matrix Panel, 64×32OE | 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 boardGPIO16 | P5 Indoor RGB LED Matrix Panel, 64×32CLK | 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×32VCC/GND | Verified panel-rated 5 V supply and harnessreviewed output/harness | Separate panel power 5 V | Conditional reference Exact amperage and wire/connector/protection budget unresolved. Never through MCU regulator/GPIO. |
display/peripheralGND | controllerGND | 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-fundamentals
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-fundamentals/src/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;
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;const uint32_t now=millis();if(!displaylab::elapsed(now,lastFrame,33))return;lastFrame=now;panel->fillScreen(0);
#if DISPLAY_STAGE == 1
panel->fillRect(0,0,21,32,panel->color565(255,0,0));panel->fillRect(21,0,21,32,panel->color565(0,255,0));panel->fillRect(42,0,22,32,panel->color565(0,0,255));
#elif DISPLAY_STAGE == 2
for(int y=0;y<32;y+=4)panel->drawFastHLine(0,y,64,panel->color565(16*y,255-7*y,64));
#else
panel->drawRect(0,0,64,32,panel->color565(100,100,100));panel->drawPixel(0,0,panel->color565(255,255,255));panel->setCursor(3,12);panel->print("64x32");
#endif
panel->flipDMABuffer();}
Source integrity · SHA-256
8dc950d7185a74ac3a403c3362b44e7d12ee291e395c739c95a88468c3b83d56Raw 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.
Establish electrical readiness, color channels, scan behavior and DMA-driven refresh for one panel.
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
HUB75-style panels use parallel RGB channel streams, row-address signals, clock, latch and output-enable while repeatedly scanning rows. Supplying a framebuffer once is not enough: refreshing continues to maintain a stable visible image. Both club P5 panels and the separate member P4 are cataloged as 64×32, 1/16 scan, but their exact connectors/driver compatibility still require verification. Pixel pitch changes size, not the logical resolution.
Before you start
Estimated learning time: 240 minutes, excluding unresolved hardware/port work. Required prerequisites: display-max7219-animation-lab. 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 ID | Access scope | Expected snapshot quantity | Preflight |
|---|---|---|---|
| club:elegoo-esp-wroom-32-development-board | CLUB_OWNED | 3 | PREFLIGHT_REQUIRED |
| club:p5-rgb-matrix-64x32 | CLUB_OWNED | 2 | PREFLIGHT_REQUIRED |
| missing:panel-power | MISSING | unspecified | NOT_ESTABLISHED |
| missing:hub-buffer | MISSING | unspecified | NOT_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.
| From | To | Signal | Voltage / gate | Condition |
|---|---|---|---|---|
| club:elegoo-esp-wroom-32-development-board / GPIO25 | club:p5-rgb-matrix-64x32 / R1 | HUB75 R1 | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO26 | club:p5-rgb-matrix-64x32 / G1 | HUB75 G1 | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO27 | club:p5-rgb-matrix-64x32 / B1 | HUB75 B1 | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO14 | club:p5-rgb-matrix-64x32 / R2 | HUB75 R2 | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO13 | club:p5-rgb-matrix-64x32 / G2 | HUB75 G2 | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO18 | club:p5-rgb-matrix-64x32 / B2 | HUB75 B2 | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO23 | club:p5-rgb-matrix-64x32 / A | HUB75 A | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO19 | club:p5-rgb-matrix-64x32 / B | HUB75 B | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO21 | club:p5-rgb-matrix-64x32 / C | HUB75 C | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO22 | club:p5-rgb-matrix-64x32 / D | HUB75 D | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO17 | club:p5-rgb-matrix-64x32 / LAT | HUB75 LAT | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO32 | club:p5-rgb-matrix-64x32 / OE | HUB75 OE | 3.3 / 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. |
| club:elegoo-esp-wroom-32-development-board / GPIO16 | club:p5-rgb-matrix-64x32 / CLK | HUB75 CLK | 3.3 / 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. |
| club:p5-rgb-matrix-64x32 / VCC/GND | missing:panel-power / reviewed output/harness | Separate panel power | 5 / CONDITIONAL_REFERENCE | Exact amperage and wire/connector/protection budget unresolved. Never through MCU regulator/GPIO. |
| display/peripheral / GND | controller / GND | Signal reference | 0 / CONDITIONAL_REFERENCE | Unpowered 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-fundamentals in VS Code/PlatformIO. Configuration: workspaces/rgb-matrix-fundamentals/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
| Stage | Goal | Environment | Expected / gate |
|---|---|---|---|
| Color channels | Display distinct red, green and blue regions at low initial brightness. | checkpoint1 | Colors match labels and the panel stays electrically stable. |
| Row/scan fixture | Draw regularly spaced rows to inspect multiplex/address mapping. | checkpoint2 | Rows appear in the intended order without repeated or missing bands. |
| Geometry fixture | Draw border, corner marker and dimensions. | checkpoint3 | All 64×32 logical coordinates map correctly. |
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 classic ESP32 reference assigns each signal explicitly and uses the HUB75 DMA library, which keeps time-sensitive scan work away from ordinary loop updates. The authored pin assignment is a controller-side reference pending comparison with the actual board and panel connector. double_buff requests separate drawing/visible buffers; flipDMABuffer changes the presented frame after composition. A begin failure is checked, and an initialization/allocation failure prevents drawing through a null pointer.
Do not power the panel from the ESP32 regulator, breadboard power module or GPIO header. Determine regulated panel voltage, specified current, connector polarity, wire/connector rating and protection before enabling hardware. Common ground establishes signal reference; it does not turn a data wire into a power feed. Verify the panel’s logic threshold and use a suitable high-speed level buffer where needed. No exact panel amperage is inferred from dimensions or low brightness.
Canonical code reading map
| Real file | Source landmarks (1-based) | Lines |
|---|---|---|
| workspaces/rgb-matrix-fundamentals/include/board_profile.h | Supporting declarations / portable helpers | 5 |
| workspaces/rgb-matrix-fundamentals/src/main.cpp | 6: void setup(){Serial.begin(115200); if(!kElectricalReviewComplete){Serial.println("STOP: complete wir; 10: cfg.double_buff=true;panel=new MatrixPanel_I2S_DMA(cfg);if(!panel->begin()){Serial.println("DMA allo; 12: void loop(){if(!panel)return;const uint32_t now=millis();if(!displaylab::elapsed(now,lastFrame,33))r | 21 |
| common-libs/DisplayCore/src/DisplayCore.h | 30: 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
Repeated rows or wrong scan
Compare the address/scan configuration and driver IC against matching documentation. Do not conflate a wrong scan mapper with an application drawing bug.
Wrong colors
Use isolated channel regions, verify labeled signal order and cable direction, then investigate panel driver initialization.
Flicker or reset
Measure supply and ground behavior during updates; inspect DMA allocation/refresh and signal integrity separately. Do not raise brightness during an unresolved power problem.
Experiments after the baseline
Measure refresh effects at documented color-depth settings.
Add the second club panel only after recalculating power and chain geometry.
Compare logical pixels on P4 and P5 without merging ownership records.
Challenge
Produce a wiring/power signoff sheet for a second panel before attempting a chain.
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.
Technical sources and references
- PlatformIO classic ESP32
esp32dev target identity; confirm exact installed hardware
- PlatformIO dependencies
Dependency installation occurs during package/build processing
- HUB75 DMA primary repository
Classic ESP32 supported; C6 not a supported DMA target; dynamic refresh memory
- Official PlatformIO IDE installation
Official VS Code extension includes Core and project environment tasks