2.2010
EA DIP204-4
LCD MODULE 4x20 - 3.73mm
INCL. CONTROLLER KS0073
g
ntin
u
mo d
ore uire
no m req
EA DIP204B-4NLW
Dimension 75 x 27 mm
FEATURES
*
*
*
*
*
*
*
*
*
*
*
EA DIP204-4HNLED
Dimension 68 x 27 mm
HIGH CONTRAST LCD SUPERTWIST DISPLAY
CONTROLLER KS0073 (NEAR 100% COMPATIBLE WITH HD44780)
INTERFACE FOR 4- AND 8-BIT DATA BUS
SERIAL SPI INTERFACE (SID, SOD, SCLK)
POWER SUPPLY
+3.3..+5V
(-4NLW, -4NLED)
POWER SUPPLY
+5V
( -4HNLED)
OPERATING TEMPERATURE RANGE 0~+50°C (-20..+70°C: -4NLW, -4HNLED)
BUILT-IN TEMPERATURE COMPENSATION (-4NLW, -4HNLED)
LED BACKLIGHT Y/G max. 150mA@+25°C
LOW POWER WITH BLUE-WHITE OPTIC / max. 45mA@+25°C
SOME MORE MODULES WITH SAME MECHANIC AND SAME PINOUT:
- DOTMATRIX 1x8, 2x16
- GRAPHIC 122x32
*
NO SCREWS REQUIRED: SOLDER ON IN PCB ONLY
*
DETACHABLE VIA 9-PIN SOCKET EA B200-9 (2 PCS. REQUIRED)
ORDERING INFORMATION
LCD MODULE 4x20 - 3.73mm WITH LED BACKLIGHT Y/G
SAME BUT FOR T
OP.
-20~+70°C / T
STOR.
-30~+80°C
BLUE-WHITE, T
OP.
-20~+70°C / T
STOR.
-30~+80°C
9-PIN SOCKET, HEIGHT 4.3mm (1 PC.)
ADAPTOR PCB WITH STANDARD PINOUT PITCH 2.54mm
EA
EA
EA
EA
EA
DIP204-4NLED
DIP204-4HNLED
DIP204B-4NLW
B200-9
9907-DIP
ZEPPELINSTRASSE
19 · D- 82 205 GILCHING
PHONE +49-8105-778090· FAX +49-8105-778099· http://www.lcd-module.de
EA DIP204-4
PINOUT
Pin Symbol Level Function
1
2
3
4
5
6
7
8
9
VSS
VDD
VEE
RS (CS)
R/W
(SID)
E (SCLK)
D0 (SOD)
D1
D2
L
H
-
H/L
H/L
H
H/L
H/L
H/L
Power Supply 0V (GND)
Power Supply +5V
Contrast adjustment, input
H=Data, L=Command
H=Read, L=Write
Enable (falling edge)
Display Data, LSB
Display Data
Display Data
Pin Symbol Level Function
10
11
12
13
14
15
16
17
18
D3
D4 (D0)
D5 (D1)
D6 (D2)
D7 (D3)
-
RES
A
C
H/L
H/L
H/L
H/L
H/L
-
L
-
-
Display Data
Display Data
Display Data
Display Data
Display Data, MSB
NC (see EA DIP122-5N)
Reset (internal Pullup 10k)
LED B/L+ Resistor required
LED B/L-
BACKLIGHT
Using the LED backlight requires an current source or external current-limiting resistor. Forward
voltage for yellow/green backlight is 3.9~4.2V and for white LED backlight is 3.0~3.6V. Please take
care of derating for T
a
>+25°C.
Note: - Do never connect backlight direct to 5V; this may destroy backlight immediately !
- Blue-white displays do always need a backlight for contrast (min. 5mA).
TABEL OF COMMAND (KS0073, IE=HIGH)
C ode
Instruction
Clear Display
RE
DB DB DB DB DB DB DB DB
RS
R/W
Bit
7
6
5
4
3
2
1
0
Description
Clears all display and returns the cursor to the
home position (Address 0).
Returns the Cursor to the home position (Address
0). Also returns the display being shifted to the
original position. DD RAM contents remain
unchanged.
Set Power down mode bit.
Execute
Time
(270kHz)
1.53ms
*
0
0
0
0
0
0
0
0
0
1
Cursor At Home
0
0
0
0
0
0
0
0
0
1
*
1.53ms
Power Down
Mode
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
D
1
PD
PD=0: powerdown mode disable
PD=1: powerdown mode enable
Cursor moving direction (I/D=0: dec; I/D=1: inc)
shift enable bit (S=0: disable; S=1: enable shift)
Segment bidirectional function
39µs
Specifications may be changed without prior notice. Printing error reserved.
I/D S
39µs
39µs
39µs
Entry Mode Set
1
Display On/Off
Control
extended
Function Set
Cursor / Display
Shift
Scroll Enable
0
1 BID
(BID=0: Seg1->Seg60; BID=1: Seg60->Seg1)
D=0: display off; D=1: display on
C
B
C=0: cursor off; C=1: cursor on
B=0: blink off; B=1: blink on
FW=0: 5-dot font width; FW=1: 6-dot font width
1
0
0
0
0
0
0
1 FW BW NW
BW=0: normal cursor; BW=1: inverting cursor
NW=0: 1- or 2-line (see N); NW=1: 4-line display
Moves the Cursor or shifts the display
39µs
0
1
0
0
0
0
0
0
0
0
0
0
1
S/C R/L
1
*
*
S/C=0: cursor Shift; S/C=1: display shift
R/L=0: shift to left; R/L=1: shift to right
39µs
39µs
H4 H3 H2 H1
Determine the line for horizontal scroll
sets interface data length (DL=0:4-bit; DL=1:8-bit)
number of display lines (N=0: 1-line; N=1: 2-line)
RE DH
RE
extension register (RE= 0/1)
scroll/shift (DH=0: dot scroll; DH=1: display shift)
reverse bit (REV=0:normal; REV=1:inverse display)
CG-/SEG-RAM blink (BE=0: disable; BE=1: enable)
Sets the CG RAM address. CG RAM data is sent
and received after this setting.
0
Function Set
1
CG RAM
Address Set
SEG RAM
Address Set
DD RAM
Address Set
Set Scroll
Quantity
Busy Flag /
Address Read
Write Data
Read Data
0
1
0
1
0
0
0
0
1
DL N
39µs
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
1
1
1
DL N RE BE LP
LP=0: normal mode; LP=1: low power mode
AC
39µs
39µs
39µs
39µs
39µs
*
*
AC
AC
Sets the SEG RAM address. SEG RAM data is sent
and received after this setting.
Sets the DD RAM address. DD RAM data is sent
and received after this setting.
Sets the quantity of horizontal dot scroll (DH=0)
Reads Busy flag (BF) indicating internal operation is
being performed and reads address counter
contents.
Writes data into internal RAM
(DD RAM / CG RAM / SEGRAM)
Reads data from internal RAM
(DD RAM / CG RAM / SEGRAM)
*
SQ
AC
Write Data
Read Data
*
*
*
0
1
1
1 BF
0
1
-
43µs
43µs
2
EA DIP204-4
INITIALISATION EXAMPLE FOR 8 BIT MODE
Command
Function Set
ext. Function Set
Function Set
Display ON/OFF
Clear Display
Entry Mode Set
RS
0
0
0
0
0
0
R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Hex
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
1
0
1
0
0
0
0
1
0
1
0
0
1
0
0
1
0
1
0
0
0
1
0
1
0
1
0
1
1
0
Description
$34 8 bit data length, extension bit RE=1
$09 4 line mode
$30 8 bit data length, extension bit RE=0
$0F display on, cursor on, cursor blink
$01 clear display, cursor 1st. row, 1st. line
$06 cursor will be automatically incremented
Addressing:
1st. line
2nd. line
3rd. line
4th. line
$00..$13
$20..$33
$40..$53
$60..$73
CHARACTER SET
A full character set is built in already.
Additionally to that 8 more characters can
be defined individually.
CONTRAST ADJUSTMENT
Pin 3 requires driving voltage for contrast
VEE. Adjustment can be done by external
potentiometer for example.
Note: In contrast to many other
dotmatrix lcd modules input is
supplied with VDD level here !
VDD
VEE
2,5k
W
EA DIP204-4NLED
Specifications may be changed without prior notice. Printing error reserved.
EA DIP204B-4NLW
EA DIP204-4HNLED
Both versions -4NLW and -4HNLEDdo
have
a
built-in
temperature
compensatione; so there's no more need
for contrats adjustment while operation
anymore.
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 240 ROM fixed codes.
Set CG RAM Address
Data
1.) The command "CG RAM Address Set"
Bit
Adresse
Hex
Hex
defines the ASCII code (Bit 3,4,5) and the
7 6 5 4 3 2 1 0
dot line (Bit 0,1,2) of the new character.
0 0 0 $40
0 0 1 0 0 $04
0 0 1 $41
0 0 1 0 0 $04
Example demonstrates creating ASCII
0 1 0 $42
0 0 1 0 0 $04
code $00.
0 0 1 0 0 $04
2.) Doing 8 times the write command "Data
0 1 0 0 0 0 1 1 $43
X X X
1 0 0 $44
1 0 1 0 1 $15
Write" defines line by line the new
1 0 1 $45
0 1 1 1 0 $0E
character. 8th. byte stands for the cursor
1 1 0 $46
0 0 1 0 0 $04
line.
1 1 1 $47
0 0 0 0 0 $00
3.) The new defined character can be used
as a "normal" ASCII code (0..7); use with "DD RAM Address Set" and "Data Write".
000
00000000000000000000000000000000000000
000000000000
3
EA DIP204-4
DIMENSIONS
ATTENTION
handling precautions!
all dimensions are in mm
SERIAL MODE
Factory set for interface is parallel with 4 bit or 8 bit data bus. Alternative module can be programmes
with serial data stream. For that solder link
4/8
has to be opened and closed to
SPI
side. Specification
for serial operation mode is written down in user manual for KS0073:
http://www.lcd-module.de/eng/
pdf/zubehoer/ks0073.pdf
ADAPTOR PCB
The adaptor pcb EA 9907-DIP is made for a quick
function test for all DIP modules. This interface board
provides the standard dotmatrix pinout with 1x14,
1x16, 2x7 and 2x8 pins (0.1" pitch).
ZEPPELINSTRASSE
19 · D- 82 205 GILCHING
PHONE +49-8105-778090· FAX +49-8105-778099· http://www.lcd-module.de