Introduction
Single color dot matrix LED displays are common in the market while small RGB displays are in short supply. This Gravity: I2C 8x16 RGB LED Matrix Panel produced by DFRobot has 7 colors and more than 20 images in default, supporting user-defined image setting. It can also show Numbers, Letters and Symbols, and support display scroll. Controlled by IIC agreement, Gravity: I2C 8x16 RGB LED Matrix Panel is easy to connect and convenient to control. Just a special Arduino library can accomplish all designs, which totally free from complex wiring and codes. It can be widely applied to projects like robots, smart home monitoring systems and toy cars…
Specification
- Operating Voltage: 5.0V
- Operating Current: ≤150mA
- Communication: IIC/I2C
- LED Backlight: RGB Adjustable (7 colors)
- Operating Temperature: 0-70℃
- Size: 2.44in x 1.06in (62mm x 27mm)
PinOut
Num | Label | Description |
---|---|---|
1 | + | + |
2 | - | - |
3 | C | IIC Clock Line |
4 | D | IIC Data Line |
Built-in Images
Colors
Print String
- Function: Print a string in the panel.
- Parameters:
- String: string, with “ ” enclosed
- Color: color to show
- Red: RED
- Green: GREEN
- Yellow: YELLOW
- Blue: BLUE
- Purple: PURPLE
- Cyan: CYAN
- White: WHITE
E.g.
Print Numbers and Variables
- Function: Print Numbers and Variables in the plane.
- Parameters:
- Val: int values or int variables
- Color: color to show
- Red: RED
- Green: GREEN
- Yellow: YELLOW
- Blue: BLUE
- Purple: PURPLE
- Cyan: CYAN
- White: WHITE
E.g.
Scroll Display
- Function: Scroll Display
- Parameters:
- Scroll in left: Left
- Scroll in right: Right
- Stop scroll: None
E.g.
Display Pixels
- Function: Spicify a pixel to show
- Parameters:
- x:pixel position in x direction(value:0~7)
- y:pixel position in y direction(value:0~15)
- Color: color to show
- Red: RED
- Green: GREEN
- Yellow: YELLOW
- Blue: BLUE
- Purple: PURPLE
- Cyan: CYAN
- White: WHITE
E.g.
Clear Display
- Function: Clear the display.
- Parameters: None
E.g.
Show All
- Function:
- Parameters:
- Color: color to show
- Red: RED
- Green: GREEN
- Yellow: YELLOW
- Blue: BLUE
- Purple: PURPLE
- Cyan: CYAN
- White: WHITE
- Color: color to show
E.g.
Show Built-in Images
- Function: show built-in 23 images in the display panel, number as 0~22.
- Parameters:
- Color: color to show
- Red: RED
- Green: GREEN
- Yellow: YELLOW
- Blue: BLUE
- Purple: PURPLE
- Cyan: CYAN
- White: WHITE
- Color: color to show
E.g.
Tutorial
Connect hardware accoridng to the PinOut instruction, download Sample Code to the DFRduino UNO R3 (or similar), upload successfully. Then RGB Maxtrix colorful effect could be seen.
Requirements
Hardware
- DFRduino UNO R3 (or similar) x1
- Gravity: I2C 8x16 RGB LED Matrix Panel x1
- IIC Data Line x1
Software
- Arduino IDE (Version requirements: V1.6. ), Click to Download Arduino IDE from Arduino®
Connection Diagram
Sample Code
Click to download libraries and examples. How to install Libraries in Arduino IDE.
Expected Results
Result: Fill in RGB LED Panel in RED, GREEN and BLUE respectively, and show ”DFRobot”.
FAQ
For any questions, advice or cool ideas to share, please visit the DFRobot Forum. |
---|
More Documents
- [Hardware Design Resource](https://github.com/Arduinolibrary/DFRobot_Gravity_I2C_8x16_RGB_LED_Matrix_Panel/raw/master/[DFR0522]RGB LED 8x16 Display Panel_V1.0_.pdf)