QB059 LCD 1602 I2C Module

1.Product Introduction

../../_images/LCD-1.png

LCD (Liquid Crystal Display) is a passive display, that is, the liquid crystal itself does not emit light, it needs a backlight to provide background brightness, the use of electric fields to control the arrangement of liquid crystal molecules, so as to change the transmission of light and block, to achieve image display.

LCD 1602 I2C Module As the name suggests, this module is a 16 character x2 line LCD display module (can display 32 ASCII characters), and with an I2C communication interface module, the default I2C address 0x27, with a blue potentiometer on the back. Can be used to adjust the backlight (when the character display is not clear, you need to adjust the backlight to make the character display clearly).

Application reference: This module can be used for data display of control panel, electronic scale, electronic clock, etc.

2.Parameter Specification

Parameter

Value//Description

Operating voltage

3.3V~5V

Operating temperature

-0°C~+70°C

Number of lattice

16*02

Display color

Blue

Communication mode

IIC

Size

80cm*36cm*11cm

../../_images/LCD-4.jpg

3.Wiring Diagram

../../_images/LCD-2.png

LCD 1602 I2C Module

UNO

VCC

5V

GND

GND

SCL

SCL

SDA

SDA

4.Sample Code

 1//www.acebott.com
 2#include <Wire.h>
 3#include <LiquidCrystal_I2C.h>
 4// Create a LiquidCrystal_I2C object with LCD address and number of columns and rows
 5LiquidCrystal_I2C mylcd(0x27, 16, 2);
 6void setup(){
 7  // Initialize the LCD
 8  mylcd.init();
 9  // Turn on the backlight
10  mylcd.backlight();
11}
12void loop(){
13  // Set the cursor position to the first row, first column
14  mylcd.setCursor(0, 0);
15  // Print the text "HELLO" on the LCD
16  mylcd.print("HELLO");
17  // Set the cursor position to the second row, first column
18  mylcd.setCursor(0, 1);
19  // Print the text "ACEBOTT" on the LCD
20  mylcd.print("ACEBOTT");
21}

5.Test Result

After you have successfully connected the line according to the wiring diagram and successfully uploaded the correct program.

Your lcd screen will light up with “HELLO” on the first line and “ACEBOTT” on the second line.

../../_images/LCD-3.png

Hint

If the lcd screen cannot display characters normally, check whether the line is connected correctly and adjust the sliding rheostat behind to adjust the backlight.

6.Related Resources

7.Get One Now

B2B Business: info@acebott.com

Individual buyer: shop on aliexpress