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

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