ELECTRONIC ASSEMBLY EA DIP203B-6 Datasheet

Page 1
LCD MODULE 4x20 - 3.75mm
EA DIP203G-4NLED Dimension 68 x 27 mm
Issue 4.2013
INCL. CONTROLLER SSD1803
EA DIP203J-4NLW
EA DIP203B-4NLW Dimension 75 x 27 mm
FEATURES
* HIGH CONTRAST LCD SUPERTWIST DISPLAY * CONTROLLER SSD1803 (NEARLY 100% COMPATIBLE WITH HD44780) * INTERFACE FOR 4- AND 8-BIT DATA BUS * SERIAL SPI INTERFACE (SID, SOD, SCLK) * POWER SUPPLY +2.7 V ~ +3.45V / 1.5mA * LED BACKLIGHT Y/G max. 150mA@+25°C
LED BACKLIGHT BLUE-WHITE AND BLACK-WHITE max. 45mA@+25°C
* OPERATING TEMPERATURE RANGE -20..+70°C * BUILT-IN TEMPERATURE COMPENSATION * SOME MORE MODULES WITH SAME SIZE AND SAME PINOUT:
- DOTMATRIX 1x8, 2x16
- GRAPHIC 122x32
* NO SCREWS REQUIRED: SOLDER ONTO 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 EA DIP203G-4NLED BLUE-WHITE EA DIP203B-4NLW BLACK-WHITE EA DIP203J-4NLW 9-PIN SOCKET, HEIGHT 4.3mm (1 PC.) EA B200-9
Zeppelinstr. 19 · D-82205 Gilching · Phone +49-(0)8105-77 8090 · Fax +49-(0)8105-778099 · www.lcd-module.de · info@lcd-module.de
Page 2
ELECTRONIC ASSEMBLY reserves
EA DIP203-4
Page 2
the right to change specifications without prior notice. Printing and typographical errors reserved.
PINOUT
Pin Symbo Level Function Pin Symbo Level Function
1 VSS L Power Supply 0V (GND) 10 D3 H / L Display Data
2 VDD H Power Supply +3.3V 11 D4 (D0) H / L Display Data
3 VEE - Contrast adjustment, input 12 D5 (D1) H / L Display Data
4 RS (CS) H / L H=Data, L=Command 13 D6 (D2) H / L Display Data
R/W
5
(SID)
6 E (SCLK) H Enable (falling edge) 15 - - NC (see EA DIP122-5N)
7 D0 (SOD) H / L Display Data, LSB 16 RES L Reset (internal Pullup 10k)
8 D1 H / L Display Data 17 A - LED B/L+ Resistor required
9 D2 H / L Display Data 18 C - LED B/L-
H / L H=Read, L=Write 14 D7 (D3) H / L Display Data, MSB
BACKLIGHT
Using the LED backlight requires a 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
Note: Do never connect backlight directly to 5V; this may destroy backlight immediately !
>+25°C.
a
TABEL OF COMMAND (SSD1803, IE=HIGH)
Instruction
Clear Display * 0 0000 0 0 0 0 1
Cursor At Home 0 0 000 0 0 0 0 1 *
Power Down
Mode
Entry Mode Set
Display On/Off
Control
extended
Function Set
Cursor / Display
Shift
Scroll Enable 1 0 0 0 0 0 1 H4 H3 H2 H1
Function Set
CG RAM
Address Set
SEG RAM
Address Set
DD RAM
Address Set
Set Scroll
Quantity
Busy Flag /
Address Read
Write Data * 1 0 Write Data
Read Data * 1 1 Read Data
RE
RS R/W
Bit
0 0000 0 0 0 1 PD
1
0 0 0 0 0 0 0 0 1 I/D S
1 0 0 0 0 0 0 0 1 1 BID
0 0 0 0 0 0 0 1 D C B
1 0 0 0 0 0 0 1 FW BW NW
0 0 0 0 0 0 1
0 0 0 0 0 1 DL N RE DH RE
1 0 0 0 0 1 DL N RE BE LP
0 0 0 0 1 AC
1 0 0 0 1 *
0 01 AC
0
0 01 *
1
0 1BF AC
*
C ode
DB7DB6DB5DB4DB3DB2DB1DB
S/C R/L
* *
*
AC
SQ
0
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. 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 (BID=0: Seg1->Seg60; BID=1: Seg60->Seg1)
D=0: display off; D=1: display on 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 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 S/C=0: cursor Shift; S/C=1: display shift R/L=0: shift to left; R/L=1: shift to right
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) 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) LP=0: normal mode; LP=1: low power mode
Sets the CG RAM address. CG RAM data is sent and received after this setting.
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) 39µs
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)
Description
Execute
Time
(270kHz)
1.53ms
1.53ms
39µs
39µs
39µs
39µs
39µs
39µs
39µs
39µs
39µs
39µs
39µs
39µs
-
43µs
43µs
Page 3
ELECTRONIC ASSEMBLY reserves
2,5kW2,5kW
VEE
VDD
+
10µF
the right to change specifications without prior notice. Printing and typographical errors reserved.
EA DIP203-4
Page 3
INITIALISATION EXAMPLE FOR 8 BIT MODE
Command
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
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
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Hex
0 0 0 0 1 1 0 0 0 0
$30 8 bit data length, extension bit RE=0
Description
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. The capacitor is for a better startup behaviour.
Note: In contrast to many other dotmatrix lcd modules input is supplied with VDD level here !
Addressing:
1st. line $00..$13 2nd. line $20..$33 3rd. line $40..$53 4th. line $60..$73
All versions do have a built-in temperature compensation; so there's no more need for contrast adjustment during 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.
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
01000
000 $40
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
7 6 5 4 3 2 1 0
XXX
Bit
0 0 1 0 0 $04
Hex
Page 4
EA DIP203-4
Page 4
DRIVING WITH 5V-SYSTEMS
The supply voltage of the display is necessarily 3.3V. If a 5V-system is used, the level have to be adapted. For example you can use a bidirectional levelshifter (e.g. PS 74LVC4245A), like shown in the opposite figure.
COMPATIBILITY WITH EA DIP204-4
The displays of EA DIP203 and EA DIP204 series are electrically and mechanically identical to each other running with 3.3V supply mode. Merely a 5V supply is not acceptable with the new EA DIP203 series.
ATTENTION
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice. Printing and typographical errors reserved.
EA DIP203G-4NLED
handling precautions!
EA DIP203B-4NLW and EA DIP203J-4NLW
Note: LC-Displays are generally not suited to wave or reflow soldering. Temperatures of over 80°C can cause lasting demage.
all dimensions are in mm
SERIAL MODE
Factory setting for interface is parallel with 4 bit or 8 bit data bus. Alternatively the module can be used
with serial data stream. For that, solder link SPI has to be closed. Specification for serial operation mode is described in user manual for SSD1803:
http://www.lcd-module.de/fileadmin/eng/pdf/zubehoer/ssd1803_2_0.pdf
Zeppelinstr. 19 · D-82205 Gilching · Phone +49-(0)8105-77 8090 · Fax +49-(0)8105-77 8099 · www.lcd-module.de · info@lcd-module.de
Loading...