

The Adafruit 1.2 Inch 8x8 LED Matrix Backpack - Yellow-Green (Manufacturer Part ID: 1051) is a compact and versatile LED display module. It features an 8x8 grid of yellow-green LEDs, providing a total of 64 individually addressable LEDs. The module is equipped with an I2C-controlled backpack, which simplifies wiring and control, making it an excellent choice for projects requiring visual output.
This component is commonly used in:
Its compact size and ease of use make it suitable for both beginners and advanced users.








| Parameter | Value |
|---|---|
| LED Matrix Dimensions | 8x8 (64 LEDs total) |
| LED Color | Yellow-Green |
| Matrix Size | 1.2 inches |
| Control Interface | I2C |
| Operating Voltage | 5V DC |
| Current Consumption | ~20mA (varies with LED usage) |
| Backpack Chip | HT16K33 LED driver |
| I2C Address Range | 0x70 to 0x77 (configurable) |
The backpack simplifies wiring by exposing only four pins for connection:
| Pin Name | Description | Notes |
|---|---|---|
| VIN | Power supply input (5V) | Connect to 5V power source |
| GND | Ground | Connect to circuit ground |
| SDA | I2C data line | Connect to microcontroller SDA pin |
| SCL | I2C clock line | Connect to microcontroller SCL pin |
Wiring the Matrix Backpack:
Installing Required Libraries:
Configuring the I2C Address:
0x70. If you need to use multiple backpacks, you can change the address by soldering the address jumpers on the back of the module.Programming the Matrix:
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_LEDBackpack.h>
// Create an instance of the LED matrix
Adafruit_8x8matrix matrix = Adafruit_8x8matrix();
void setup() {
// Initialize the matrix
matrix.begin(0x70); // Default I2C address is 0x70
// Display a simple pattern on the matrix
matrix.clear();
matrix.drawPixel(0, 0, LED_ON); // Turn on the top-left LED
matrix.drawPixel(7, 7, LED_ON); // Turn on the bottom-right LED
matrix.writeDisplay(); // Update the display
}
void loop() {
// Scroll a message across the matrix
matrix.clear();
matrix.setCursor(0, 0);
matrix.print("Hi!");
matrix.writeDisplay();
delay(1000);
// Scroll text
for (int i = 0; i < 8; i++) {
matrix.scroll(-1, 0); // Scroll left
matrix.writeDisplay();
delay(200);
}
}
Matrix Not Lighting Up:
Flickering LEDs:
I2C Communication Errors:
Text or Patterns Not Displaying Correctly:
Q: Can I use this module with a 3.3V microcontroller?
A: Yes, the module is compatible with 3.3V logic levels, but you must still provide a 5V power supply to the VIN pin.
Q: How do I change the brightness of the LEDs?
A: Use the setBrightness() function provided by the Adafruit HT16K33 library to adjust the brightness level (0-15).
Q: Can I daisy-chain multiple LED matrix backpacks?
A: Yes, you can connect multiple backpacks by assigning each a unique I2C address using the solder jumpers on the back of the module.
Q: What is the maximum distance for the I2C connection?
A: The I2C bus is designed for short distances (typically less than 1 meter). For longer distances, consider using I2C extenders or repeaters.
This documentation provides all the essential details to get started with the Adafruit 1.2 Inch 8x8 LED Matrix Backpack - Yellow-Green. For further assistance, refer to the official Adafruit guide or community forums.