English
Language : 

EADIP162-DNLED Datasheet, PDF (3/5 Pages) List of Unclassifed Manufacturers – LCD-MODULE 2x16 - 6.68mm INCL. CONTROLLER HD44780
Specifications may be changed without
prior notice. Printing error reserved
EA DIP162-D
Page 3
Table of command
Instruction
Code
RS
R/W
DB
7
DB
6
DB
5
DB
4
DB
3
DB
2
DB
1
DB
0
Description
Clear Display
0
0
0
0
0
0
0
0
0
1
Clears all display and returns the cursor
to the home position (Address 0).
Cursor At Home
Returns the Cursor to the home position
0
0
0
0
0
0
0
0
1
*
(Address 0). Also returns the display
being shifted to the original position. DD
RAM contents remain unchanged.
Entry Mode Set
Sets the Cursor move direction and
0
0
0
0
0
0
0
1
I/D
S
specifies or not to shift the display.
These operation are performed during
data write and read.
Display On/Off
Control
Sets ON/OFF of all display (D) cursor
0 0 0 0 0 0 1 D C B ON/OFF (C), and blink of cursor position
character (B).
Cursor / Display
Shift
0
0
0
00
1 S/C R/L *
*
Moves the Cursor and shifts the display
without changing DD RAM contents.
Function Set
Sets interface data length (DL) number
0 0 0 0 1 DL N F * * of display lines (L) and character font
(F).
CG RAM Address
Set
0
0
0
1
ACG
Sets the CG RAM address. CG RAM
data is sent and received after this
setting.
DD RAM Address
Set
0
0
1
ADD
Sets the DD RAM address. DD RAM
data is sent and received after this
setting.
Busy Flag / Address
Read
0
1 BF
AC
Reads Busy flag (BF) indicating internal
operation is being performed and reads
address counter contents.
CG RAM / DD RAM
Data write
1
0
Write Data
Writes data into DD RAM or CG RAM
CG RAM / DD RAM
Data Read
1
1
Read Data
Reads data from DD RAM or CG RAM
Execute
Time
(max.)
1.64ms
1.64ms
40µs
40µs
40µs
40µs
40µs
40µs
-
40µs
40µs
Creating your own characters
All these character display modules got the feature to create 8 own characters (ASCII Codes
0..7) in addition to the 192 ROM fixed codes.
1.) The command "CG RAM Address Set"
defines the ASCII code (Bit 3,4,5) and
the dot line (Bit 0,1,2) of the new
Set CG RAM Address
Adresse
Hex
Data
Bit
Hex
7 65 4 32 10
character. Example demonstrates
0 0 0 $40
0 0 1 0 0 $04
creating ASCII code $00.
2.) Doing 8 times the write command
"Data Write" defines line by line the
new character. 8th. byte stands for the
0 0 1 $41
0 1 0 $42
0 1 1 $43
0 10 0 0
1 0 0 $44
1 0 1 $45
0 0 1 0 0 $04
0 0 1 0 0 $04
0 0 1 0 0 $04
XXX
1 0 1 0 1 $15
0 1 1 1 0 $0E
cursor line.
3.) The new defined character can be
1 1 0 $46
1 1 1 $47
0 0 1 0 0 $04
0 0 0 0 0 $00
used as a "normal" ASCII code (0..7); use with "DD RAM Address Set" and "Data Write".
INITIALISATION FOR A 2 LINE DISPLAY / 8-BIT MODE
Command
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Remark
Function Set
0 0 0 0 1 1 1 0 0 0 8-Bit Data Length, 2/4 lines, 5x7 Font
Display ON/OFF 0 0 0 0 0 0 1 1 1 1 Display on, Cursor visible, Cursor blink
Clear Display
0 0 0 0 0 0 0 0 0 1 Clear Display, Cursor Home
Entry Mode Set
0 0 0 0 0 0 0 1 1 0 Cursor Auto-Increment