ks0137 keyestudio EASY plug 1602 I2C Module
Views:99times 
文章附图


Introduction

EASY plug 1602 I2C module is a 16 character by 2 line LCD display with blue background and white backlight. This LCD is ready-to-use because it is compatible with the Arduino Liquid Crystal Library. The original 1602 LCD needs 7 IO ports to be up and running, this easy plug design makes the wire connection easier than ever.

Note: this module needs to be used together with EASY plug control board.

Specification

Interface: Easy plug

I2C Address: 0x27

Back lit (Blue with white char color)

Supply voltage: 5V

Adjustable contrast

Size: 98*36mm

Weight: 30g











Connection Diagram

Sample Code

//YWROBOT
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>    // Place file “Wire.h” under the directory “library” of Arduino
#include <LiquidCrystal_I2C.h>  // Place file “LiquidCrystal_I2C.h” under the directory “library” of Arduino
LiquidCrystal_I2C lcd(0x27,16,2);  // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
 lcd.init();                      // initialize the lcd
 lcd.init();
 // Print a message to the LCD.
 lcd.backlight();
 lcd.setCursor(2,0);
 lcd.print("Hello, world!");
 lcd.setCursor(2,1);
 lcd.print("Hello, keyes!");
}
void loop()
{
}