Datasheet

Page 5
Printing and typographical errors reserved.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice.
EA DOGS104-A
SETTING THE CONTRAST
The contrast for the EA DOGS104-A can be set by command. This is done using bits C0 through C5
in the commands "Contrast Set" and "Power/Icon Control/Contrast Set". Generally, the contrast is
set once only. Thanks to the integrated temperature compensation function, it’s kept constant allover
the entire operating temperature range (-20 to +70°C).
Further information about the commands of the SSD1803A, please refer to the datasheet:
http://www.lcd-module.de/fileadmin/eng/pdf/zubehoer/ssd1803a_2_0.pdf
Contrast set
Command
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Hex
Remark
Function Set
0 0 0 0 1 1 1 0 0 1
$39 8-Bit data length extension Bit RE=0; IS=1
Power control
0 0 0 1 0 1 0 1 1 0
$56 Booster on and set contrast (DB1=C5, DB0=C4)
Contrast Set 0 0 0 1 1 1 1 0 1 0 $7A Set contrast (DB3-DB0=C3-C0)
Function Set
0 0 0 0 1 1 1 0 1 0
$38 8-Bit data length extension Bit RE=0; IS=0
DDRAM ADDRESS / LINE COUNT
The display controller SSD1803A affords the opportunity of double height fonts. The different line
combinationes with its corresponding initialization commands are shown in the following table.
Ehe DDRAM address depends on line count and viewing direction.
Bottom view DDRAM
ADDRESS
(0x80+adr)
Top view DDRAM
ADDRESS
(0x80+adr)
Set line count
(RS = 0, R/W = 0)
0x00
0x20
0x40
0x60
0x0A
0x2A
0x4A
0x6A
0x38 ->Function set: DH = 0
0x00
0x20
0x40
0x0A
0x2A
0x4A
0x3A ->Function set: RE = 1
0x1F -> 3 Lines top
0x3C ->Function set: RE = 0, DH = 1
0x00
0x20
0x40
0x0A
0x2A
0x4A
0x3A ->Function set: RE = 1
0x17 -> 3 Lines middle
0x3C ->Function set: RE = 0, DH = 1
0x00
0x20
0x40
0x0A
0x2A
0x4A
0x3A ->Function set: RE = 1
0x13 -> 3 Lines bottom
0x3C ->Function set: RE = 0, DH = 1
0x00
0x20
0x0A
0x2A
0x3A ->Function set: RE = 1
0x1B -> 2 Lines
0x3C ->Function set: RE = 0, DH = 1