Command List
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Display Clear
Brightness Control
1
0
0/1*
0/1*
0/1*
0/1*
0/1*
0/1*
BR1
BR0
Cursor Home
Display ON/OFF
Cursor/Display Shift
0
0
0
0
0
1
S/C
R/L
0/1*
0/1*
Entry Mode Set
Function Set
0
0
0
0
1
IF
0/1*
0/1*
0/1*
0/1*
CG RAM Address
0
0
0
1
|–———————— ACG —————————
———|
DD RAM Address
0
0
1
|————————————— ADD —————————
———|
Busy Flag &
0
1
BF
|————————————— ACC —————————
———|
Address Reading
Write Data To
1
0
|—————————————–– Write Data —————————
———|
CG or DD RAM
Read Data From
1
1
|———————————–––– Read Data —————————
———|
CG or DD RAM
* Either 0 or 1
Command Description
Display Clear
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Cycle Time
100 µs Max
Hex Command:
Description:
Clears the display and sets DD RAM address to 0
Brightness Control
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Cycle Time
1
0
0/1*
0/1*
0/1*
0/1*
0/1*
0/1*
BR1
BR0
1 µs
Hex Command
Description:
Sets the brightness of the screen
Settings:
0
0
200% Brightness Boost
Cursor Home
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Cycle Time
1 µs
Hex Command:
Description:
Clears the contents of the address counter to 0H
Sets the address counter to point to the DDRAM
Sets the display for zero character shift
Display ON/OFF
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Cycle Time
1 µs
Hex Command
Description:
Sets display, cursor and blinking ON/OFF
Blinking is achieved by alternating between a normal and all on display of a character
Cursor blinks with a frequency of 1Hz and DUTY 50%
Settings:
0
0
0
Display OFF, Cursor OFF, Blinking OFF
0
0
1
Display OFF, Cursor OFF, Blinking ON
0
1
0
Display OFF, Cursor ON, Blinking OFF
1
0
0
Display ON, Cursor OFF, Blinking OFF
0
1
1
Display OFF, Cursor ON, Blinking ON
1
0
1
Display ON, Cursor OFF, Blinking ON
1
1
0
Display ON, Cursor ON, Blinking OFF
1
1
1
Display ON, Cursor ON, Blinking ON
Cursor / Display Shift
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Cycle Time
0
0
0
0
0
1
S/C
R/L
1/0
1/0
1 µs
Hex Command
Description:
Shifts display and/or moves cursor position to either left or right w/o reading nor writing to DD RAM
Settings:
S/C
R/L
Cursor Shift
Display Shift
0
0
Move one character to the left
None
0
1
Move one character to the right
None
1
0
Shift one character to the left
Shift one character to the left
1
1
Shift one character to the right
Shift one character to the right
Entry Mode Set
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Cycle Time
1 µs
Hex Command
Description:
Sets cursor move direction (I/D), specifies to shift the display (S).
These operations are performed during data read/write.
Settings:
I/D
S
Write DD RAM Data
Read DD RAM Data
0
0
The cursor moves one character to the left
The cursor moves one character to the left
1
0
The cursor moves one character to the right
The cursor moves one character to the right
0
1
Display shifts one character to the right, cursor remain in same position
The cursor moves one character to the left
1
1
Display shifts one character to the left, cursor remain in same position
The cursor moves one character to the right
Function Set
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Cycle Time
0
0
0
0
1
IF
0/1*
0/1*
0/1*
0/1*
1 µs
Hex Command
Description:
Sets interface data length (IF)
Sets the interface to 8bit or 4 bit mode
Required as part of initialization sequence
Settings:
0
4 bit CPU interface using DB7 to DB0
1
8 bit CPU interface using DB7 to DB4
Set Character Generator (CG) RAM Address
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Cycle Time
0
0
0
1
|–———————— ACG —————————
———|
2 µs
Hex Command:
Description:
Loads a new 6 bit address into the address counter
Sets the address counter to address CG RAM
Set Display Data (DD) RAM Address
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Cycle Time
0
0
1
|————————————— ADD —————————
———|
2 µs
Hex Command:
Hex Command:
Description:
Loads a new 7 bit address into the address counter
Sets the address counter to address DD RAM