Grove - LCD RGB Backlight

From Wiki 来自痴汉的爱
Jump to: navigation, search


Serial LEC RGB Backlight Lcd.jpg

Done with tedious mono color backlight? This Grove enables you to set the color to whatever you like via the simple and concise Grove interface. It takes I2C as communication method with your microcontroller. So number of pins required for data exchange and backlight control shrinks from ~10 to 2, relieving IOs for other challenging tasks. Besides, Grove - LCD RGB Backlight supports user-defined characters. Want to get a love heart or some other foreign characters? Just take advantage of this feature and design it!

This product is a replacement of Grove - Serial LCD. If you are looking for primitive 16x2 LCD modules, we have green yellow backlight version and blue backlight version on sale also.

Get One Now Banner.png



  • Vcc Voltage: 5V
  • I/O Voltage: 3.3/5V
  • Operating Current<60mA
  • CGROM: 10880 bit
  • CGRAM: 64*8 bit
  • Colorful RGB Backlight
  • Built-in English and Japanese fonts
  • I2C communication, uses only two IOs
  • Automatic power-on reset

Getting started

This demonstration will show you how to use Grove - LCD RGB Backlight, we need a Seeeduino V3.0 else.

Hardware Installation

Hardware installation is very easy, because there's an I2C Grove in Seeeduino,
so what we need to do is connect it to I2C Grove via a Grove cable.

Serial LCD RGB Backlight Connect.jpg

Download Code and Upload

You can download the demo code in github, click here, then extract it to anywhere.

If you have some problem with this step, please refer to Getting Start With Seeeduino

there is a Hello World example in the library, open it, and upload to Seeeduino V3.0.
then you can see "Hello world" on the first row, and second row will print the number of second since reset.

Serial LCD RGB Backlight White.jpg

Change Color of Backlight

One of Grove - LCD RGB Backlight's most important feature is: you can change the color backlight, and it's a very simple thing, just use the following function:

void setRGB(int r, int g, int b);

Then let's try a Red backlight.

Modify the code about color into :

const int colorR = 255;
const int colorG = 0;
const int colorB = 0;

Upload the code again, woo, see the backlight turn to Red? Then why not try another color? Whatever you like.

With Raspberry Pi

This example will change backlight color and display text. You should connect to GrovePi+ with it like the following picture.

Grovepi+ grove rgb lcd.jpg
# Grovepi + grove RGB LCD module
# Example for using the Grove I2C color LCD
from grove_rgb_lcd import *

    setText("Hello world\nLCD test")
    for c in range(0,255):
    setText("Bye bye, this should wrap")

Run The Program

  • Find the path to the file(According to your own path)
   cd GrovePi/Software/Python/grove_rgb_lcd/
  • Run program
    sudo python

Related Projects

The best way to learn something, is to create a project with it.

Recipe Community is a place which gathers a lot of amazing projects with step-by-step tutorials.

Makers in the community have made a lot of awesome projects with the Grove - LCD RGB Backlight , check this out!

Pringles Can antenna with a LinkIt ONE


Make a focused antenna with a pringles can.

Wiki makeitnow logo.png

A Smart home monitoring equipment by BBG

Recipe - A Smart home monitoring equipment by BBG .jpg

Get to know the temperature and pressure around you with a smart DIY home monitor

Wiki makeitnow logo.png



LCD Datasheet

BackLight Datasheet

Wiki in PDF Format

Help us to make it better

Personal tools