From Waveshare Wiki
Jump to: navigation, search

RGB LED, 64x32=2048 DOTS, 5mm Pitch





This product is only a raw panel, and needs to be controlled by a control board to display such as Raspberry Pi, ESP32, Raspberry Pi Pico and Arduino. For more details, you can refer to the package content.


RGB-Matrix-P5-64x32 is the Full-Color LED Matrix Panel with onboard 2048 RGB LEDs and 5mm pitch. Also, it supports Raspberry Pi, ESP32, Pico and Arduino. We provide open-source demos and tutorials for makers and electronics enthusiasts to learn, or DIY secondary development into other desktop or wall-mounted display applications.


  • 2048 individual RGB LEDs, full-color display, adjustable brightness.
  • 64×32 pixels, 5mm pitch, allows displaying text, colorful images or animation.
  • 320×160mm dimensions, moderate size, suitable for DIY desktop display or wall mount display.
  • Onboard two HUB75 headers, one for controller data input, one for output, and chain support.
  • Provides online open-source development resources and tutorials, for use with Raspberry Pi, Raspberry Pi Pico, Arduino, ESP32, and so on.


Dimensions 320mm × 160mm
Resolution 64×32=2048 DOTS
Pixel Pitch 5mm
Pixel Form 1R1G1B
Viewing Angle ≥140°
Control Type Synchronous Control
Driving 1/16 scan
Header HUB75
Power Supply 5V / 4A (VH4 plug input)
Power ≤20W

Interface Definition


PIN Description PIN Description
VCC 5V Power Input GND Ground
R1 High Bit R Data R2 Low Bit R Data
G1 High Bit G Data G2 Low Bit G Data
B1 High Bit B Data B2 Low Bit B Data
A A Line Selection B B Line Selection
C C Line Selection D D Line Selection
E E Line Selection CLK Clock Input
LAT/STB Latch Pin OE Output Enable

Note: The power supply (VCC and GND) for the display is 5V. Do not connect it to any other voltage to prevent damaging the display.

Application Scenarios

RGB-Matrix-P5-64x32 05.png

Working with Raspberry Pi

Please refer to GithHub: Demo, Wiring
Please add the statement "--led-panel-type=FM6127" to execute the command.

Working with Arduino Mega

Example Demo

Hardware Connection


  • RGB-Matrix-P5-64x32 (the product).
  • Arduino Mega (not included).

Hardware Connection Diagram

RGB-Matrix-P5-64x32 -07.jpg

Software Setting

  • Download the demo (Install the corresponding library file).
  • Connect the wires according to the hardware connection diagram, and the software setting is as shown below:


Quick Demonstration

RGB Text Display

The effect of running the demo is shown in the figure below:

RGB Text 0003.jpg

【Function Description】

  • Display screen:
    • Display icon.
    • Display text, numbers and other text content.

Working With ESP32

Example Demo

Hardware Connection


  • RGB-Matrix-P5-64x32 (this product).
  • NodeMCU-32S (not included).

Hardware Connection Diagram

RGB-Matrix-P5-64x32 -08.jpg

Software Setting

  • Download the demo.
  • Copy the folder under libraries in ESP32 file to the libraries in the installation directory of Arduino IDE.

  • After connecting the wires according to the hardware connection diagram, set up the software as follows:
  • Note: You can operate as follows if you do not have the corresponding development board.
Click File -> Additional Boards Manager URLs -> Input: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json -> OK

Quick Demonstration

SimpleTestShapes: Show basic shapes
PatternPlasma: Displays cool plasma patterns
BouncingSquares: Show bouncing squares
AuroraDemo: Display simple examples of various animation effects
#There is an open-source project on Github: ESP32-HUB75-MatrixPanel-I2S-DMA, which is described in more detail in the project.

Working with Pico

Example Demo

Hardware Connection


  • RGB-Matrix-P5-64x32 (this product).
  • Raspberry Pi Pico (NOT included, it is recommended to buy the version with soldered pins for easy wiring.)

Hardware Connection Diagram

RGB-Matrix-P4-64x32 Pico.jpg

Software Setting

  • Download the demo.
  • Please connect it according to the hardware connection diagram. Software setting: Environment Setting.

Quick Demostration

  • After setting up the CircuitPython environment, you can copy all the files on the CircuitPython directory of the Pico example to the recognized USB flash drive, then the demo can run (16 demos are included in the code).
  • The PSD file folder is the file in ".psd" format, which is used to modify the texts and pictures to be moved. The modified picture must be saved as "Excellent" and needs to convert the format to BMP.

RGB-Matrix-P5 64x32-17.jpg
【Function Description】

  • Display the text.
  • Set the scrolling effect.


Wiring Precautions





Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)