You are on page 1of 3

LCD

LCD (Liquid Crystal Display) screen is an electronic display module and find a wide
range of applications. A 16x2 LCD display is very basic module and is very commonly
used in various devices and circuits. These modules are preferred over seven segments
and other multi segment LEDs. The reasons being: LCDs are economical; easily
programmable; have no limitation of displaying special & even custom characters
(unlike in seven segments), animations and so on.
A 16x2 LCD means it can display 16 characters per line and there are 2 such lines. In
this LCD each character is displayed in 5x7 pixel matrix. This LCD has two registers,
namely, Command and Data.
The command register stores the command instructions given to the LCD. A command
is an instruction given to LCD to do a predefined task like initializing it, clearing its
screen, setting the cursor position, controlling display etc. The data register stores the
data to be displayed on the LCD. The data is the ASCII value of the character to be
displayed on the LCD. Click to learn more about internal structure of a LCD.

Pin Diagram:

Pin Description:
Pin
Function
No
1
Ground (0V)
2
Supply voltage; 5V (4.7V 5.3V)
3
Contrast adjustment; through a variable resistor
4
Selects command register when low; and data register
when high
5
6
7
8
9
10
11
12
13
14
15

Low to write to the register; High to read from the register


Sends data to data pins when a high to low pulse is given

8-bit data pins

Backlight VCC (5V)

Name
Ground
Vcc
VEE
Register Select
Read/write
Enable
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
Led+

16

Backlight Ground (0V)

Led-

You might also like