Data Sheet
2
EA DIP162-DNLED
PINBELEGUNG
BEFEHLSTABELLE
Pin Symbol Level Funktion Pin Symbol Level Funktion
1 VSS L Stromversorgung 0V (GND) 10 D3 H / L Display Data
2 VDD H Stromversorgung +5V 11 D4 (D0) H / L Display Data
3 VEE - Kontrastspg. (ca. 0V) 12 D5 (D1) H / L Display Data
4 RS H / L Umschaltung Befehl / Daten 13 D6 (D2) H / L Display Data
5 R/W H / L H=Read, L=Write 14 D7 (D3) H / L Display Data, MSB
6 E H Enable (fallende Flanke) 15 - - frei (siehe EA DIP122-5N)
7 D0 H / L Display Data, LSB 16 - - frei (siehe EA DIP122-5N)
8 D1 H / L Display Data 17 A - LED-Bel. + (RV erford.)
9 D2 H / L Display Data 18 C - LED-Bel. -
Instruction
Code
Description
Execute
Time
(max.)
RS
R/W
DB
7
DB
6
DB
5
DB
4
DB
3
DB
2
DB
1
DB
0
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).
1.64ms
Cursor At Home
0 0 0 0 0 0 0 0 1 *
Returns the Cursor to the home position
(Address 0). Also returns the display
being shifted to the original position. DD
RAM contents remain unchanged.
1.64ms
Entry Mode Set
0 0 0 0 0 0 0 1 I/D S
Sets the Cursor move direction and
specifies or not to shift the display.
These operation are performed during
data write and read.
40µs
Display On/Off
Control
0 0 0 0 0 0 1 D C B
Sets ON/OFF of all display (D) cursor
ON/OFF (C), and blink of cursor position
character (B).
40µs
Cursor / Display
Shift
0 0 0 0 0 1
S/C R/L
* *
Moves the Cursor and shifts the display
without changing DD RAM contents.
40µs
Function Set
0 0 0 0 1 DL N F * *
Sets interface data length (DL) number
of display lines (L) and character font
(F).
40µs
CG RAM Address
Set
0 0 0 1 ACG
Sets the CG RAM address. CG RAM
data is sent and received after this
setting.
40µs
DD RAM Address
Set
0 0 1 ADD
Sets the DD RAM address. DD RAM
data is sent and received after this
setting.
40µs
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
40µs
CG RAM / DD RAM
Data Read
1 1 Read Data
Reads data from DD RAM or CG RAM
40µs
INITIALISIERUNGSBEISPIEL FÜR DEN 8-BIT MODUS
Befehl
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Bemerkung
Function Set
0 0 0 0 1 1 1 0 0 0
8-Bit Datenlänge, 2-/4-zeiliges Display, 5x7 Font
Display ON/OFF
0 0 0 0 0 0 1 1 1 1
Display ein, Cursor ein, Cursor blinken
Clear Display
0 0 0 0 0 0 0 0 0 1
Display löschen, Cursor auf 1. Spalte von 1. Zeile
Entry Mode Set
0 0 0 0 0 0 0 1 1 0
Cursor Auto-Increment