The Adafruit 8x16 LED Matrix FeatherWing in Pure Green is a versatile and compact electronic component designed to interface with the Adafruit Feather series of development boards. This LED matrix provides a grid of 8x16 (128) bright green LEDs, ideal for displaying scrolling text, animations, and simple graphics. It is perfect for wearable projects, badges, or any application where a small yet visible display is needed.
Pin | Description |
---|---|
GND | Ground connection |
3V | 3.3V power supply |
SDA | I2C data line |
SCL | I2C clock line |
RST | Reset pin (optional use) |
A0 | Address selection pin 0 |
A1 | Address selection pin 1 |
A2 | Address selection pin 2 |
A3 | Address selection pin 3 |
A4 | Address selection pin 4 |
A5 | Address selection pin 5 |
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_LEDBackpack.h>
Adafruit_8x16matrix matrix = Adafruit_8x16matrix();
void setup() {
matrix.begin(0x70); // Initialize the matrix with its I2C address
matrix.setBrightness(10); // Set brightness level (0 is dim, 15 is bright)
}
void loop() {
matrix.clear(); // Clear the matrix display
matrix.setCursor(0, 0); // Set cursor at top-left corner
matrix.print("Hello"); // Print a message
matrix.writeDisplay(); // Update the display with the new data
delay(2000); // Wait for 2 seconds
}
i2cdetect
utility or similar tools to confirm the matrix's I2C address.Q: Can I use this matrix with a 5V system? A: Yes, the matrix can operate on a 3.3V to 5V power supply.
Q: How do I change the I2C address? A: Solder the address selection pins (A0-A5) to set a unique address for each matrix.
Q: Can I chain multiple matrices together? A: Yes, you can chain multiple matrices by connecting their I2C lines together and setting unique addresses for each.
Q: Is there a library available for controlling the matrix? A: Yes, the Adafruit LED Backpack library is available for easy control of the matrix.
For further assistance, consult the Adafruit forums or the detailed product guide available on the Adafruit website.