Data Sheet
EA DIP203-4
Page 3
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
CONTRAST ADJUSTMENT
Pin 3 requires driving voltage for contrast
VEE. Adjustment can be done by external
potentiometer for example. The capacitor
is for a better startup behaviour.
Note: In contrast to many other
dotmatrix lcd modules input is
supplied with VDD level here !
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.
1.) The command "CG RAM Address Set"
defines the ASCII code (Bit 3,4,5) and the
dot line (Bit 0,1,2) of the new character.
Example demonstrates creating ASCII
code $00.
2.) Doing 8 times the write command "Data
Write" defines line by line the new
character. 8th. byte stands for the cursor
line.
3.) The newly defined character can be used as a "normal" ASCII code (0..7); use with "DD RAM
Address Set" and "Data Write".
Set CG RAM Address Data
Adresse Hex
Bit
Hex
7 6 5 4 3 2 1 0
01000
000 $40
XXX
0 0 1 0 0 $04
001 $41 0 0 1 0 0 $04
010 $42 0 0 1 0 0 $04
011 $43 0 0 1 0 0 $04
100 $44 1 0 1 0 1 $15
101 $45 0 1 1 1 0 $0E
110 $46 0 0 1 0 0 $04
111 $47 0 0 0 0 0 $00
Addressing:
1st. line $00..$13
2nd. line $20..$33
3rd. line $40..$53
4th. line $60..$73
CHARACTER SET
A full character set is built-in already.
Additionally to that 8 more characters can
be defined individually.
INITIALISATION EXAMPLE FOR 8 BIT MODE
Command
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Hex
Description
Function Set 0 0 0 0 1 1 0 1 0 0 $34 8 bit data length, extension bit RE=1
ext. Function Set 0 0 0 0 0 0 1 0 0 1 $09 4 line mode
Function Set
0 0 0 0 1 1 0 0 0 0
$30 8 bit data length, extension bit RE=0
Display ON/OFF 0 0 0 0 0 0 1 1 1 1 $0F display on, cursor on, cursor blink
Clear Display 0 0 0 0 0 0 0 0 0 1 $01 clear display, cursor 1st. row, 1st. line
Entry Mode Set 0 0 0 0 0 0 0 1 1 0 $06 cursor will be automatically incremented
All versions do have a built-in temperature
compensation; so there's no more need
for contrast adjustment during operation
anymore.
2,5kW2,5kW
VEE
VDD
+
10µF