

The Adafruit Charlieplex 9x16 Cool White LED Matrix is a versatile and efficient electronic component designed for displaying patterns, animations, and text. With a total of 144 cool white LEDs arranged in a 9x16 grid, this LED matrix uses the charlieplexing technique to control individual LEDs with fewer I/O pins than would be possible with traditional multiplexing. This makes it an ideal choice for projects with limited GPIO availability, such as wearables, small handheld devices, and compact displays.








| Pin Number | Name | Description |
|---|---|---|
| 1 | GND | Ground connection |
| 2 | VCC | Power supply (3.3V - 5V) |
| 3 | SDA | I2C Data line |
| 4 | SCL | I2C Clock line |
| 5 | ADDR | I2C Address selection (connect to GND or VCC) |
#include <Wire.h>
#include <Adafruit_IS31FL3731.h>
// Initialize the Charlieplex matrix
Adafruit_IS31FL3731 matrix = Adafruit_IS31FL3731();
void setup() {
Wire.begin(); // Start I2C
matrix.begin(); // Initialize the LED matrix
}
void loop() {
// Display a pattern on the matrix
for (int i = 0; i < 144; i++) {
matrix.drawPixel(i % 16, i / 16, 50); // Set brightness to 50 out of 255
delay(100);
matrix.drawPixel(i % 16, i / 16, 0); // Turn off the LED
}
}
Ensure that the Adafruit_IS31FL3731 library is installed in your Arduino IDE before uploading this code to your Arduino UNO.
Q: Can I use this matrix with a 3.3V system? A: Yes, the matrix can operate at 3.3V, but the LEDs may appear dimmer compared to a 5V supply.
Q: How many matrices can I chain together? A: You can chain multiple matrices as long as the total current does not exceed the power supply capacity and each matrix has a unique I2C address.
Q: Do I need external resistors for the LEDs? A: No, the matrix has built-in resistors for current limiting.
For further assistance, consult the Adafruit support forums or the product's official documentation.