SPECIFICATION FOR LCD MODULE MODULE NO: AMC1602A-I2C REVISION NO: 00

SPECIFICATION FOR LCD MODULE MODULE NO: AMC1602A-I2C REVISION NO: 00 Customer’s Approval: SIGNATUREE DATE PREEPARED BY (R RD ENGINEER R) CHECKEED B...
Author: Ira Spencer
5 downloads 2 Views 1MB Size
SPECIFICATION FOR LCD MODULE MODULE NO: AMC1602A-I2C REVISION NO: 00 Customer’s Approval:

SIGNATUREE

DATE

PREEPARED BY (R RD ENGINEER R) CHECKEED BY APPROV VED BY

14925 SE Allen Road, Suite 203B, Bellevue, WA 98006 Tel: 425-698-1938 Fax: 425-698-1852

DOCUMENT REVISION HISTORY:

AMC1602A-I2C

DATE

PAGE

2013.2

-

DESCRIPTION

First release

Contents 1. Module Classification Information 2. Precautions in use of LCD Modules 3. General Specification 4. Absolute Maximum Ratings 5. Electrical Characteristics 6. Optical Characteristics 7. Interface Pin Function 8. Power Supply 9. Contour Drawing & Block Diagram 10. Function Description 11. Character Generator ROM Pattern 12. Instruction Table 13. Interface with MPU 14. Initializing of LCM 15. Quality Assurance 16. Reliability

AMC1602A-I2C

1. Module Classification Information

AMC 1 6 0 2 A R - B - B 6W T DW - S P 1

2

3

4

5

6

7

8

9

10 11 12

13

1 Brand烉ORIENT DISPLAY 2 Display Type烉C Character Type, G Graphic Type, NONE Custom-made 3 Display Font烉Characters X Lines / Rows X Columns /Others 4 Model serials no. 5 RoHS compliant: RYES NONE NO M SMT Type 6 IC Package Type˖

7 LCD Mode˖

8 Viewing direction 9 Temperature range 10 LCD Polarizer Type

11 Backlight Type

12 Backlight Color

B COB Type T TAB Type G COG Type F COF Type S Special PTN Positive NTN Negative Y STN Positive, Yellow Green B STN Negative, Blue G STN Positive, Gray W FSTN Positive T FSTN Negative F FFSTN Negative S Special 6 6:00,1212:00, SSpecial N  Normal Temperature W Wide Temperature S Special R Reflective T Transmissive F Transflective S Special N None D LED E EL F CCFL S Special Y Yellow-green B Blue A Amber W White G Green R Red S Special

13 Internal Code

AMC1602A-I2C

Page 4

2. Precautions in use of LCD Modules (1) Avoid applying excessive shocks to the module or making any alterations or modifications to it. (2) Don’t make extra holes on the printed circuit board, modify its shape or change the components of LCD module. (3) Don’t disassemble the LCM. (4) Don’t operate it above the absolute maximum rating. (5) Don’t drop, bend or twist LCM. (6) Soldering: only to the I/O terminals. (7) Storage: please storage in anti-static electricity container and clean environment.

3. General Specification Item

Dimension

Unit

Number of Characters

16 characters x 2 Lines



Module dimension (With LED Backlight)

80.0 x 36.0 x 14.0 (MAX)

mm

View area

64.5 x 15.5

mm

Active area

56.20 x 11.50

mm

Dot size

0.55x 0.65

mm

Dot pitch

0.60 x 0.70

mm

Character size

2.95 x 5.55

mm

Character pitch

3.55 x 5.95

mm

LCD type Duty

1/16

View direction

6 o’clock

Backlight Type

AMC1602A-I2C

STN, Transflective

Yellow-green/White LED backlig ht

Page 5

4. Absolute Maximum Ratings Item

Symbol

Min

Max

Unit

Input Voltage

VI

-0.3

VDD+0.3

V

Supply Voltage For Logic

VDD-VSS

-0.3

5.5

V

Supply Voltage For LCD

VDD-V0

Vdd-7.0

Vdd+0.3

V

Wide Temperature

Operating Temp.

Top

-20

70

°C

LCM

Storage Temp.

Tstr

-30

80

°C

5. Electrical Characteristics Item

Symbol

Condition

Min

Typ

Max

Unit

Supply Voltage For Logic

VDD-VSS



4.5

5.0

5.5

V

Supply Voltage For LCD

VDD-V0

Ta=25°C

4.5

5.0

5.5

V

Input High Volt.

VIH



0.7 VDD



VDD

V

Input Low Volt.

VIL



VSS



0.3 VDD

V

Supply Current

IDD

VDD=5V

0.8

1.2

1.5

mA

3.8

4.1

4.3

V

3.8

4.1

4.3

V

Supply Voltage of Yellow-green backlight

Supply Voltage of White backlight

AMC1602A-I2C

Forward current =120 mA VLED Number of LED die 2x12= 24 Forward current =30 mA VLED Number of LED die 1x2= 2

Page 6

6. Optical Characteristics Item

Symbol

Condition

Min

Typ

Max

Unit

(V)

CR䵑2

-20



35

deg

(H)

CR䵑2

-30



30

deg

CR





3





T rise







250

ms

T fall







250

ms

View Angle Contrast Ratio Response Time

Definition of Operation Voltage (Vop)

Intensity 100炴

Definition of Response Time (Tr , Tf)

Non-selected Conition

Selected Wave Non-selected Wave

Selected Conition

Non-selected Conition

Intensity 10炴

Cr Max Cr = Lon / Loff

90炴

100炴

Vop

Tr

Driving Voltage(V)

[positive type]

Tf

[positive type]

Conditions: Operating Voltage: Vop

Viewing Angle (炻): 0°炻 0°

Frame Frequency: 64 HZ

Driving Waveform: 1/N duty, 1/a bias

Definition of viewing angle (CR䵑2) ȧb ȧf

ȧl

ȴ= 180Ʊ

ȧr

ȴ= 90Ʊ

ȴ= 270Ʊ

ȴ= 0Ʊ

AMC1602A-I2C

Page 7

7. Interface Pin Function Pin No. Symbol

AMC1602A-I2C

Level

Description

1

LED (+)

Anode of LED Backlight

2

LED (-)

Cathode of LED Backlight

3

VSS

0V

Ground

4

VDD

5.0V

Supply Voltage for logic

5

SDA

H/L

Serial Data

6

SCL

H/L

Serial Clock

7

V0

(Variable)

Operating voltage for LCD

8

NC

No Connection

9

NC

No Connection

10

NC

No Connection

Page 8

8. Power Supply SINGLE SUPPLY VOLTAGE TYPE

DUAL SUPPLY VOLTAGE TYPE

Timing Diagram of VDD Against V0. Power on sequence shall meet the requirement of Figure 4, the timing diagram of VDD against V0.

AMC1602A-I2C

Page 9

9. Contour Drawing & Block Diagram 80.0±0.5 2.5

70.5 P2.54x(10-1)=22.86

8.0 10- 1.0

10 CL

31.0 26.5

18.0

1

14.0(MAX.) 8.8±0.5

2.5

2.5 4.75

4.75

CL

15.5(V.A.) 11.50(A.A.)

36.0± 0.5

BOTTOM LIT LED B/L

75.0

CL

CL

1.6±0.2

4- 2.5

56.20(A.A.) 64.5(V.A.) 40.00

3.55 2.95 0.55

Vdd V0 Vss

0.05

40

DRIVER 4

*AC780S OR EQUIVALENT

AMC1602A-I2C

5.55

40

0.65

LCD PANEL 16X2 CHARACTERS

16

5.95

SDA

CONTROLLER

SCL

0.05

Page 10

10. Function Description The LCD display Module is built in a LSI controller, the controller has two 8-bit registers, an instruction register (IR) and a data register (DR). The IR stores instruction codes, such as display clear and cursor shift, and address information for display data RAM (DDRAM) and character generator (CGRAM). The IR can only be written from the MPU. The DR temporarily stores data to be written or read from DDRAM or CGRAM. When address information is written into the IR, then data is stored into the DR from DDRAM or CGRAM. Address Counter (AC) The address counter (AC) assigns addresses to both DDRAM and CGRAM Display Data RAM (DDRAM) This DDRAM is used to store the display data represented in 8-bit character codes. Its extended capacity is 80×8 bits or 80 characters. Below figure is the relationships between DDRAM addresses and positions on the liquid crystal display. High bits

Low bits Example: DDRAM addresses 4E

AC (hexadecimal)

1

AC6 AC5 AC4 AC3 AC2 AC1 AC0

0

0

1

1

1

0

Display position DDRAM address 1

2

3

4

5

6

00 01 02 03 04 05 40 41 42 43 44 45

7

8

9 10 11 12 13 14 15 16

06 07 08 09 0A 0B 0C 0D 0E 0F 46 47 48 49 4A 4B 4C 4D 4E 4F

-Line by 16-Character Display

Character Generator ROM (CGROM) The CGROM generate 5×8 dot or 5×10 dot character patterns from 8-bit character codes. See Table 2. Character Generator RAM (CGRAM) In CGRAM, the user can rewrite character by program. AMC1602A-I2C

For 5×8 dots, eight character patterns Page 11

can be written, and for 5×10 dots, four character patterns can be written. Write into DDRAM the character code at the addresses shown as the left column of table 1. To show the character patterns stored in CGRAM. Relationship between CGRAM Addresses, Character Codes (DDRAM) and Character patterns Table 1 F o r 5 * 8 d o t c h a ra c te r p a tte rn s C h a ra c te r C o d e s ( D D R A M d a ta ) 7

6

5

4

3

H ig h

0

0

0

0

0

0

0

0

0

2

1

0

Low

0

0

0

* 0

* 0

*

1

0

0

1

C h a ra c te r P a tte rn s ( C G R A M d a ta )

C G R A M A d d re ss 5

4

3

2

1

0

7

Low 0 0 0 0 0 1 0 1 0 0 0 1 0 1 0 1 1 1 1 0 0 0 0 0 1 0 1 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0

0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1

* * * * * * * * * * * * * * * * *

H ig h

0

1

1

1

1

1

1 1 1 1

0 0 1 1

0 1 0 1

*

6

5

H ig h * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

*

4

3

2

1

0

Low 0 0 0

0

0 0

0 0 0 0 0

0 0 0 0 0

0

0 0 0

0 0 0

C h a ra c te r p a tte rn ( 1 )

0 0 0

0

C u rs o r p a tte r n

0

0

0

0

0

0 0 0

0 0 0

0 0 0

0 0 0

0

C h a ra c te r p a tte rn ( 2 )

C u rs o r p a tte r n

*

F o r 5 * 1 0 d o t c h a ra c te r p a tte rn s C h a ra c te r C o d e s ( D D R A M d a ta ) 7

6

5

4

H ig h

0

0

0

3

2

1

0

Low

0

* 0

0

C h a ra c te r P a tte rn s ( C G R A M d a ta )

C G R A M A d d re ss 5

4

3

0

0 0 0 0 0 0 0 0 1 1 1

0 0 0 0 1 1 1 1 0 0 0

1

1

H ig h

0

0

2

1

0

7

0 0 1 1 0 0 1 1 0 0 1

0 1 0 1 0 1 0 1 0 1 0

* * * * * * * * * * *

1

1

*

Low

6

5

4

3

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 0 0

0 0 0 0

0 0 0 0 0

*

*

*

*

*

*

H ig h

2

Low

*

C h a ra c te r p a tte rn

C u rs o r p a tte r n

: " H ig h "

AMC1602A-I2C

Page 12

11. Character Generator ROM Pattern

AMC1602A-I2C

Page 13

12. Instruction Table Instruction Code Instruction

Description RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0

Clear Display

0

0

0

0

0

0

0

0

0

1

Execution time (fosc=210Khz)

Write “20H” to DDRAM and set DDRAM address to “00H” from AC

1.98ms

Set DDRAM address to “00H” from AC and return cursor to its original position if shifted. The contents of DDRAM are not changed.

Return Home

0

0

0

0

0

0

0

0

1



Entry Mode Set

0

0

0

0

0

0

0

1

I/D

SH

Assign cursor moving direction and enable the shift of entire display.

48s

Display ON/OFF

0

0

0

0

0

0

1

D

C

B

Set display (D), cursor (C), and blinking of cursor (B) on/off control bit.

48s

Cursor or Display Shift

0

0

0

0

0

1









Function Set

1.98ms

Set cursor moving and display shift

0

0

0

0

1

DL

S/C R/L

N

F

control bit, and the direction, without changing of DDRAM data. Set interface data length (DL:8-bit/4-bit), numbers of display line (N:2-line/1-line)and, display font type

48s

48s

(F:5×11 dots/5×8 dots)

Set CGRAM Address Set DDRAM Address Write Data to RAM

0

0

0

0

0

1

1

0

D7

AC5 AC4 AC3 AC2 AC1 AC0 Set CGRAM address in address counter.

48s

AC6 AC5 AC4 AC3 AC2 AC1 AC0 Set DDRAM address in address counter.

48s

1

D6

D5

D4

D3

D2

D1

D0

Write data into internal RAM (DDRAM/CGRAM).

48s

点 ”炼”ġĻġŏİł

AMC1602A-I2C

Page 14

13. Interface with MPU

AMC1602A-I2C

Page 15

AMC1602A-I2C

Page 16

Slave Address Option: J8,J10 short,J7,J9open, SA1=0,SA0=0(default setting); J8,J9 short,J7,J10open, SA1=0,SA0=1; J7,J10 short,J8,J9open, SA1=1,SA0=0; J7,J9 short,J8,J10open, SA1=1,SA0=1; DB5(CSB)is connected to Vss by short J6.

AMC1602A-I2C

Page 17

14. Initializing of LCM

AMC1602A-I2C

Page 18

Initial Code: void WriteData(BYTE byData) { I2C_Start(); I2C_Send(0x78); I2C_Ack(); I2C_Send(0x40); I2C_Ack(); I2C_Send(byData); I2C_Ack(); I2C_Stop(); } void WriteInst(BYTE byInst) { I2C_Start(); I2C_Send(0x78); I2C_Ack(); I2C_Send(0x00); I2C_Ack(); I2C_Send(byInst); I2C_Ack(); I2C_Stop(); } void InitRW1063(void) { WriteInst (0x38); WriteInst (0x0c); WriteInst (0x06);

//DL=1: 8 bits; N=1: 2 line; F=0: 5 x 8dots // D=1, display on; C=B=0; cursor off; blinking off; // I/D=1: Increment by 1; S=0: No shift

}

AMC1602A-I2C

Page 19

15. Quality Assurance Screen Cosmetic Criteria Item

1

2

3 4

5

AMC1602A-I2C

Defect

Judgment Criterion A) Clear Size: d mm Acceptable Qty in active area d 䵐0.1 Disregard 6 0.1