Professional Documents
Culture Documents
LCD Interfacing
LCD Interfacing
Programmable Peripheral
Interface
Programming 82C55
Interfacing
44780 LCD
with 8088 CPU
through 8255
PPI
Pinout, commands,
interfacing
LCD Commands
Comma
nd
Function
38H
0EH
0FH
0CH
06H
80H
C0H
Interfacing LCD
with PPI
Writing a command
byte to LCD
10
11
PPI Lines
RS
PC0
RW
PC1
EN
PC2
D0
PA0
D1
PA1
D2
PA2
D3
PA3
D4
PA4
D5
PA5
D6
PA6
D7
PA7
Function
Byte value
Clear display
01H
8-bit interface
38H
Cursor auto-increment
06H
0EH
80H
12
Writing Data on
LCD-Code
13
Writing Command on
LCD-Code
Program the LCD
CMD:
MOV AL, 04H
OUT 82H, AL
MOV AL, 01H
OUT 80H, AL
XOR AL, AL
OUT 82H, AL
RET
14
Writing Data on
LCD-Code
15
Writing Data on
LCD-Code
Assignment # 3
(part 1)
17