Herunterladen Diese Seite drucken

pollin electronic 120 487 Montage Seite 7

Werbung

Initialisierung
Die Initialisierung des Displays erfolgt mit folgender Kommandosequenz ins Control-Register:
F0h
RE = 0
40h
start display line =0
50h
start display line =0
61h
70h
n-line alternating =2
81h
display on
92h
control register 2
A1h
x auto increment
B2h
power on
DEh
electronic volume = off (nicht verfügbar)
F1h
RE = 1
E0h
1/64 duty
F0h
RE = 0
Anschlussbelegung des LC-Display-Moduls
Pin
Name
1
n.c.
2
GND
3
/RESB
4
/CSB
5
RS
6
M86
7
VDD
8
/WRB
9
/RDB
6800 Busprotokoll: E (high-aktive)
10
D0
11
D1
12
D2
13
D3
14
D4
15
D5
16
D6
17
D7
18
GND
19
VDD
20
Vo
21
GND
22
n.c.
Funktion
offen lassen
Masse
low = Display Reset
Display-Auswahl (low-aktiv)
Registerauswahl,
Data (low) / Control (high)
Busprotokoll,
8080/Z80 (low) / 6800 (high)
Betriebsspannung +5 V
8080 Busprotokoll:
Write enable (low-aktiv)
6800 Busprotokoll: R/W
8080 Busprotokoll:
Read enable (low-aktiv)
Datenbus Bit 0
Datenbus Bit 1
Datenbus Bit 2
Datenbus Bit 3
Datenbus Bit 4
Datenbus Bit 5
Datenbus Bit 6
Datenbus Bit 7
Masse
Betriebsspannung +5 V
LCD-Betriebsspannung, ca. +15 V
Masse
offen lassen
Pin 1
Pin 2
7

Werbung

loading