The Adafruit Green 15x7 CharliePlex FeatherWing is an innovative LED matrix display designed for use with the Feather series of microcontrollers from Adafruit. This module features a unique 15x7 grid of green LEDs that can be individually addressed using the Charlieplexing technique, which allows for control of multiple LEDs with fewer I/O pins. The FeatherWing form factor makes it easy to stack on top of or alongside a Feather board for compact and versatile projects.
Common applications for the CharliePlex FeatherWing include:
Pin | Description |
---|---|
GND | Ground connection |
3V | 3.3V power supply |
SDA | I2C Data |
SCL | I2C Clock |
RST | Reset pin (optional use) |
A0-A4 | Address selection pins for I2C |
To use the Adafruit Green 15x7 CharliePlex FeatherWing with a Feather microcontroller:
#include <Wire.h>
#include <Adafruit_IS31FL3731.h>
// Create the LED driver object
Adafruit_IS31FL3731 ledmatrix = Adafruit_IS31FL3731();
void setup() {
Wire.begin(); // Initialize I2C
if (!ledmatrix.begin()) {
Serial.println("IS31FL3731 not found");
while (1);
}
Serial.println("IS31FL3731 found!");
}
void loop() {
ledmatrix.clear(); // Clear the buffer
// Draw a simple pattern
for (int i = 0; i < 15; i++) {
ledmatrix.drawPixel(i, i % 7, 30); // Draw diagonal line
}
ledmatrix.display(); // Display the buffer
delay(100);
}
Ensure that you have installed the Adafruit_IS31FL3731
library through the Arduino Library Manager before uploading this code to your Arduino UNO.
Q: Can I use the CharliePlex FeatherWing with other microcontrollers?
A: Yes, the CharliePlex FeatherWing can be used with any microcontroller that supports I2C communication, provided you have the appropriate library or write your own code to interface with the IS31FL3731 driver chip.
Q: How do I change the I2C address?
A: The I2C address can be changed by soldering the A0-A4 address jumpers on the back of the board to connect them to either GND or 3V.
Q: Can I power the FeatherWing with a battery?
A: Yes, as long as the battery provides a voltage within the operating range of 3.3V to 5V.
For further assistance, consult the Adafruit support forums or the detailed datasheet for the IS31FL3731 LED driver chip.