Ks0061 keyestudio 1602 I2C Module: Difference between revisions
Keyestudio (talk | contribs) (Created page with "==Keyestudio 1602 I2C Module== <br>500px|frameless|thumb<br> ==Introduction== keyestudio 1602 I2C module is a 16 character by 2 line LCD display with Bl...") |
Keyestudio (talk | contribs) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Keyestudio 1602 I2C Module== | ==Keyestudio 1602 I2C Module== | ||
<br>[[File: | <br>[[File:KS0061 (6).png|500px|frameless|thumb]] [[File:Ks0061-7.png|500px|frameless|thumb]] <br> | ||
<br> | |||
==Introduction== | ==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.<br> | keyestudio 1602 I2C module is a 16 character by 2 line LCD display with Blue background and White backlight. <br> | ||
The original 1602 LCD needs 7 IO ports to be up and running, but ours is built with Arduino IIC/I2C interface, saving you 5 IO ports. <br> | |||
This LCD is ready-to-use because it is compatible with the Arduino Liquid Crystal Library.<br> | |||
LCDs are great for printing data and showing values. Adding an LCD to your project will make it super portable and allow you to integrate up to 32 characters (16x2) of information.<br> | |||
On the back of LCD display there is a blue potentiometer. You can turn the potentiometer to adjust the contrast. <br> | |||
Notice that the screen will get brighter or darker and that the characters become more visible or less visible. <br> | |||
<br> | |||
==Specification== | ==Specification== | ||
*I2C Address:0x27 | * I2C Address:0x27 | ||
* | * Backlight (Blue with white char color) | ||
*Supply voltage: 5V | * Supply voltage: 5V | ||
* Adjustable contrast | |||
*Adjustable contrast | |||
<br> | |||
===PINOUTS=== | |||
* GND: A pin that connects to ground | |||
* VCC: A pin that connects to a +5V power supply | |||
* SDA: A pin that connects to analog port A4 for IIC communication | |||
* SCL: A pin that connects to analog port A5 for IIC communication | |||
<br> | |||
==Connection Diagram == | ==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:<br> | 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. <br> | ||
<br>[[File: | Below is connection diagram for your reference:<br> | ||
<br>[[File:Ks0061-1-1.png|500px|frameless|thumb]]<br> | |||
<br> | |||
==Sample Code== | ==Sample Code== | ||
Line 41: | Line 56: | ||
} | } | ||
</pre> | </pre> | ||
<br> | |||
== What You Will See == | |||
Hookup well and upload the code to board, you should see the words “ Hello, World!” and “keyestudio” pop up on your LCD. <br> | |||
<br>[[File:Ks0061-2-2.png|500px|frameless|thumb]]<br> | |||
<br> | |||
<span style=color:red> Remember you can adjust the contrast by turning the potentiometer on the back if you can’t make out the words clearly. <br> | |||
<br>[[File:Lcd 1602.png|600px|frameless|thumb]]<br> | |||
If you have any issues, make sure your code is correct and double-check your connection.<br> | |||
<br> | |||
==Resources == | |||
* '''Get the Libraries of Wire and LiquidCrystal_I2C and Code''' <br> | |||
https://fs.keyestudio.com/KS0061 | |||
* '''Video'''<br> | |||
http://video.keyestudio.com/ks0061/ | |||
<br> | |||
==Buy from == | |||
*[https://www.keyestudio.com/free-shipping-keyestudio-16x2-1602-i2c-twi-lcd-display-module-for-arduino-uno-r3-mega-2560-white-in-blue-p0422-p0422.html '''Official Website'''] | |||
*[https://www.aliexpress.com/store/product/Free-shipping-IIC-I2C-1602-LCD-display-module-for-arduino/1452162_2045929386.html?spm=2114.12010615.8148356.15.6e4c3423BHKCZS '''Aliexpress Store'''] | |||
*[https://www.amazon.com/Keyestudio-Display-Module-Arduino-raspberry/dp/B0177XQE7K/ '''Amazon Store'''] | |||
[[category:Module]] | [[category:Module]] |
Latest revision as of 09:10, 8 January 2021
Keyestudio 1602 I2C Module
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, but 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.
LCDs are great for printing data and showing values. Adding an LCD to your project will make it super portable and allow you to integrate up to 32 characters (16x2) of information.
On the back of LCD display there is a blue potentiometer. You can turn the potentiometer to adjust the contrast.
Notice that the screen will get brighter or darker and that the characters become more visible or less visible.
Specification
- I2C Address:0x27
- Backlight (Blue with white char color)
- Supply voltage: 5V
- Adjustable contrast
PINOUTS
- GND: A pin that connects to ground
- VCC: A pin that connects to a +5V power supply
- SDA: A pin that connects to analog port A4 for IIC communication
- SCL: A pin that connects to analog port A5 for IIC communication
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:
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() { }
What You Will See
Hookup well and upload the code to board, you should see the words “ Hello, World!” and “keyestudio” pop up on your LCD.
Remember you can adjust the contrast by turning the potentiometer on the back if you can’t make out the words clearly.
If you have any issues, make sure your code is correct and double-check your connection.
Resources
- Get the Libraries of Wire and LiquidCrystal_I2C and Code
https://fs.keyestudio.com/KS0061
- Video
http://video.keyestudio.com/ks0061/