Bolymin, Inc. ◆◆◆ LCD MODULE SPECIFICATION MODEL NO. BC4002A series FOR MESSRS: ________________________________________________ ON DATE OF: ________________________________________________ APPROVED BY: ________________________________________________ Bolymin, Inc. ◆◆◆ CONTENTS 1. Numbering System 2. Precautions in use of LCD Modules 3. General Specification 4. Absolute Maximum Rating 5. Electrical Characteristics 6. Optical Characteristics 7. Interface Pin Function 8. Power supply for LCD Module and LCD operating voltage adjustment 9. Backlight information 10. Quality Assurance 11. Reliability 12. Appendix (Drawing , KS0066 controller data) 12-1 Drawing 12-2 KS0066 controller data 12-2.1 Function description 12-2.2 C.G ROM table. table 2 12-2.3 Instruction table 12-2.4 Timing characteristics 12-2.5 Initializing soft ware of LCM Bolymin, Inc. ◆◆◆ 1. Numbering System B 0 C 1 2004 2 A 3 G 4 P 5 L 6 E 7 0 Brand Bolymin 1 Module Type C= character type G= graphic type P= TAB/TCP type 2 Format 2002=20 characters, 4 lines 12232= 122 x 32 dots A type 3 Version No. 4 LCD Color 5 LCD Type 6 Backlight type/color 7 CGRAM Font 8 View Angle/ Operating Temperatur e 9 Special Code B 8 G=STN/gray Y=STN/yellow-green C=color STN xxx 9 O= COG type F= COF type B=STN/blue F=FSTN T=TN R=positive/reflective M=positive/transmissi P=positive/transflective ve N=negative/transmissi ve L=LED array/ D=LED edge/blue yellow-green E=EL/white H=LED edge/white B=EL/blue R=LED array/red C=CCFL/white G=LED edge/yellow-green J=English/Japanese C=English/Cyrillic Font Font E=English/European H=English/Hebrew Font Font B=Bottom/Normal Temperature H=Bottom/Wide Temperature U=Bottom/Ultra wide Temperature 3=3 volt logic power supply n=negative voltage for LCD c=cable/connector xxx=to be assigned on data sheet T=Top/Normal Temperature W=Top/Wide Temperature C=9H/Normal Temperature t=temperature compensation for LCD p=touch panel Bolymin, Inc. ◆◆◆ 2. Precaution in use of LCD Module (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. (8) Don’t touch the elastmer connecter, especially insert a backlight panel (EL or CCFL) 3. General Specification (1) Mechanical Dimension Item Number of Characters Module dimension (LxWxH) View area Active area Dot size Dot pitch Character size ( L x W ) Character pitch ( L x W ) Dimension 40characters x2 Lines 182.0 x 33.5 x 13.1 (Max)—LED B/L 182.0 x 33.5 x 8.8 (Max)—EL or No B/L 154.4 x 16.5 147.5 x 11.5 0.6 x 0.65 0.65 x 0.7 3.2 x 5.55 3.7 x 5.95 (2) Controller IC: KS0066 (or Equivalent) controller (3) Temperature Range Operating Storage Normal Wide 0 ~+50℃ -20 ~+70℃ -10 ~+60℃ -30 ~+80℃ Unit - mm mm mm mm mm mm mm Bolymin, Inc. ◆◆◆ 4. Absolute Maximum Ratings 4.1 Electrical Absolute Maximum Ratings Item (Vss=0V, Ta=25℃) Symbol Min Max Unit Supply Voltage (Logic) Vdd-Vss -0.3 7 V Supply Voltage (LCD driver) Vdd-Vo -0.3 13 V VI Vss Vdd V TOP 0 +50 ℃ TSTG -10 +60 ℃ Top -20 +70 ℃ Tstg -30 +80 ℃ Input Voltage Normal Type Wide Temperature Type 4.2 Environmental Absolute Maximum Ratings Operating Storage Item Comment (Min.) Humidity (Max.) (Min.) Note(2) (Max.) Note(2) Without condensation Vibration -- 4.9M/S2 -- 19.6M/S2 XYZ Direction Shock -- 29.4M/S2 -- 490M/S2 XYZ Direction Note (1) Ta = 0℃ ﹕50Hr Max. Note (2) Ta≦40℃:90% RH MAX Ta > 40℃:Absolute humidity must be lower than the humidity of 90% at 40℃ Bolymin, Inc. ◆◆◆ 5. Electrical Characteristics Item Supply Voltage For Logic Symbol Condition Min Typ Max Unit Vdd-Vss - 4.5 - 5.5 V - 5.5 - V Ta=0℃ - - - V Ta=25℃ - 4.5 - V Ta=50℃ - - - V - 3.8 - V *Ta=-20℃ Supply Voltage For LCD Vdd-Vo *Wide Temp、Type *Ta=+70℃ Input High Volt. VIH - 2.2 - Vdd V Input Low Volt. VIL - - - 0.6 V Output High Volt. VOH - 2.4 - - V Output Low Volt. VOL - - - 0.4 V Supply Current Idd Vdd=5V - 1.6 - mA Bolymin, Inc. ◆◆◆ 6. Optical Characteristics a. STN Item Symbol Condition Min. Typ. Max. Unit (V)θ CR≧2 10 45 deg (H)φ CR≧2 -30 30 deg CR - 3 Response Time T rise - 100 150 ms 25℃ T fall - 150 200 ms Symbol Condition Min. Typ. Max. Unit (V)θ CR≧3 10 60 deg (H)φ CR≧3 -45 45 deg CR - 5 Response Time T rise - 100 150 ms 25℃ T fall - 150 200 ms View Angle Contrast Ratio - b. FSTN Item View Angle Contrast Ratio - Bolymin, Inc. ◆◆◆ 6.1 Definitions ■View Angles ■Contrast Ratio Z ( Visual angle direction ) Brightness at selected state ( BS ) Brightness at non-selected state ( Bns ) Selected state CR = LCD X φ Brightness (%) θ Non-selected state Bs Bns Y Operating voltage for LCD driving ( Best visual angle direction ) ■Response Time Selected Condition Nonselected Condition 90 % 100 % Brightness Nonselected Condition 10 % tr Rise Time td Decay Time ( fall time tf ) Bolymin, Inc. ◆◆◆ 7. Interface Pin Function Pin No. Symbol Level Description 1 Vss 0V 2 Vdd 5.0V 3 Vo 4 RS H/L H:DATA, L:Instruction code 5 R/W H/L H:Read(MPU→Module)L:Write(MPU→Module) 6 E 7 DB0 H/L Data bit 0 8 DB1 H/L Data bit 1 9 DB2 H/L Data bit 2 10 DB3 H/L Data bit 3 11 DB4 H/L Data bit 4 12 DB5 H/L Data bit 5 13 DB6 H/L Data bit 6 14 DB7 H/L Data bit 7 15 A / Vee - Power supply for LED backlight ( + ) Negative voltage output 16 K - Power supply for LED backlight (GND ) Ground Supply Voltage for logic (+3V option) (Variable) Operating voltage for LCD H,H→L Chip enable signal Bolymin, Inc. ◆◆◆ 8. Power Supply for LCD Module and LCD Operating Voltage a Adjustment *Standart Type LCM Vdd DC 5V typ.: 4.5V Vo VR (Recomment) Vss *(Option) LCM operating on " DC 3V " input with external negative voltage LCM Vdd DC 3V Vss VR Vo typ.: 4.5V Negative volt -3v *(Option) LCM operating on " DC 3V " input with builtin negative voltage LCM Vdd DC 3V built-in N.V generator or Temp. compensation circuit Vss Vo typ.: 4.5V Vee -3V VR Bolymin, Inc. ◆◆◆ 9. Backlight Information 9.1 Specification (1) LED array / yellow-green Parameter Symbol Min Typ Max Supply Current ILED ─ 280 Supply Voltage V - 4.2 4.3 V Reverse Voltage VR - - 8 V Luminous Intensity IV 60 - - cd / m2 ILED=280mA Wave Length λp nm ILED=280mA Hr. V≦4.2 574 - Life Time 100000 Color - Unit Test Condition mA V=4.2V Yellow Green (2) LED edge / white Parameter Symbol Min Typ Supply Current ILED ─ 60 Supply Voltage V - 3.5 3.8 V Reverse Voltage VR - - 8 V Luminous Intensity IV 50 - - cd/m2 ILED=60 mA - 10000 - Hr. V≦3.8 V Life Time Color Max white Unit Test Condition mA V= 3.5V Bolymin, Inc. ◆◆◆ (3) EL white / blue Parameter Symbol Min Typ Max Unit Test Condition Drive Voltage Vmax ─ 110 170 Vrms 25˙C Drive Wave Fmax - 400 1000 Hz 25˙C 20 - - cd/m2 110V/400Hz - 48.3 - mW 110V/400Hz - - 110V/400Hz - - 110V/400Hz hour 110V/400Hz - Light on 110V/400Hz Brightness Power Consumption 0.3019 (white) X - 0.330 (blue) Chromatism 0.3929 (white) Y - 0.365 (blue) Life time 5000 Color White / Blue 9.2 Backlight driving methods a. LED B/L drive from pin15 (LED+) pin16 (LED-) a.1 array / yellow-green LCM ++15 RL=0 Ω (recommending) RL= 3.3 Ω +4.2V ILED=280mA Backlight _ 16 +5V Bolymin, Inc. ◆◆◆ a.2 edge / white LCM + 15 (recom m ending) RL=27 Ω or higher RL=0 Ω +3.4V B acklight _ I LED =60m A +5V 16 b. LED B/L drive from A.K directly b.1 array / yellow-green LCM ++ A (recommending) RL= 3.3 Ω RL=0 Ω +4.2V ILED=280mA Backlight +5V _ K b.2 edge / white LCM + A (recom m ending) RL=27 Ω or higher RL=0 Ω +3.4V B acklight _ K I LED =60m A +5V Bolymin, Inc. ◆◆◆ c.*(Option) LED B/L drive from pin1 (Vss) pin2 (Vdd) LCM Vdd +2 Backlight 1 - RL Vss (1) Jump 1,2 Short (2) Current Resistor required on RL (3)Jump 15,16 open (4) To be sure of enough current supply for both Vdd + LED B/L d. EL B/L drive from A.K directly EL Panel Backlight +110V A K Inverter → LCM AC DC DC+5V Bolymin, Inc. ◆◆◆ 10. Quality Assurance 10.1 Inspection conditions The LCD shall be inspected under 40W white fluorescent light. 45° Definition of applicable Zones B A LCD BEZEL PCB A : D isp la y A re a B : N o n - D isp la y A re a Bolymin, Inc. ◆◆◆ 10.2 Inspection Parameters NO. Parameter Criteria Zone Acceptable Class Number Of Dimension A B Defects 1 Black or White spots D<0.15 * * 0.15≦D≦0.2 4 4 0.2≦D≦0.25 2 2 D≦0.3 0 1 D=(Long + Short)/2 Acceptable Class Acceptable Number Of Level A B Defects X(mm) Y(mm) * 2 2.5 *: Disregard Zone Scratch, Substances Minor Acceptable Level 0.04≧W * * 3.0≧L 0.06≧W 4 4 2.0≧L 0.08≧W - 0.1<W 2 3 0 1 Minor 2.5 X: Length Y: Width *: Disregard Total defects should not exceed 4/module 3 Air Bubbles ( between glass & polarizer) Zone Acceptable Class Number Of Dimension A B Defects D≦0.15 0.15<D≦0.25 * * 2 * 0.25<D 0 1 Minor *: Disregard Total defects shall not excess 3/module. Acceptable Level 2.5 Bolymin, Inc. ◆◆◆ (1) Pixel shape (with Dent) 0.152 (2) Pixel shape (With Projection) Should not be connected to next pixel Uniformity 4 0.152 (3) Pin hole X Y (X+Y)/2≦0.02mm (Less than 0.1mm is no counted) (4)Deformation X (X+Y)/2 ≦0.3mm Y Total acceptable number : 1/pixel,5/cell 12. Bolymin, Inc. ◆◆◆ 11. Reliability ■Content of Reliability Test Environmental Test No. Test Item 1 2 3 4 5 6 7 8 9 10 11 Content of Test Test Condition Endurance test applying the high 60℃ High Temperature storage temperature for a long storage 200hrs time. Endurance test applying the high -20℃ Low Temperature storage temperature for a long storage 200hrs time. Endurance test applying the High Temperature electric stress (Voltage & Current) 50℃ Operation and the thermal stress to the 200hrs element for a long time. Endurance test applying the 0℃ Low Temperature electric stress under low Operation 200hrs temperature for a long time. High Endurance test applying the high 60℃,90%RH Temperature/ temperature and high humidity 96hrs Humidity Storage storage for a long time. Endurance test applying the High electric stress (Voltage & Current) 40℃,90%RH Temperature/ and temperature / humidity stress 96hrs Humidity to the element for a long time. Operation Endurance test applying the low and high temperature cycle. -20℃/60℃ -20℃ 25℃ 60℃ Temperature Cycle 10 cycles 30min 5min 30min 1 cycle Mechanical Test 10~22Hz→1.5mmp-p Endurance test applying the Vibration test vibration during transportation 22~500Hz→1.5G and using. Total 0.5hrs 50G Half sign Constructional and mechanical wave 11 msedc Shock test endurance test applying the shock 3 times of each during transportation. direction Endurance test applying the Atmospheric 115mbar atmospheric pressure during pressure test 40hrs transportation by air. Others VS=800V,RS=1.5kΩ Static electricity Endurance test applying the CS=100pF test electric stress to the terminal. 1 time Applicable Standard —— —— —— —— —— —— —— —— —— —— —— ***Supply voltage for logic system=5V. Supply voltage for LCD system =Operating voltage at 25℃ Bolymin, Inc. ◆◆◆ 12. Appendix ( Drawing , KS0066 controller data) 12-1 Drawing 33.5 0.5 28.9 16.5(VA) 11.5(AA) 3.5 26.5 161.4 182.0 0.5 13.55 9.25 8.8 EL or No B/L 13.1 LED B/L 9.0 LED B/L 4.7 EL or No B/L 1.6 6- 1.0 7.0 15.0 1.5 4- 3.5 PTH 4- 5.5 PTH 3.2 5.55 0.7 0.65 0.5 0.4 0.6 0.65 175.0 147.5(AA) 154.4(VA) 93.5 16- 1.0 PTH 16- 1.8 PAD 2.5 2.54 19.75 16.3 12.8 3.5 (P2.54*7) 7.8 17.78 2.3 8.5 11.0 Bolymin, Inc. ◆◆◆ 12-2. KS0066 controller data 12-2.1 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. By the register selector (RS) signal, these two registers can be selected. RS R/W 0 0 IR write as an internal operation (display clear, etc.) 0 1 Read busy flag (DB7) and address counter (DB0 to DB7) 1 0 Write data to DDRAM or CGRAM (DR to DDRAM or CGRAM) 1 1 Busy Flag (BF) Operation Read data from DDRAM or CGRAM (DDRAM or CGRAM to DR) When the busy flag is 1, the controller LSI is in the internal operation mode, and the next instruction will not be accepted. When RS=0 and R/W=1, the busy flag is output to DB7. The next instruction must be written after ensuring that the busy flag is 0. 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 relationship between DDRAM addresses and positions on the liquid crystal display. High bits Low bits Example:DDRAM addresses 4E AC (hexadecimal) AC6 AC5 AC4 AC3 AC2 AC1 AC0 1 0 0 1 1 1 0 Bolymin, Inc. ◆◆◆ DDRAM Address Display position DDRAM address 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F Example: 2-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. For 5×8 dots, eight character patterns 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. Bolymin, Inc. ◆◆◆ Relationship between CGRAM Addresses, Character Codes (DDRAM) and Character Patterns (CGRAM Data) 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 2 1 0 H ig h 0 0 0 0 0 0 0 0 0 0 0 0 Low * 0 0 0 * 0 0 1 * 1 1 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 H ig h 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 1 1 1 1 1 1 1 0 1 0 1 0 0 1 1 7 6 5 4 3 2 1 0 H ig h * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Low 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 C h a ra c te r p a tte rn ( 1 ) 0 0 0 0 C h a ra c te r p a tte rn ( 2 ) 0 0 0 0 0 0 0 0 0 0 0 0 0 C u rso r p a tte rn C u rso r p a tte rn * * * 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 3 2 1 0 H ig h 0 0 0 0 Low * 0 0 0 C G R A M A d d re ss 5 4 3 2 1 0 H ig h 7 6 5 4 3 2 1 0 Low 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 1 1 0 0 1 1 0 0 1 H ig h 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 : " H ig h " C h a ra c te r P a tte rn s ( C G R A M d a ta ) * * * * * * * * * * * * * * * * * * * * * * Low * 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 * * * * * * * * C h a ra c te r p a tte rn C u rso r p a tte rn Bolymin, Inc. ◆◆◆ 12-2.2 C.G ROM table. table 2 Code J: English – Japanese Font Upper 4 bit Lower 4 bit LLLL LLLH LLHL LLHH LHLL LHLH LHHL LHHH HLLL HLLH HLHL HLHH HHLL HHLH HHHL HHHH LLLL CG RAM (1) LLLH (2) LLHL (3) LLHH (4) LHLL (5) LHLH (6) LHHL (7) LHHH (8) HLLL (1) HLLH (2) HLHL (3) HLHH (4) HHLL (5) HHLH (6) HHHL (7) HHHH (8) Bolymin, Inc. ◆◆◆ Code E: English - European Fon U pper 4 b it L ow er 4 b it LLLL LLLH LLHL LLHH LHLL LHLH LHHL LHHH HLLL HLLH HLHL HLHH HHLL HHLH HHHL HHHH LLLL CG RAM ( 1 ) LLLH CG RAM ( 2 ) LLHL CG RAM ( 3 ) LLHH CG RAM ( 4 ) LHLL CG RAM ( 5 ) LHLH CG RAM ( 6 ) LHHL CG RAM ( 7 ) LHHH CG RAM ( 8 ) HLLL CG RAM ( 1 ) HLLH CG RAM ( 2 ) HLHL CG RAM ( 3 ) HLHH CG RAM ( 4 ) HHLL CG RAM ( 5 ) HHLH CG RAM ( 6 ) HHHL CG RAM ( 7 ) HHHH CG RAM ( 8 ) Bolymin, Inc. ◆◆◆ Code C: English - Cyrillic Font Upper 4 bit Lower 4 bit LLLL LLLH LLHL LLHH LHLL LHLH LHHL LHHH HLLL HLLH HLHL HLHH HHLL HHLH HHHL HHHH LLLL CG RAM (1) LLLH CG RAM (2) LLHL CG RAM (3) LLHH CG RAM (4) LHLL CG RAM (5) LHLH CG RAM (6) LHHL CG RAM (7) LHHH CG RAM (8) HLLL CG RAM (1) HLLH CG RAM (2) HLHL CG RAM (3) HLHH CG RAM (4) HHLL CG RAM (5) HHLH CG RAM (6) HHHL CG RAM (7) HHHH CG RAM (8) Bolymin, Inc. ◆◆◆ 12-2.3 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 Return Home 0 0 0 0 0 0 0 0 Entry Mode Set 0 0 0 0 0 0 0 1 Display ON/OFF Control 0 0 0 0 0 0 1 D Cursor or Display Shift 0 0 0 0 0 1 Function Set 0 0 0 0 1 DL 0 0 0 1 0 0 1 Set CGRAM Address Set DDRAM Address 0 Write “00H” to DDRAM and set 1 DDRAM address to “00H” from AC 1.53ms 1 Set DDRAM address to “00H” from AC and return cursor to its - original position if shifted. The contents of DDRAM are not changed. 1.53ms Assign cursor moving direction I/D SH and enable the shift of entire display. C S/C R/L - N F Execution time (fosc=270K hz) - Set display (D), cursor (C ), and B blinking of cursor (B) on/off control bit. Set cursor moving and display shift 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 (F:5×11 dots/5× 8 dots) 39μs 39μs 39μs 39μs AC5 AC4 AC3 AC2 AC1 AC0 Set CGRAM address in address counter. 39μs AC6 AC5 AC4 AC3 AC2 AC1 AC0 Set DDRAM address in address counter. 39μs Read Busy Flag and Address 0 1 Whether during internal operation or not can be known by reading BF AC6 AC5 AC4 AC3 AC2 AC1 AC0 BF. The contents of address counter can also be read. Write Data to RAM 1 0 D7 D6 D5 D4 D3 D2 D1 D0 Write data into internal RAM (DDRAM/CGRAM). 43μs Read Data from RAM 1 1 D7 D6 D5 D4 D3 D2 D1 D0 Read data from internal RAM (DDRAM/CGRAM). 43μs -”:don’t care 0μs Bolymin, Inc. ◆◆◆ 12-2.4 Timing characteristics 12-2.4.1 Write Operation VIH1 RS VIH1 VIL1 VIL1 tAS R/W tAH VIL1 VIL1 PWEH VIH1 E tAH tEf VIH1 VIL1 VIL1 tEr VIL1 tDSW tH VIH1 DB0 to DB7 VIL1 VIH1 Valid data VIL1 tcycE Ta=25℃,Vdd=5.0±0.5V Item Symbol Min Typ Max Unit tcycE 500 - - ns Enable pulse width (high level) PWEH 230 - - ns Enable rise/fall time tEr,tEf - - 20 ns Address set-up time (RS, R/W to E) tAS 40 - - ns Address hold time tAH 10 - - ns Data set-up time tDSW 80 - - ns tH 10 - - ns Enable cycle time Data hold time Bolymin, Inc. ◆◆◆ 12-2.4.2 Read Operation VIH1 RS VIH1 VIL1 VIL1 tAS tAH VIH1 R/W VIH1 PWEH VIH1 E VIH1 VIL1 VIL1 tEr VIL1 tDHR t DDR VOH1 DB0 to DB7 tAH tEf VOL1* Valid data VOH1 *VOL1 t cycE NOTE: *VOL1 is assumed to be 0.8V at 2 MHZ operation. Ta=25℃,Vdd=5.0±0.5V Item Symbol Min Typ Max Unit tcycE 500 - - ns Enable pulse width (high level) PWEH 230 - - ns Enable rise/fall time tEr,tEf - - 20 ns Address set-up time (RS, R/W to E) tAS 40 - - ns Address hold time tAH 10 - - ns Data delay time tDDR - - 160 ns Data hold time tDHR 5 - - ns Enable cycle time Bolymin, Inc. ◆◆◆ 12-2.5 Initializing soft ware of LCM 12-2.5.1 8-bit interface Power on Wait for more than 15 ms after V CC rises to 4.5 V BF can not be checked before this instruction. RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function set ( Interface is 8 bits long. ) 0 0 0 0 1 1 * * * * Wait for more than 4.1 ms BF can not be checked before this instruction. RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function set ( Interface is 8 bits long. ) 0 0 1 0 0 1 * * * * Wait for more than 100 µs BF can not be checked before this instruction. RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function set ( Interface is 8 bits long. ) 0 0 1 0 0 1 * * * * BF can be checked after the following instructions. When BF is not checked , the waiting time between instructions is longer than execution instruction time. RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 0 0 1 0 0 1 N F * * 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 S I/D Initialization ends 8-Bit Ineterface Function set ( Interface is 8 bits long. Specify the number of display lines and font. ) The number of display lines and character font can not be changed after this point. Display off Display clear Entry mode set Bolymin, Inc. ◆◆◆ 12-2.5.2 4-bit interface Power on Wait for more than 15 ms after V CC rises to 4.5 V BF can not be checked before this instruction. RS R/W DB7 DB6 DB5 DB4 0 0 0 0 1 1 Function set ( Interface is 8 bits long. ) Wait for more than 4.1 ms BF can not be checked before this instruction. RS R/W DB7 DB6 DB5 DB4 0 0 0 0 1 1 Function set ( Interface is 8 bits long. ) Wait for more than 100 µs BF can not be checked before this instruction. RS R/W DB7 DB6 DB5 DB4 0 0 0 0 1 1 RS R/W DB7 DB6 DB5 DB4 0 0 0 0 0 1 0 0 0 0 1 0 0 0 N F * * 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 I/D S Initialization ends 4-Bit Ineterface Function set ( Interface is 8 bits long. ) BF can be checked after the following instructions. When BF is not checked , the waiting time between instructions is longer than execution instruction time. Function set ( Set interface to be 4 bits long. ) Interface is 8 bits in length. Function set ( Interface is 4 bits long. Specify the number of display lines and character font. ) The number of display lines and character font can not be changed after this point. Display off Display clear Entry mode set
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
advertisement