Datasheet

Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele.
Seite 2
EA DIP203-6
PINBELEGUNG
BELEUCHTUNG
Der Betrieb der Hintergrundbeleuchtung erfordert eine Stromquelle oder einen externen
Vorwiderstand zur Strombegrenzung. Die Flussspannung der Beleuchtung liegt zwischen 3,0V und
3,6V. Bitte beachten Sie ein Derating für den Betrieb bei Temperaturen > +25°C!
Achtung: Betreiben Sie die Beleuchtung nie direkt an VDD; das kann zur sofortigen Zerstörung
führen!
Zum Ablesen des blauen Displays ist die Hintergundbeleuchtung unbedingt erforderlich. Bei direkter
Sonneneinstrahlung emfehlen wir den J-Typ.
SPI Mode (Lötbrücke "SPI" geschossen)
Pin Symbol Funktion Pin Symbol Funktion
1 VSS Stromversorgung 0V (GND) 13 nicht belegt
2 VDD Stromversorgung +3,3 V 14 VSS Stromversorgung 0V (GND)
3 VCI Kontrastspannungseinstellung 15 SOD Data Out
4 RES L: Reset 16 nicht belegt
5 CS Chip Select 17 nicht belegt
6 SID Data In 18 nicht belegt
7 SCLK Shift Clock 19 nicht belegt
8 nicht belegt 20 nicht belegt
9 nicht belegt 21 nicht belegt
10 nicht belegt 22 nicht belegt
11 nicht belegt 23 A LED-Bel. + (RV erford.)
12 nicht belegt 24 C LED-Bel. -
4-/8-Bit Mode (Auslieferungszustand)
Pin Symbol Funktion Pin Symbol Funktion
1 VSS Stromversorgung 0V (GND) 13 nicht belegt
2 VDD Stromversorgung +3,3 V 14 VSS Stromversorgung 0V (GND)
3 VCI Kontrastspannungseinstellung 15 D0 Display Data, LSB
4 RES L: Reset 16 D1 Display Data D1
5 RS H=Daten; L=Befehl 17 D2 Display Data D2
6 R/W H=Read, L=Write 18 D3 Display Data D3
7 E Enable 19 D4 (D0) Display Data D4
8 nicht belegt 20 D5 (D1) Display Data D5
9 nicht belegt 21 D6 (D2) Display Data D6
10 nicht belegt 22 D7 (D3) Display Data, MSB
11 nicht belegt 23 A LED-Bel. + (RV erford.)
12 nicht belegt 24 C LED-Bel. -
Instruction
C ode
Description
Ex e c u t e
Time
(270kHz)
RE
Bit
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
Clearsall display and returnsthe cursor to the
home position (Address 0).
1.53ms
Cursor At Home 0 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.53ms
Power Dow n
Mode
1 0 0 0 000001PD
Set Power down mode bit.
PD=0: powerdown mode disable
PD=1: powerdown mode enable
39µs
Entry Mode Set
0 0 0 0 0 0 0 0 1 I/D S
Cursor moving direction (I/D=0: dec; I/D=1: inc)
shift enable bit (S=0: disable; S=1: enable shift)
39µs
0 0 0 0 0 0 0 0 1 1 BID
Segment bidirectional function
(BID=0: Seg1->Seg60; BID=1: Seg60->Seg1)
39µs
Dis play On /Off
Control
0 0 0 0 0001DCB
D=0: display off; D=1: display on
C=0: cursor off; C=1: cursor on
B=0: blink off; B=1: blink on
39µs
extended
Function Set
1 0 0 0 0 0 0 1 FW BW NW
FW=0: 5-dot font width; FW=1: 6-dot font width
BW=0: normal cursor; BW=1: inverting cursor
NW=0: 1- or 2-line (see N); NW=1: 4-line display
39µs
Cursor / Display
Shift
0 0 0 0 0 0 1 S/C R/L * *
Movesthe Cursor or shiftsthe display
S/C=0: cursor Shift; S/C=1: display shift
R/L=0: shift to left; R/L=1: shift to right
39µs
Scroll Enable 1 0 0 0 0 0 1 H4H3H2H1
Determine the line for horizontal scroll
39µs
Function Set
0 0 0 0 0 1 DL N RE DH
REV
sets interface data length (DL=0:4-bit; DL=1:8-bit)
number of display lines(N=0: 1-line; N=1: 2-line)
extension register (RE= 0/1)
scroll/shift (DH=0: dot scroll; DH=1: display shift)
reverse bit (REV=0:normal; REV=1:inverse display)
39µs
1 0 0 0 01DLNREBELP
CG-/SEG-RAM blink (BE=0: disable; BE=1:
enable)
LP=0: normal mode; LP=1: low power mode
39µs
CG RAM
Address Set
0 0 0 0 1 AC
Setsthe CG RAM address. CG RAM data is sent
and received after thissetting.
39µs
SEG RAM
Address Set
1 0 0 0 1*
*
AC
Setsthe SEG RAM address. SEG RAM data is
sent and received after this setting.
39µs
DD RAM
Address Set
0 0 0 1 AC
Setsthe DD RAM address. DD RAM data is sent
and received after thissetting.
39µs
Set Scroll
Quantity
1 0 0 1 *
SQ
Setsthe quantity of horizontal dot scroll (DH=0) 39µs
Bus y Flag /
Address Read
* 0 1 BF AC
Reads Busy flag (BF) indicating internal operation
is being performed and readsaddress counter
contents.
-
Write Data * 1 0 Write Data
Writes data into internal RAM
(DD RAM / CG RAM / SEGRAM)
43µs
Re ad Dat a * 1 1 Read Data
Reads data from internal RAM
(DD RAM / CG RAM / SEGRAM)
43µs
BEFEHLSTABELLE (SSD1803)
SPI MODE
Das Modul kann auch mit synchron seriellen Daten beschrieben werden. Dazu muss die Lötbrücke
SPI geschlossen werden. Die entsprechende Pinbelegung ist auf der Seite 2 oben abgebildet und
die Spezifikation zur seriellen Datenübertragung finden Sie im Kontrollerdatenblatt SSD1803:
http:/
/www.lcd-module.de/fileadmin/eng/pdf/zubehoer/ssd1803_2_0.pdf. Die Initialisierung und
Programmierung erfolgt identisch.