Starter Guide
www.adeept.com
- 91 -
Lesson 26 LCD1602 display
Introduction
In this lesson, we will study the LCD1602 and use the IIC interface module
for drive display.
What is LCD1602:
1602 crystal is also called 1602 character crystal. 1602 LCD means that the
display content is 16X2, that is, it can display two lines, each line of 16
characters LCD module, it is a kind of dot matrix type specially used to
display letters, numbers, symbols, etc. It consists of several 5X7 or 5X11 dot
matrix characters, each of which can display one character. The character
bits are separated by one dot pitch and there's a gap between each line.
Therefore, characters are spaced within and between lines.
Pins of an LCD screen are as follows
We can clearly see on the table above that 1, 2 are the power wires. The
voltage of the pin 3 can be used to adjust the contrast of the screen. Pin 4
RS is data and command selection; pin 5 RW is read and write control. Pin 6
EN is a data transfer enable pin, like a clock signal, when a pulse is
generated, the data on the data pin is transferred to the LCD. DB0-DB8 is
the data port of the liquid crystal. Users can choose the 8-bit transmission
mode or switch to the 4-bit transmission mode.