Ks0061 keyestudio 1602 I2C Module

From Keyestudio Wiki
Revision as of 10:51, 15 November 2017 by Keyestudio (talk | contribs) (→‎Buy from)
Jump to navigation Jump to search

Keyestudio 1602 I2C Module


thumb thumb

Introduction

keyestudio 1602 I2C module is a 16 character by 2 line LCD display with Blue background and White backlight. The original 1602 LCD needs 7 IO ports to be up and running, ours is built with Arduino IIC/I2C interface, saving you 5 IO ports. This LCD is ready-to-use because it is compatible with the Arduino Liquid Crystal Library.


Specification

  • I2C Address:0x27
  • Back lit (Blue with white char color)
  • Supply voltage: 5V
  • Interface:I2C/TWI x1,Gadgeteer interface x2
  • Adjustable contrast
  • Size:82x35x18 mm


Connection Diagram

I602 is equipped with 4 pins in total. SCL should be connected to analog 5, SDA to analog 4, VCC to +5V and GND to ground. Below is connection diagram for your reference:

thumb

Sample Code

//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
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(3,0);
lcd.print("Hello, world!");
lcd.setCursor(2,1);
lcd.print("keyestudio!");
}
void loop()
{
}

Resources

Get the Libraries of Wire and LiquidCrystal_I2C

http://www.keyestudio.com/files/index/download/id/1507607763/

Video

http://www.keyestudio.com/wp/2016/05/ks0061-keyestudio-1602-i2c-lcd-module/

Datasheet

http://www.keyestudio.com/files/index/download/id/1463716146/

Buy from

Official Website

http://www.keyestudio.com/keyestudio-1602-i2c-module-for-arduino.html

Amazon Store

https://www.amazon.com/Keyestudio-Display-Module-Arduino-raspberry/dp/B0177XQE7K/ref=sr_1_1?ie=UTF8&qid=1487126713&sr=8-1&keywords=keyestudio+1602+I2C+Module