
This circuit uses an Arduino UNO to interface with an Adafruit TCS34725 RGB color sensor, a 128x64 OLED display, and a 16x2 I2C LCD. The Arduino reads color data from the sensor and displays the color information on both the OLED and LCD screens.

The Adafruit Positive RGB 2x16 LCD is a versatile and vibrant display module capable of showing up to 32 characters across two lines, with the added feature of a full RGB (Red, Green, Blue) backlight. This allows for a wide range of colors to be displayed behind the text, making it suitable for various applications such as user interfaces, status displays, simple games, and any project where visual feedback is necessary.

This circuit uses an Arduino UNO to interface with an Adafruit TCS34725 RGB color sensor, a 128x64 OLED display, and a 16x2 I2C LCD. The Arduino reads color data from the sensor and displays the color information on both the OLED and LCD screens.

This circuit consists of an Arduino Mega 2560 microcontroller connected to a 16x2 I2C LCD screen. The LCD screen is powered by the Arduino's 5V and GND pins, and communicates with the Arduino via the I2C protocol using the SCL and SDA pins.

This circuit connects an Arduino Leonardo microcontroller to a 16x2 LCD display via an LCM1602 IIC interface module, enabling the display of text on the LCD. The Arduino is programmed to display the messages 'TEST LCD i2C' and 'KelasRobot.com' on the LCD. The IIC module facilitates communication between the Arduino and the LCD using the I2C protocol, simplifying the wiring and pin usage.

This circuit features an Arduino Leonardo microcontroller connected to a 16x2 I2C LCD screen, powered by a 5V battery. The Arduino is programmed to display and continuously scroll a message on the LCD. The I2C communication protocol is used for the microcontroller to interface with the LCD, utilizing the SDA and SCL connections for data transfer.
| Pin Number | Name | Description |
|---|---|---|
| 1 | GND | Ground connection |
| 2 | VCC | Power supply (5V) |
| 3 | SDA | I2C data line |
| 4 | SCL | I2C clock line |
| 5 | LED+ | Anode for the RGB backlight (5V) |
| 6 | R | Red cathode for the RGB backlight |
| 7 | G | Green cathode for the RGB backlight |
| 8 | B | Blue cathode for the RGB backlight |
#include <Wire.h>
#include <Adafruit_RGBLCDShield.h>
// Initialize the display with the I2C addr 0x7C
Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield(0x7C >> 1);
void setup() {
// Set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Set the backlight color to green
lcd.setBacklight(0, 255, 0);
}
void loop() {
// Print a message to the LCD.
lcd.setCursor(0, 0);
lcd.print("Hello, World!");
}
Q: Can I use this display with a 3.3V system? A: Yes, but you will need to ensure that the I2C lines are level-shifted to be compatible with the 5V logic level of the LCD.
Q: How do I change the backlight color? A: You can change the backlight color by adjusting the PWM values sent to the R, G, and B pins.
Q: What is the maximum current the backlight can draw? A: The maximum current for the backlight will depend on the current-limiting resistor used. Check the datasheet for the RGB LEDs used in the backlight for their maximum current ratings.