Ks0137 keyestudio EASY plug 1602 I2C Module: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) |
||
Line 74: | Line 74: | ||
==Buy from == | ==Buy from == | ||
'''Official Website''' | *'''Official Website:''' http://www.keyestudio.com/ks0137.html | ||
http://www.keyestudio.com/ | |||
*[https://www.aliexpress.com/store/product/New-Keyestudio-EASY-plug-IIC-I2C-1602-LCD-Module-for-Arduino/1452162_32645935653.html?spm=2114.12010612.8148356.16.627466e6AdFkCx Shop on aliexpress ] | |||
[[category:EASY Plug]] | [[category:EASY Plug]] |
Revision as of 15:36, 22 November 2018
Introduction
This is a basic 16 character by 2 line LCD display with white text on blue background. On the back comes with a potentiometer to adjust the screen contrast. You can use only one line for simple connection.
Specification
- Connector: Easy plug
- Compatible with Arduino LiquidCrystal Library
- White text on blue background
- 16 characters wide, 2 rows
- I2C Address: 0x27
- Back Light: Blue
- Text Color: White
- Supply Voltage: 5V
- Adjusting contrast by a potentiometer
Technical Details
- Dimensions: 99mm*37mm*21mm
- Weight: 37.4g
Connect It Up
Connect the EASY Plug 1602 LCD to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
Upload the Code
Copy and paste below code to Arduino IDE and upload.
//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 “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("keyestudio!"); } void loop() { }
Code to Note:
Before compile the code, do remember to put the libraries needed inside the libraries folder of Arduino IDE directory.
Download all the libraries:
https://drive.google.com/open?id=105RNjo0aDBthorceoKgqaJ251D3tbWlc
What You Should See
Initially, you should see the words “hello, word!” and “keyestudio!” pop up on your LCD.
Remember you can adjust the contrast using the potentiometer on the module back if you can’t make out the words clearly.
Resources
Download the PDF:
https://drive.google.com/open?id=1enfntBGnTz0E5fV7bDyo1V0rx-UG9aHS
Download the libraries:
https://drive.google.com/open?id=105RNjo0aDBthorceoKgqaJ251D3tbWlc
Buy from
- Official Website: http://www.keyestudio.com/ks0137.html