Introduction
Have you been fed up with Black/White LCD screen? Do you want to try a colorful one? DFRobot I2C 16x2 Arduino LCD with RGB Backlight Display module will bring you a new experience about screen. It comes with RGB full color backlight, which has 16 million kinds of color. Usually, Arduino LCD display projects will run out of pin resources easily, especially with Arduino Uno. And it is also very complicated with the wire soldering and connection. This I2C 16x2 LCD Screen is using an I2C communication interface. It means it only needs 4 pins for the LCD display: VCC, GND, SDA, SCL. It will saves at least 4 digital / analog pins on Arduino. And Gravity interface make it easier to use with our Gravity: IO expansion shield.
Specification
- Operating Voltage: 3.3V ~ 5.0V
- Operating Current: ≤60mA
- Display: 16 * 2
- Communication: I2C
- Backlight: RGB adjustable backlight (16 million)
- Operating Temperature: -20 to 70 ℃
- Storage Temperature: -30 to 80 ℃
- Dimension: 87.0 * 32.0 * 13.0mm/3.42 * 1.26 * 0.51 inches
Board Overview

Num | Label | Description |
---|---|---|
1 | VCC | 3.3~5.0V |
2 | GND | GND |
3 | SCL | I2C-SCl |
4 | SDA | I2C- SDA |
Tutorial
Connect all parts as the diagram, upload the sample code into your UNO, then you can input RGB values to adjust backlit color.
Requirements
Hardware
- DFRduino UNO (or similar) x 1
- Gravity IO expansion Shield x1
- Gravity: I2C LCD1602 RGB Backlight Module x1
- M-M/F-M/F-F Jumper wires
Software
- Arduino IDE, Click to Download Arduino IDE from Arduino®
Connection Diagram

Sample Code
Please download the LCD library: DFRobot RGB LCD. About How to install Libraries in Arduino IDE
When uploaded the codes into UNO, open serial monitor, set baud rate to 115200 and select no EOF.
Note: you have to reset the mainboard for every input. The RGB range is 0-255.

Input by a group of 4 numbers. For instance, for 12302540123, the input result will be 123,254,123.


### Expected Result
The backlit color of the LCD1602 module changes according to the input value.
## FAQ
| For any questions, advice or cool ideas to share, please visit the [**DFRobot Forum**](https://www.dfrobot.com/forum/). |
| ---------------------------------------------------------------------------------------------------------------------- |
## More Documents
- [LCD1602 RGB Backlight Module Datasheet](https://github.com/DFRobot/DFRobot_RGBLCD/raw/master/DFR0464 Datasheet.pdf)
- [Arduino Library (Github Repository)](https://github.com/DFRobot/DFRobot_RGBLCD)