IN44780U
CONTROL and DISPLAY COMMANDS
Command
RS R/W DB
7
DB
6
DB
5
DB
4
DB
3
DB
2
DB
1
DB
0
Execution time
(f
OSC
=250KHz)
Remark
DISPLAY CLEAR
L
RETURN HOME
L
ENTRY MODE SET L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
L
H
L
H
I/D
H
X
SH
1.64 ms
1.64 ms
40µs
Cursor move to first digit
*I/D: set cursor move
direction
I/D
H
L
Increase
Decrease
*SH: Specifies shift of
display
SH
H
L
Display is
shifted
Display is
not shifted
Display on
Display off
Cursor on
Cursor off
Blinking on
Blinking off
Display shift
Cursor move
Right shift
Left shift
8 bits
interface
4 bits
interface
2 line display
1 line display
5x10 dots
5x7 dots
DISPLAY ON/OFF
L
L
L
L
L
L
H
D
C
B
40µs
*Display
D
H
L
H
L
H
L
H
L
H
L
H
L
*Cursor
C
*Blinking
B
SHIFT
L
L
L
L
L
H
S/C R/L X
X
40µs
SC
R/L
SET FUNCTION
L
L
L
L
H
DL
N
F
X
X
40µs
DL
N
H
L
H
L
F
SET CG RAM
ADDRESS
SET DD RAM
ADDRESS
READ BUSY FLAG
& ADDRESS
L
L
L
L
L
H
L
H
H
CG RAM address
(corresponds to cursor
address)
DD RAM address
40µs
40µs
0µs
CG RAM Data is sent and
received after this setting
DD RAM Data is sent and
received after this setting
BF
H
L
Busy
Ready
BF
Address Counter used for
Both DD & CG RAM address
WRITE DATA
READ DATA
H
H
L
H
Write Data
Read Data
46µs
46µs
-Reads BF indication
internal operating
is being performed.
-Reads address
counter contents
Write data DD or CG RAM
Read data from DD or CG
RAM
Note: X – Don’t care.
8