Densitron LMR5413BW240G128WF User manual

Product No. LMR5413BW240G128WF REV. D Page 1 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
LIQUID CRYSTAL DISPLAY MODULE
Product Specification
PRODUCT
NUMBER LMR5413BW240G128WF
INTERNAL APPROVALS
Product Manager Engineering Document Control

Product No. LMR5413BW240G128WF REV. D Page 2 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
TABLE OF CONTENTS
1MAIN FEATURES............................................................................................................4
2MECHANICAL DRAWING...............................................................................................5
3LCD GLASS LAYOUT.....................................................................................................6
4PIN CONNECTIONS........................................................................................................7
5THE STEP-UP VOLTAGE CIRCUITS..............................................................................8
6RECOMMENDED CIRCUIT SCHEMATIC.......................................................................9
7ELECTRO-OPTICAL CHARACTERISTICS..................................................................10
8THE LED BACKLIGHT..................................................................................................11
9RELIABILITY TEST .......................................................................................................12
10THE LCD MEASURING METHOD AND EQUIPMENT .................................................13
11INITIALIZING AND PROGRAMMING............................................................................16
12STANDARD SPECIFICATIONS FOR PRODUCT QUALITY........................................21
13HANDLING PRECAUTIONS .........................................................................................22

Product No. LMR5413BW240G128WF REV. D Page 3 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
REVISION RECORD
Rev. Date Page Par. Comment ECN no.
A 07/08/08 -- -- New DCA Specification E3777
B 10/03/08 5 --
Added Rear Polarizer Specification E3877
C 6/26/09 6 1 Added LCD glass layout E4117
D 8/14/09 8 -- PIN definition updated E4163

Product No. LMR5413BW240G128WF REV. D Page 4 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
1 MAIN FEATURES
ITEM CONTENTS UNIT
Outline Dimension 85.0 (W) x 55.0 (H) x 6.50 (D) mm
Active Area 64.78 (W) x 34.54 (H) mm
Viewing Area 78.60 (W) x 39.60 (H) mm
Dot Size 0.25 (W) x 0.25 (H) mm
Display Format 240 x 128 Dots
Viewing Direction 6:00 O’clock
LCD Type FSTN / Positive / Transflective --
Duty Ratio 1/128 Duty
Backlight LED / White
Bias Drive 1/12 Bias
Module Operating Voltage 3.0 Volts
LCD Operating Voltage 11.6 Volts
LCD Surface Luminous 71.0 Cd/m²
IC Controller ST7529-G --
Operating Temperature -20 ~ 80 °C
Storage Temperature -30 ~ 80 °C
RoHS Complaint Yes -

Product No. LMR5413BW240G128WF REV. D Page 5 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
2 MECHANICAL DRAWING
04)
zer t ype: ACE( AS- 1045SG
ar iRear pol

Product No. LMR5413BW240G128WF REV. D Page 6 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
3 LCD GLASS LAYOUT

Product No. LMR5413BW240G128WF REV. D Page 7 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
4 PIN CONNECTIONS
Pin No. Symbol Function
1 A0 Identify The Data or a Command.
2 RW-/WR Read/Write execution control
3~10 D0-D7
The 8-bit bi-directional data bus to be connected to the MCU in
parallel interface mode
11 E-/RD Read/Write execution control
12 RST Reset input pin
13 IF1
Parallel/Serial data input select input :
High = 80 series 8-bit parallel
Low= 68 series 8-bit parallel
14 IF3
Parallel/Serial data input select input:
Low= 80 series 8-bit parallel
High= 68 series 8-bit parallel
15 XCS Chip select input pin
16 VSS Ground
17 VDD Chip’s power supply pin
18 C7P Connection Pin for Voltage Converter
19 C5P Connection Pin for Voltage Converter
20 C3P Connection Pin for Voltage Converter
21 C1N Connection Pin for Voltage Converter
22 C1P Connection Pin for Voltage Converter
23 C2P Connection Pin for Voltage Converter
24 C2N Connection Pin for Voltage Converter
25 C4P Connection Pin for Voltage Converter
26 C6P Connection Pin for Voltage Converter
27 VLCD
If the internal voltage generator is used,the VLCDIN & VLCDOUT
must be connected together.
28-32 V4, V3, V2,
V1, V0
LCD driving supply voltage. Connect to ground when internal
power circuit is active, *refer to recommended schematic.
Note: IF2 is internally hardwired to “High”

Product No. LMR5413BW240G128WF REV. D Page 8 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
5 THE STEP-UP VOLTAGE CIRCUITS

Product No. LMR5413BW240G128WF REV. D Page 9 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029
6 RECOMMENDED CIRCUIT SCHEMATIC

Product No. LMR5413BW240G128WF REV. D Page 10 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
7 ELECTRO-OPTICAL CHARACTERISTICS
Temp = (23±3˚C)
Item Symbol Min Typ. Max Unit Condition
Supply Voltage(Logic) Vdd-Vss 2.7 3.0 3.3 V --
LCD current
consumption Idd 1.8 2.2 mA
LCD Operating Voltage Vdd-V0
- 12.0 - V -20°C
- 11.6 - V 25°C
- 11.1 - V 80°C
Response Time Ton - 112 - ms --
Toff - 404 - ms --
Contrast CR 2 - - - --
Viewing Angle
12H θ1 - 55 -
Deg. (CR≥2.0)
6H θ2 - 68 -
3H θ3 - 50 -
9H θ4 - 50 -
LCD Threshold Voltage Vth - 10.8 - V 25°C

Product No. LMR5413BW240G128WF REV. D Page 11 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
8 THE LED BACKLIGHT

Product No. LMR5413BW240G128WF REV. D Page 12 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
Note 1: LED Lifetime (Half Brightness) is estimated to be 30,000 hrs at 15 mA / LED (25°C).
Note 2: Please refer to the PWM white paper at http://www.densitron.com/displays/lcd_support.aspx for
background on extending LED backlight lifetimes.
9 RELIABILITY TEST
Items Test Condition Equipment Test Result
High TEMP
Storage
TEMP:80±2˚C
Time: 96h
Restore:24h
Tenny Passed
Low TEMP
Storage
TEMP: -30±3˚C
Time: 96h
Restore:24h
Tenny Passed
High TEMP
Operating
TEMP: 80±2˚C
Vop: 3.3V
Timp: 24h
Restore:24h
Tenny Passed
Low TEMP
Operating
TEMP: -20±2˚C
Vop: 3.3V
Timp: 24h
Restore:24h
Tenny Passed
High TEMP
High Hum
Storage
TEMP:40±2˚C
Hum: 95%Rh
Time: 96h
Restore:24h
Tenny Passed
Thermal
Shock
TEMP:(°C)
80°C
25°
-30°
30 5 30 5 (Minutes)
5 Cycles
Restore:24h
Tenny Passed

Product No. LMR5413BW240G128WF REV. D Page 13 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
10 THE LCD MEASURING METHOD AND EQUIPMENT
1. Threshold Voltage and Response Time Measuring:
(1) Equipment
Oscilloscope
Waveform Generator
(2) Definition
A. Threshold Voltage (Vth):
Brightness
100%
90%
Selected Waveform
0 Drive Voltage
Vth

Product No. LMR5413BW240G128WF REV. D Page 14 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
B. Response Time:
On
Off
90%
10%
Time
TrTd
1. Contrast Measuring
(1) Equipment
Spectrophotometer
Waveform Generator

Product No. LMR5413BW240G128WF REV. D Page 15 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
(2) Definition
A. Viewing angle:
Z
θ1 Y 12h,Φ=90°
9h,Ф=180 θ4 θ3 X 3h,Φ=0°
θ2
6h,Φ=270°
B. Contrast Ratio (Positive)
CR= Brightness of non-selected wave-form
Brightness of selected wave-form

Product No. LMR5413BW240G128WF REV. D Page 16 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
11 INITIALIZING AND PROGRAMMING
/*
void lcd_full(unsigned char da1)
{
unsigned char i,j;
for (i=0;i<128;i++)
for (j=0;j<240;j++)
write_dat(da1);
}
void lcd_line1(void)
{
unsigned char i,j;
for (i=0;i<32;i++)
{
for (j=0;j<240;j++) write_dat(0x00);
for (j=0;j<240;j++) write_dat(0x1f);
for (j=0;j<240;j++) write_dat(0x1f);
for (j=0;j<240;j++) write_dat(0x1f);
}
}
void lcd_line2(void)
{
unsigned char i,j;
for (i=0;i<32;i++)
{
for (j=0;j<240;j++) write_dat(0x1f);
for (j=0;j<240;j++) write_dat(0x00);
for (j=0;j<240;j++) write_dat(0x1f);
for (j=0;j<240;j++) write_dat(0x1f);
}
}
void lcd_line3(void)
{
unsigned char i,j;
for (i=0;i<32;i++)
{
for (j=0;j<240;j++) write_dat(0x1f);
for (j=0;j<240;j++) write_dat(0x1f);
for (j=0;j<240;j++) write_dat(0x00);
for (j=0;j<240;j++) write_dat(0x1f);
}
}
void lcd_line4(void)
{
unsigned char i,j;
for (i=0;i<32;i++)
{
for (j=0;j<240;j++) write_dat(0x1f);
for (j=0;j<240;j++) write_dat(0x1f);
for (j=0;j<240;j++) write_dat(0x1f);
for (j=0;j<240;j++) write_dat(0x00);
}
}
void lcd_erect1(void)
{
unsigned char i,j;
for (i=0;i<128;i++)
for (j=0;j<60;j++)
{
write_dat(0x00);

Product No. LMR5413BW240G128WF REV. D Page 17 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
write_dat(0x1f);
write_dat(0x1f);
write_dat(0xff);
}
}
void lcd_erect2(void)
{
unsigned char i,j;
for (i=0;i<128;i++)
for (j=0;j<240/4;j++)
{
write_dat(0x1f);
write_dat(0x00);
write_dat(0x1f);
write_dat(0x1f);
}
}
void lcd_erect3(void)
{
unsigned char i,j;
for (i=0;i<128;i++)
for (j=0;j<240/4;j++)
{
write_dat(0x1f);
write_dat(0x1f);
write_dat(0x00);
write_dat(0x1f);
}
}
void lcd_erect4(void)
{
unsigned char i,j;
for (i=0;i<128;i++)
for (j=0;j<240/4;j++)
{
write_dat(0x1f);
write_dat(0x1f);
write_dat(0x1f);
write_dat(0x00);
}
}
*/
void ReadEEPROM(void)
{
write_com(0x30); // Ext = 0
write_com(0x07); // Initial code (1)
write_dat(0x19);
write_com(0x31); // Ext = 1
write_com(0xcd); // EEPROM ON
write_dat(0x00); // Entry "Read Mode"
delay_ms(100); // Waite for EEPROM Operation ( 100ms )
write_com(0xfd); // Start EEPROM Reading Operation
delay_ms(100); // Waite for EEPROM Operation ( 100ms )
write_com(0xcc); // Exist EEPORM Mode
write_com(0x30); // Ext = 0
}
void lcdreset(unsigned char VOL)//
{
unsigned char i;
res=0;
delay_ss(1);

Product No. LMR5413BW240G128WF REV. D Page 18 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
res=1;
cs=0;
write_com(0x30); // ext=0
write_com(0x94); // sleep out
write_com(0xd1); // osc on
write_com(0x20); // power control set
write_dat(0x08); // booster must be on first
delay_ms(2);
write_com(0x20); // power control set
write_dat(0x0b); // booster,regulator follower on
write_com(0x81); // electronic control
write_dat(VOL); // set vop low: 00~3f 0x35,0x03=13.55
write_dat(0x03); // hige:00~07 0x1e,0x03=12.5
write_com(0xca); // display control
write_dat(0x04); //
write_dat(0x1f); // 1f duty=1/128
write_dat(0x00); //
write_com(0xa6); // normal display
write_com(0xbb); // com scan direction
write_dat(0x01); // 0~79,159~80
write_com(0xbc); // data scan direction
write_dat(0x02); //
write_dat(0x01); //
write_dat(0x02); //
write_com(0x75); // line address set
write_dat(0x00); // start line =0
write_dat(0x7f); // end line =127
write_com(0x15); // column address set
write_dat(0x05); // start column =0
write_dat(0x54); // end column =79
write_com(0x31); // ext=1
write_com(0x32); // analog circuit set
write_dat(0x00); // osc frequency=000 (default)
write_dat(0x00); // booster efficiency=01 (default)
write_dat(0x02); // 1/12=0x02 lease
write_com(0x34); // dithering off
ReadEEPROM(); // read eeprom flow
write_com(0xaf); // display on
write_com(0x5c); // write data pointer
write_com(0x31); // ext=1
write_com(0x34); // dithering off
write_com(0x20); // set gray level,32 level
for(i=0;i<33;i=i+2) write_dat(i);
write_com(0x21);
for(i=0;i<33;i=i+2) write_dat(i);
ReadEEPROM(); // read eeprom flow
write_com(0x30); // ext=1
write_com(0xaf); // display on
write_com(0x5c);// write data
}
void lcd_image(unsigned char code *p)
{
unsigned char i,j,k,l;
int a;
write_com(0x30); // ext=0
write_com(0x75); // line address set
write_dat(80); // start line =80
write_dat(127); // end line =127

Product No. LMR5413BW240G128WF REV. D Page 19 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
write_com(0x5c); // write data
for (i=0;i<48;i++)
{
for(j=0;j<240/8;j++)
{
l=*p;
for(k=0;k<8;k++)
{
if((l&0x80)==0) write_dat(0xff);
else write_dat(0x00);
l=l<<1;
}
p++;
}
}
a=p;
write_com(0x30); // ext=0
write_com(0x75); // line address set
write_dat(0); // start line =0
write_dat(79); // end line =127
write_com(0x5c); // write data
for (i=0;i<80;i++)
{
// p=a+2400-(i+1)*30;
for (j=0;j<240/8;j++)
{
l=*p;
for(k=0;k<8;k++)
{
if((l&0x80)==0) write_dat(0xff);
else write_dat(0x00);
l=l<<1;
}
p++;
}
}
}
void lcd_gray_image(unsigned char code *p)
{
unsigned char i,j,k,l,m;
write_com(0x30); // ext=0
write_com(0x75); // line address set
write_dat(80); // start line =80
write_dat(127); // end line =127
write_com(0x5c); // write data
for (i=0;i<48;i++)
{
for(j=0;j<60;j++)
{
l=*p;
for(k=0;k<4;k++)
{
m=(l&0xD0)>>6;
switch(m)
{ case 0: write_dat(0xff);break;
case 1: write_dat(0x81);break;
case 2: write_dat(0x41);break;
case 3: write_dat(0x00);break;
}
l=l<<2;
}

Product No. LMR5413BW240G128WF REV. D Page 20 / 22
Copyright ©2008 DENSITRON CORPORATION All rights reserved. – Proprietary Data
FORM No. DT-029 V2
p++;
}
}
write_com(0x30); // ext=0
write_com(0x75); // line address set
write_dat(0); // start line =0
write_dat(79); // end line =79
write_com(0x5c); // write data
for (i=0;i<80;i++)
{
for(j=0;j<60;j++)
{
l=*p;
for(k=0;k<4;k++)
{
m=(l&0xD0)>>6;
switch(m)
{
case 0: write_dat(0xff);break;
case 1: write_dat(0x81);break;
case 2: write_dat(0x41);break;
case 3: write_dat(0x00);break;
}
l=l<<2;
}
p++;
}
}
}
void testlcd(unsigned char i)
{
switch(i)
{
case 0: lcd_image(image_yes1);
break;
case 1: lcd_image(image_yes2);
break;
case 2: lcd_gray_image(image_yes3);
break;
case 3: lcd_gray_image(image_yes4);
break;
case 4: lcd_image(image_yes5);
break;
case 5: lcd_image(image_yes6);
break;
case 6: lcd_image(image_yes7);
break;
case 7: lcd_image(image_yes8);
break;
}
}
Table of contents