The Adafruit 8x16 LED Matrix FeatherWing in White is a versatile and visually striking electronic component that provides a grid of 8x16 white LEDs. This LED matrix is designed to be used with the Adafruit Feather series of development boards, enabling hobbyists and professionals alike to create projects with scrolling text, animations, and simple graphics. It is an ideal choice for wearable electronics, custom displays, and interactive art installations.
Pin | Function | Description |
---|---|---|
GND | Ground | Common ground for power and logic |
3V | Power | 3.3V power supply input |
SDA | Data | I2C data line |
SCL | Clock | I2C clock line |
RST | Reset | Reset pin (optional use) |
#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 the 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 to the matrix
matrix.writeDisplay(); // Update the display with the new data
delay(2000); // Wait for 2 seconds
}
Note: The above code is for illustration purposes. You will need to adjust the I2C address (0x70
) if you have changed the default address or if you are using multiple LED matrices on the same I2C bus.
Q: Can I use this LED matrix with other microcontrollers besides the Feather series?
A: Yes, as long as the microcontroller supports I2C communication and can provide the necessary power requirements.
Q: How do I change the I2C address of the matrix?
A: The I2C address can be changed by soldering the address jumpers on the back of the PCB. Refer to the Adafruit guide for detailed instructions.
Q: Is it possible to chain multiple matrices together?
A: Yes, multiple LED matrices can be chained together by connecting their I2C lines in parallel and assigning unique addresses to each matrix.
Q: Can I display images on the matrix?
A: Yes, you can display bitmap images, but they need to be monochrome and formatted to fit the 8x16 resolution of the matrix.
For further assistance, consult the Adafruit forums or the detailed product guides available on the Adafruit website.