The Adafruit Blue 15x7 CharliePlex FeatherWing is an LED matrix display panel that provides a simple way to add a vibrant visual display to your projects. It features a grid of 105 blue LEDs arranged in a 15x7 pattern. This component is designed to be used with the Feather series of development boards from Adafruit, which are compact, easy to use, and versatile for a wide range of applications.
Pin | Description |
---|---|
GND | Ground connection |
VIN | Power supply input (3.3V to 5V DC) |
SDA | I2C data line |
SCL | I2C clock line |
ADDR | I2C address selection (solder jumper) |
RST | Reset pin (optional use) |
#include <Wire.h>
#include <Adafruit_IS31FL3731.h>
// Create the LED matrix object
Adafruit_IS31FL3731 matrix = Adafruit_IS31FL3731();
void setup() {
Wire.begin(); // Start I2C
if (!matrix.begin()) { // Initialize the CharliePlex matrix
Serial.println("IS31FL3731 not found");
while (1);
}
Serial.begin(9600);
Serial.println("IS31FL3731 found!");
}
void loop() {
matrix.setBrightness(127); // Set the brightness to a medium value
matrix.fillScreen(0); // Clear the matrix
for (uint8_t i=0; i<15; i++) {
matrix.drawPixel(i, i, 50); // Draw a diagonal line
matrix.writeDisplay(); // Update the display
delay(100);
}
}
Note: The above code is for demonstration purposes and assumes the use of an Arduino UNO with an I2C interface. Make sure to install the Adafruit_IS31FL3731
library before uploading the code to your board.
Serial.print
statements to debug and verify that the matrix is initialized correctly.Q: Can I use the CharliePlex FeatherWing with other microcontrollers besides the Feather series? A: Yes, as long as the microcontroller supports I2C communication and operates within the voltage range of the CharliePlex FeatherWing.
Q: How do I change the I2C address? A: The I2C address can be changed by soldering the ADDR jumpers on the back of the board to connect different combinations of the address pins to ground.
Q: Can I control individual LEDs? A: Yes, the library provided by Adafruit allows you to control each LED individually.
Q: Is it possible to daisy-chain multiple CharliePlex FeatherWings? A: Yes, you can daisy-chain multiple units as long as each one has a unique I2C address.