Ks0061 keyestudio 1602 I2C Module

From Keyestudio Wiki
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

https://drive.google.com/open?id=1JUS0I9U2N30nYCxN323SlGm9Ywm_GRp2

Video

http://www.keyestudio.com/wp/ks0061/

PDF

https://drive.google.com/open?id=1Gfm8thFdAjMD9YhceG9Q2_TckFYOhZhP

Buy from

Official Website

http://www.keyestudio.com/ks0061.html

Amazon Store

https://www.amazon.com/Keyestudio-Display-Module-Arduino-raspberry/dp/B0177XQE7K/