So you may have heard of the Adafruit MatrixPortal M4 and you want to get started with building a project using CircuitPython. The MatrixPortal library makes it really easy to get started with creating a new project, using this board, but it also supports a variety of other hardware to make creating project for an RGB Matrix very easy.

This library is built on top of the rgbmatrix and framebufferio modules which are included as part of CircuitPython on many of our boards. It also makes use of the ESP32SPI library, along with some lower-level dependencies, to communicate with server over the internet.

One of the big benefits of using this library is that it handles a lot of detection and initialization of RGB Matrices and drivers. For instance, if you had a Metro M4 Airlift Lite and an RGB Matrix Shield, you could still get the full benefit of the library. If you had a Feather M4 Express with an RGB Matrix FeatherWing for M0/M4 feathers, you could still get the benefit of RGB Matrix automatically initializing. It also supports the RGB Matrix FeatherWing for nRF52840 feathers when used in conjunction with an nRF52840 feather.

This library also supports a variety of different RGB Matrix Panel sizes. The number of address line pins used are based on the height of the display. It was originally written for the 64x32 matrix, but has also been tested on the 64x64 matrix, 16x32 matrix and 32x32 matrix as well.

For this guide we're going to cover using a MatrixPortal M4 along with a 64x32 matrix as those are both very popular options and are feature complete. If your hardware setup varies, you may need to make some adjustments.

Parts

Video of a person rotating an LED matrix panel with animation resembling falling colored sand.
Folks love our wide selection of RGB matrices and accessories, for making custom colorful LED displays... and our RGB Matrix Shields...
$24.95
In Stock
Vide of assembled and powered on 64x32 RGB LED Matrix Panel - 4mm pitch. The matrix displays "Black Lives Matter" alongside the Raised Fist.
Bring a little bit of Times Square into your home with this sweet 64 x 32 square RGB LED matrix panel. These panels are normally used to make video walls, here in New York we see them...
$39.95
In Stock
Two white hands hold out an assembled and powered on 64x32 RGB LED Matrix Panel - 3mm pitch. The matrix displays "Adafruit Industries LED MATRIX! 32x64 *RGB*"
Bring a little bit of Times Square into your home with this sweet 64 x 32 square RGB LED matrix panel. These panels are normally used to make video walls, here in New York we see them...
Out of Stock

This guide was first published on Oct 20, 2020. It was last updated on Mar 17, 2024.

This page (Overview) was last updated on Mar 08, 2024.

Text editor powered by tinymce.