

The Adafruit Mini 8x8 LED Matrix Backpack - Red (Manufacturer Part ID: 870) is a compact and versatile LED matrix driver designed to simplify the control of an 8x8 LED matrix display. This module integrates seamlessly with microcontrollers via I2C communication, enabling efficient control of the display with minimal wiring. It features built-in brightness control and multiplexing capabilities, making it ideal for applications requiring visual feedback or simple animations.








The following table outlines the key technical details of the Adafruit Mini 8x8 LED Matrix Backpack:
| Specification | Details |
|---|---|
| Manufacturer | Adafruit |
| Manufacturer Part ID | 870 |
| LED Matrix Dimensions | 8x8 (64 LEDs) |
| Communication Protocol | I2C |
| Operating Voltage | 5V DC |
| Current Consumption | ~80mA (varies with brightness and LEDs) |
| Brightness Control | Built-in |
| Dimensions | 27mm x 27mm x 4mm |
The module has four pins for I2C communication and power. The pinout is as follows:
| Pin | Name | Description |
|---|---|---|
| 1 | VIN | Power input (5V DC). Supplies power to the LED matrix and internal circuitry. |
| 2 | GND | Ground. Connect to the ground of your power supply or microcontroller. |
| 3 | SDA | I2C data line. Connect to the SDA pin of your microcontroller. |
| 4 | SCL | I2C clock line. Connect to the SCL pin of your microcontroller. |
Wiring the Module:
VIN pin to a 5V power source.GND pin to the ground of your power source or microcontroller.SDA pin to the I2C data line of your microcontroller.SCL pin to the I2C clock line of your microcontroller.Installing Required Libraries:
Programming the Module:
0x70, but it can be changed by soldering the address jumpers on the back of the module.Below is an example code snippet to display a simple pattern on the LED 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 LED matrix
matrix.begin(0x70); // Default I2C address is 0x70
matrix.clear(); // Clear the display
matrix.writeDisplay();
}
void loop() {
// Draw a smiley face pattern on the matrix
static const uint8_t smiley[] = {
0b00111100,
0b01000010,
0b10100101,
0b10000001,
0b10100101,
0b10011001,
0b01000010,
0b00111100
};
// Write the pattern to the display
for (uint8_t i = 0; i < 8; i++) {
matrix.drawBitmap(0, 0, smiley, 8, 8, LED_ON);
}
matrix.writeDisplay();
delay(1000); // Wait for 1 second
}
The LED matrix does not light up:
VIN and GND pins are correctly connected to a 5V power source.SDA and SCL) and ensure they are properly wired to the microcontroller.0x70 by default) is being used in your code.Flickering or unstable display:
Unable to upload code to the Arduino:
Q: Can I use multiple LED matrix modules on the same I2C bus?
A: Yes, you can use up to 8 modules by configuring unique I2C addresses for each module. This can be done by soldering the address jumpers on the back of the module.
Q: What is the maximum brightness level?
A: The brightness is controlled internally by the module and can be adjusted via the Adafruit library. The maximum brightness depends on the power supply and the number of LEDs lit simultaneously.
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.
This concludes the documentation for the Adafruit Mini 8x8 LED Matrix Backpack - Red.