Ahoy! It's time to create a dazzling light up project with our new RGB Matrix FeatherWing. Now you can quickly and easily create projects featuring your favorite 16 or 32-pixel tall matrix boards. Using our RGB Matrix library is easy and works wonderfully with any of our M0 or M4 based Feathers.

Please note: This wing is only tested/designed to work with the SAMD21 M0 and SAMD51 M4 Feathers. It's not for use with any other Feathers at this time. (That said, if you'd like to add support, we'd be happy to take a pull request on the library repo)

This wing can be assembled in one of two ways. You can either solder in a 2x8 IDC shrouded header on the top, then plug in the IDC cable that came with your matrix. This makes it easy to stack on top of your Feather. Or, you can solder in the 2x10 socket header on the bottom of the Wing, and then stack your Feather on top. That way you can plug it directly into the back of the matrix *mind blown*

This FeatherWing will work great with any of our 16x32, 32x32 or 64x32 RGB matrices, and is definitely the easiest way to glow and go.

Either way you decide to go, you can plug a 5V DC power pack into the 2.1mm DC jack. That 5V is polarity protected and then output on the other side to a 5.08mm terminal block. An onboard regulator will provide 3.3V power to your Feather so you don't need a separate USB or battery, this makes for a very compact build!

Each order comes with one FeatherWing PCB with surface mount parts attached, a 2x8 IDC header, a 2x10 female socket, 2.1mm DC jack, 5.08mm terminal block, and some male header. You may also want some Feather stacking headers or female headers depending on how you plan to attach/stack your Feather.


5V Power

RGB matricies are powered from 5V. We recommend using a 5V 2A or 5V 4A power pack to provide power to your Feather+Matrix

5V 2A (2000mA) switching power supply - UL Listed

This is a FCC/CE certified and UL listed power supply. Need a lot of 5V power? This switching supply gives a clean regulated 5V output at up to 2000mA. 110 or 240 input, so it works in...

5V 4A (4000mA) switching power supply - UL Listed

Need a lot of 5V power? This switching supply gives a clean regulated 5V output at up to 4 Amps (4000mA). 110 or 240 input, so it works in any country. The plugs are "US...

You can plug in the 5V adapter directly into the 2.1mm plug shown on the left, and the output to the matrix is available on the right. In between it goes through a P-FET 'ideal diode' which will protect the circuitry if you plug in the power backwards.

Feather Power

The 5V power input is also regulated to 3.3V and provided to the Feather 3.3V and Ground pads. This means that the Feather will 'self power' naturally from the 5V adapter even if USB or battery is not plugged in.

Data Pins

RGB Matricies require many data pins to push data out. We've picked what we think are a good range of pins that let you use I2C, SPI and two analog pins. There's not a lot of pins left over, but you can still add other wings and sensors if you need!

Here are the following 'default' pinouts:

  • CLK on  #13
  • LAT  on #0 (a.k.a RX)
  • OE  on #1 (a.k.a TX)
  • Address A on A5
  • Address B on A4
  • Address C on A3
  • Address D on A2
  • R1, G1, B1, R2, G2, B2 on 6, 5, 9, 11, 10, 12 in that order

That leaves A0, A1, SCK, MOSI, MISO, SDA, SCL available. M0 and M4 Feathers with built in SPI devices like SD cards, Bluetooth or WiFi will still work since the CS pins are not exposed.


Our Arduino library will do all the heavily lifting for you.

Visit the RGB Matrix library guide page at https://learn.adafruit.com/32x16-32x32-rgb-led-matrix/test-example-code to install the Arduino library and load up the examples.

Use the following configuration when uploading example code, and you'll be glowing in a minute!

Download: file
// FeatherWing pinouts for M0 and M4
#define CLK  13
#define OE   1  // TX
#define LAT  0  // RX
#define A   A5
#define B   A4
#define C   A3
#define D   A2
// the RGB data pins on featherwing, must be on same PORT as CLK
uint8_t rgbpins[] = { 6,5,9,11,10,12 };

// Create a 32-pixel tall matrix with the defined pins
RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, false, 32, rgbpins);

For the smaller 16x32 matrix, the last line is a little different:

Download: file
RGBmatrixPanel matrix(A, B, C, CLK, LAT, OE, false, rgbpins);


Does not power up when powering through the FeatherWing

This may happen on some M4 based Feather's when used with the Rev A version of the RGB Matrix FeatherWing that has a 100K pull up resistor on the enable (EN) pin. It can be solved by either replacing the 100K resistor with or adding a 10K resistor on top of it. You can even use a through hole resistor if you want.


Schematic & Fabrication Print

This guide was first published on Aug 22, 2018. It was last updated on Aug 22, 2018.