LCD 1602 display

published: 22 October 2020 / updated 22 October 2020

Lire cette page en français

 

LCD1602, or 1602 character-type liquid crystal display, is a kind of dot matrix module to show letters, numbers, and characters and so on. It's composed of 5x7 or 5x11 dot matrix positions.

Each position can display one character. There's a dot pitch between two characters and a space between lines, thus separating characters and lines. The model 1602 means it displays 2 lines of 16 characters.

Generally, LCD1602 has parallel ports, that is, it would control several pins at the same time. LCD1602 can be categorized into eight-port and four-port connections. If the eight-port connection is used, then all the digital ports of the SunFounder Uno board are almost completely occupied. If you want to connect more sensors, there will be no ports available. Therefore, the four-port connection is used here for better application.

pins for LCD 1602 display

Interface

PIN NO.SYMBOLDESCRIPTIONFUNCTION
1 VSS Ground 0V (GND)
2 VCC Power Supply For Logic Circuit +5V
3 VEE LCD Contrast Adjustment  
4 RS Instruction/Data Register Selection RS = 0 : Instruction Register
RS = 1 : Data Register
5 R/W Read/Write Selection R/W = 0 : Register Write
R/W = 1 : Register Read
6 E Enable Signal  
7 DB0 Data Input/Output Lines 8 BIT: DB0-DB7
8 DB1
9 DB2
10 DB3
11 DB4
12 DB5
13 DB6
14 DB7
15 LED+ Supply Voltage For LED+ +5V
16 LED- Supply Voltage For LED- 0V