RCM2122R Liquid Crystal Displays 16 character × 1 line COG module RCM2122R RCM2122R is LCD module which controller / driver LSI built in. For display of 16 character × 1 line type reflective TN type LCD module. !Applications Printer, Copy machine, Facsimile, Telephone, etc !Features (1) Wide viewing angle, high contrast ratio. (2) The dot construction is 5 × 7 dot plus 1 line. (3) Can be interfaced with 4bit or 8bit MPU. (4) Can display 190 different types of JIS character and symbols. (5) With built-in character generator RAM, any user-design pattern can be displayed. (6) Display clear, cursor ON / OFF, displayed character blink etc, various function instruction can be accomplished simply. (7) Compact light weight type, which can be assembled to a machine easily. (8) Can drive by a 5V circuit. (9) Low power consumption. !External dimensions (Units : mm) 0.3Max. 60.2±0.3 1Max. 57.2Min. 2.75±0.3 1.1±0.1 13.7Min. 7.5±0.5 (1.2) φ1.5 1.5Max. (9) (11) φ1.2 (6.7) (8.55) Over-coating regin 0.5±0.5 (5.2) 0.5±0.5 1.1±0.1 0.5±0.5 3Max. 16.35Max. 13.35Max. 3.35Min. 0.35Min. 14 1 14−0.7±0.1 (P1.0×13)13±0.1 Terminal side 15±0.3 (7.8) (9.8) 0.3±0.05 36.6±1.3 0.5±0.5 0.5±0.5 0.58 1 0.46 2.62 0.08 0.58 0.5±0.5 0.08 2 0.5±0.5 5.2 4.3±0.3 50±1.3 7.0±0.3 23.7±0.3 (16.7) 3Max. 6.14±0.3 (50.62) 4.79±0.3 Dot detail RCM2122R Liquid Crystal Displays !Block diagram DB0 ∼ 8 LCD 16 DB7 IC1 E R/W RS VO VDD VSS 40 40 !Pin functions Pin No. Symbol Pin No. Symbol 1 DB7 8 DB0 2 DB6 9 E 3 DB5 10 R/W 4 DB4 11 RS 5 DB3 12 VO 6 DB2 13 VDD 7 DB1 14 VSS !DD RAM Address (1) Addressing mode 1 (A=0) 1 Line 1 00 2 01 3 02 4 03 5 04 6 05 7 06 8 07 9 08 10 09 11 0A 12 13 14 15 0B 0C 0D 0E 16 (Display position) 0F DD RAM ADDRESS (16H) (2) Addressing mode 2 (A=1) 1Line 1 00 2 01 3 02 4 03 5 04 6 05 7 06 8 07 9 40 10 41 11 42 12 43 13 44 14 45 15 46 16 (Display position) 47 DD RAM ADDRESS (16H) Note) The above shows the addresses when the display off is not conducted. RCM2122R Liquid Crystal Displays !Power supply sample connect VDD VDD−VO LCD MODULE VO VR : 10kΩ VDD VSS Fig.1 (Note) As operating voltage, (VDD-VO)V is charged to LCD. Optimum operating voltage changes by viewing angle and temperature. Contrast can be changed by adjustment of VO, so please use LCD module at most suitable condition by each operating situation. When you fix the VO, please check using by actual set. !Absolute maximum ratings (Ta=25°C) Parameter Symbol Min. Max. Unit Supply voltage for logics VDD-VSS −0.3 6.0 V Supply voltage for driving LCD VDD-VO −0.3 6.0 V VIN −0.3 VDD+0.3 V Operating temperature rang Topr 0 50 ˚C Storage temperature rang Tstg −20 70 ˚C Input voltage !Electrical characteristics (VDD=5.0±5%, Ta=25°C) Parameter Symbol Min. Typ. Max. Unit Conditions VDD 4.75 5.0 5.25 V VDD−VO 3.0 − VDD V Input "H" level voltage (1) VIH1 2.3 − VDD V Input "L" level voltage (1) VIL1 0 − 0.8 V Input "H" level voltage (2) VIH2 0.8VDD − VDD V Input "L" level voltage (2) VIL2 0 − 0.2VDD V Output "H" level voltage VOH 2.4 − − V IOH=−0.205mA Output "L" level voltage VOL − − 0.4 V IOL=1.6mA Power supply current IDD − 1.4 3.6 mA Supply voltage for logics Operating voltage All terminals except E terminal E VDD=5.0V, fosc=270kHz !Optical characteristics (Ta=25°C) Symbol Min. Typ. Max. Unit Rise time Parameter tr − 100 200 ms θ=10˚, φ=0˚ Decay time td − 150 250 ms θ=10˚, φ=0˚ θ=10˚, φ=0˚ Contrast ratio Viewing angle K 1.4 2.0 − − θ1 − − 10 deg θ2 40 − − deg φ ±30 − − deg Conditions φ=0˚, K≥1.4 θ=20˚, K≥1.4 RCM2122R Liquid Crystal Displays (1) Difinition of θ and φ (2) Difinition of viewing angle θ1 and θ2 Z [ θ=0˚ ] θ2' Y [ φ=180° ] Contrast ratio Viewing direction (12:00) θ2 θ1' θ1 X' 1.4 X θ1 θ2 Viewing angle Y' [ θ=0˚ ] Fig.2 Fig.3 Viewing direction (6:00) (3) Difinition of contrast ratio K (4) Difinition of optical response time Selected K=B2 / B1 B1 10% Non-selected 100% Brightness (%) B2 90% 100 Selected condition 0 tr td Rise time Driving voltage Fig.4 Decay time Fig.5 !Timing characteristics (1) Writing (VDD=5V±5%, VSS=0V, Ta=0∼+50°C) Symbol Min. Max. Unit tCYCE 500 − ns Fig.6 "H" level PWEH 220 − ns Fig.6 "L" level PWEL 280 − ns Fig.6 tEr,tEf − 20 ns Fig.6 Parameter Enable cycle time Enable pulse time Enable rise time / decay time Set-up time RS, R / W, E Address hold time Data set-up time tAS 40 − ns Fig.6 tAH 10 − ns Fig.6 tDSW 60 − ns Fig.6 tH 10 − ns Fig.6 Data hold time RS R/W VIL1 VIH1 VIH1 tAS tAH VIL1 VIL1 VIL1 PWEH tAH tEf PWEL E VIL2 VIH2 tDSW tEr DB0∼DB7 VIH2 VIH1 VIL1 VIL2 tH VIL2 VIH1 VIL1 Valid data tCYCE Fig.6 RCM2122R Liquid Crystal Displays (2) Reading (VDD=5V±5%, VSS=0V, Ta=0∼+50°C) Parameter Symbol Min. Max. Unit tCYCE 500 − ns Fig.7 "H" leve PWEH 220 − ns Fig.7 "L" level PWEL 280 − ns Fig.7 tEr,tEf − 20 ns Fig.7 tAS 40 − ns Fig.7 Address hold time tAH 10 − ns Fig.7 Data set-up time tDDR − 240 ns Fig.7 Data hold time tDHR 20 − ns Fig.7 Enable cycle time Enable pulse time Enable rise time / decay time RS, R / W, E Set-up time RS R/W VIH1 VIL1 VIH1 VIL1 tAS tAH VIH1 VIH1 PWEH tAH tEf E VIL2 VIH2 PWEL VIH2 VIL2 VIL2 tDDR tDHR tEr DB0∼DB7 VOH1 VOL1 Valid data VOH1 VOL1 tCYCE Fig.7 !Pin function Symbol Level I/O VSS − − VDD − − 5.0V Power voltage − 3.0∼5.0V (VDD∼VO) LCD drive voltage set termination VDD ≥ VO ≥ VSS VO − Function 0V RS H/L I Resistor select signal 0 : Instruction resistor (Write) Busy flag address counter (Read) 1 : Data resistor (Read / Write) R/W H/L I Read (R) Write (W) Select signal 0 : Write MPU → LCD module 1 : Read MPU ← LCD module E H, H / L I Signal to start read or write data H/L I/O H/L I/O ∼ DB4 DB7 ∼ DB0 DB3 Upper level 4 line data bus Also DB7 is enable to use as busy flag Lower level 4 line data bus These pins are not used during 4-bits operation Ground electrical potential RCM2122R Liquid Crystal Displays !Instruction There are two resistors of instruction resistor and data resistor inside the driver IC. And perform the internal operation at recorded the control information temporary here for enabling interface the various CPU or control IC which have different speed than internal operation. Internal operation is controlled by resistor select signal, read and write signal, and data bus signal. List of instruction and operation time are mentioned below. Code Instruction Description Execution time(Max.) (fCP or fosc=270kHz) RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Clear display 0 0 0 0 0 0 0 0 0 1 Cursor is returned to home position (address o) after entire display clear. 2.2ms Cursor at home 0 0 0 0 0 0 0 0 1 ∗ Cursor is returned to home position (address o). Shifted display is also returned to the original position. Contens of DDRAM are not changed. 2.2ms Entry mode 0 0 0 0 0 0 0 1 I/D S Display ON / OFF control 0 0 0 0 0 0 1 D Cursor / Display shift 0 0 0 0 0 1 S/C R/L Function set 0 0 0 0 1 CG RAM address set 0 0 0 1 ∗ DD RAM address set 0 0 1 Busy flag / Address read 0 1 BF CG RAM / DD RAM data read 1 0 ∗ ∗ ∗ CG RAM / DD RAM data read DL A Entire display ON / OFF (D), cursor ON / OFF (C), and character blink (B) at cursor position are set. 53µs ∗ ∗ Cursor and dispaly are shifted without changing the contents of DDRAM. 80µs ∗ ∗ ∗ Interface data length (DL), Addressing mode of DDRAM (A) are set. 53µs CGRAM address is set. After this what is transmitted and received is the data of CGRAM. 53µs DDRAM address is set. After this what is transmitted and received is the data of DDRAM. 53µs Busy flag (BF) showing internal operation and contents of address counter are read. 0µs Data are written in DDRAM or CGRAM 53µs ACG ACDD ACCG Write Data (DD RAM) Write Data (CG RAM) Read Data (DD RAM) 1 1 ∗ ∗ ∗ I / D=1 : Increment I / D=0 : Decrement S=1 : With display shift S / C=1 : With display shift S / C=0 : Cursor movement R / L=1 : Shift to the right R / L=0 : Shift to the left DL=1 : 8bits DL=0 : 4bits A=0 : Addressing mode 1 A=1 : Addressing mode 2 BF=1 : Internal operation is being performed BF=0 : Instruction acceptable ∗ Don't care 53µs B C ADD ∗ ∗ Cursor advance direction and display shift are set. These operation are performed during data write and read modes. Data are read out of DDRAM or CGRAM Read Data (CG RAM) DD RAM : Display data RAM CG RAM : Character generator RAM ACG : Address of CGRAM ADD : Address of DDRAM These correspond to cursor address. AC :Address counter used for both DDRAM and CGRAM. 80µs Exchange time changes with change in internal oscillation frequency (fosc) RCM2122R Liquid Crystal Displays !Character code and pattern table Upper 4bits (HEX) 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Lower 4bits (HEX) XXXX0000 CGRAM (1) XXXX0001 (2) XXXX0010 (3) XXXX0011 (4) XXXX0100 (1) XXXX0101 (2) XXXX0110 (3) XXXX0111 (4) XXXX1000 (1) XXXX1001 (2) XXXX1010 (3) XXXX1011 (4) XXXX1100 (1) XXXX1101 (2) XXXX1110 (3) XXXX1111 (4) RCM2122R Liquid Crystal Displays !Reset function When the power is supplied, the setting are automatically reset to the initial / default values. The following is concluded during the initial / default setting. Until the initial / default settings are completed, the busy flag remains busy condition. The tivace length when busy flag is a busy condition is 10ms after VDD reaches 4.5Volt. The flow of initial / default setting is snow on below diagram. Display clear Function set Dispaly ON / OFF control Entry mode DL=1 : 8bits interface data A=0 : Addressing mode 1 D=0 : Dispaly OFF C=0 : Cursor OFF B=0 : Blink OFF I / D=1 : +1 (Increment) S=0 : No shift (Note) In case the condition mentioned and by Power supply condition when built in reset circuitb is used can not be satisfied, please make Initializing by CPU based on Initializing by instruction . RCM2122R Liquid Crystal Displays !Initializing by instruction Power on Initializing is done No display Wait for more than 15ms after VCC reach to 4.5V RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function set 0 0 0 0 1 1 * * * * Interface is 8bits long Wait for more than 4.1ms RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function set 0 0 0 0 1 1 * * * * Interface is 8bits long Wait for more than 100µs RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function set 0 0 0 0 1 1 * * * * Interface is 8bits long Busy flag check is not possible at previous step, but it is possible at further step. RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Function set 0 0 0 0 1 1 1 * * * Set up 8bits bus mode / addressing mode 2 Dispaly OFF 0 0 0 0 0 0 1 0 0 0 Dispaly clear 0 0 0 0 0 0 0 0 0 1 Entry mode set 0 0 0 0 0 0 0 1 1 0 It is the case that address become +1 and cursor shifts to right during data write to DD RAM / CG RAM. Data write to CG RAM / DD RAM other necesary instruction set RCM2122R Liquid Crystal Displays !Operation note (1) Handling precautions • Protect LCDs from strong shocks as these can cause damage of defective operation. • The polarization plate on the surface of the LCD is soft and can be easily scratched. Wipe away dirt dust lightly with a soft cloth soaked in an alcohol-based cleanser. • If the liquid crystal panel is damaged and the liquid crystal contacts your hands or clothing wash with soap and copious quantities of water immediately. • If the unit is to be use for long periods under direct sunlight, use a filter to cut ultraviolet. •Do not store in areas of high temperature or high humidity. Do not store the unit where it will be exposed to strong sunlight or fluorescent light. •Using under high temperature or high humidity may cause damages on the polarization plate. (2) Operating precautions • Do not connect or disconnect the module while the module is in a powered up state. • Send the input signal only after the module has been powered up. Removing or connecting the LCD driver power supply, when the unit is in the ON state, can cause damage to the LCD. (3) Work precautions • Use an grounded soldering iron. • Complete soldering within 3 sec per 1 pin with 280°C±10°C soldering heat. • Do not apply any physical stress on leads. • Protect the polarization plate and the side of grass from flux or melted solders in soldering work. • Do not apply more than 100g weight on the surface and at the corners of LCD. (4)Installation precautions • Placing protection covers on the panel surface is strongly recommended for protection of the polarization plate. • Do not apply strong shocks on over-coating resin over the IC when installed to the set. (5)Precautions for COG module • Do not let light in the IC. The light many cause malfunction. The light protection film attached on LCD can not prevent malfunction perfectly. Light shielding is also necessary on your application. • A protective film is pasted over the front and back of the module to protect the panel surfaces during shipping and installation. When this film is peeled off, if may hold static electricity. Peel the film off very slowly using an iron blower or other deionizing tool. • Special protections from static electricity are not applied to the module. Protect static electricity by your application.