ESP8266 RMP

From ElectroDragon Wiki


PxMatrix Setup

Interface Pin Definitions

Pin Definitions, fully same as demo code:

  • #define P_LAT 16
  • #define P_A 5
  • #define P_B 4
  • #define P_C 15
  • #define P_D 12
  • #define P_E 0
  • #define P_OE 2


  • pin row_C row_D row_E and row_OE are the extra optional pins for setup, you can install then first
  • not all these four pins are needed for some panels
  • you remove later to try to release some extra pins which are not necessary

Panel Size

Please double check all the following options

  • #define matrix_width 32
  • #define matrix_height 16


Software Setup

Panel Drive Methods

  • display.begin(4); // 1/4, 1/8, 1/16 and 1/32 row scan. where n={4,8,16,32}


  • display.setScanPattern(ZAGGIZ); // Define your scan pattern here
Our panel matrix_width matrix_height Scan Pattern
32x16 32 16 4 ZAGGIZ
64x64 64 64 32 default LINE


Use guide

Shield Panel Note
Input connector Input connector Plug in
Output connector Output connector Use cable, if you chain mutiple panels, maybe buy a long cable

Setup Notice

  • If power is not stable, use USB power for D1 mini instead
  • Turn off IO0 when you are programming D1-mini board
  • Some pins may not be used by panel, if you test the pin always go ground, then you can use dip swtich to turn if off and use them. Common pins are C / D / E


Reference