NHD-2.4-240320CF-CSXN#-FT TFT (Thin-Film Transistor) Liquid Crystal Display Module NHD2.4240320CFCSXN#FT- Newhaven Display 2.4” Diagonal 240 x 320 Pixels (Portrait Mode) Model Built-in Controller Sunlight Readable TFT TN, 6:00 Optimal View, Wide Temperature RoHS Compliant FFC ZIF Connection Style 4-Wire Resistive Touch Panel Newhaven Display International, Inc. 2661 Galvin Ct. Elgin IL, 60124 Ph: 847-844-8795 Fax: 847-844-8796 www.newhavendisplay.com [email protected] [email protected] Document Revision History Revision 0 1 2 3 Date 9/25/15 2/17/16 3/21/16 4/7/16 Description Initial Release Corrected Brightness Condition, Datasheet Reformat Updated Mechanical Drawing, Added Backlight Lifetime Viewing Angle Clarification, Brightness Updated Functions and Features • • • • • • • • • 240 x 320 pixels White LED backlight 3.3V power supply 8-bit or 16-bit Parallel MPU interface FFC ZIF I/O connection Built-in ST7789S controller 262K colors 4-wire Resistive Touch Panel Sunlight Readable [2] Changed by SB SB SB SB L A I Mechanical Drawing 1 2 3 4 A Rev Notes: 1. Display Type: 2.4” TFT 2. Display Mode: Transmissive / Normally White / Anti-Glare 3. Optimal View: 6:00 D 4. Controller IC: ST7789S 5. Power Supply Voltage: 3.3V 6. Backlight: White LED / 3.1 V / 100 mA (Typ) 7. Brightness: 680 cd/m² (Typ) 8. Touch Panel: 4-Wire Resistive 1 2 6 Date T N F N O C Description E D I B C 5 A B C D Date 04/07/16 Unit Gen. Tolerance ±0.3mm 3 4 mm 5 Model: NHD-2.4-240320CF-CSXN#-FT 6 The drawing contained herein is the exclusive property of Newhaven Display International, Inc. and shall not be copied, reproduced, and/or disclosed in any format without permission. [3] Pin Description Pin No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Symbol GND YD XL YU XR NC VDD IOVDD NC /CS D/C /WR /RD DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 DB8 DB9 DB10 DB11 DB12 DB13 DB14 DB15 /RES IM0 NC GND LED-K1 LED-K2 LED-K3 LED-K4 LED-A GND NC External Connection Power Supply Touch Controller Touch Controller Touch Controller Touch Controller Power Supply Power Supply MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU MPU Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply - Function Description Ground Touch Panel – Down Touch Panel – Left Touch Panel – Up Touch Panel – Right No Connect Supply Voltage for LCD (3.3V) Supply Voltage for Logic (1.8V) No Connect Active LOW Chip Select signal (can tie to GND) Data / Command selection: ‘1’ = Data ; ‘0’ = Command Active LOW Write signal Active LOW Read signal Bi-directional data bus 8-bit: use DB8-DB15 16-bit: use DB0-DB15 Active LOW Reset signal IM0=0: 16-bit i80 IM0=1: 8-bit i80 No Connect Ground Backlight Cathode (Ground) Backlight Cathode (Ground) Backlight Cathode (Ground) Backlight Cathode (Ground) Backlight Anode (3.1V) Ground No Connect Recommended LCD connector: 40-pin, 0.5mm pitch FFC connector [4] Molex P/N: 54132-4062 or similar Wiring Diagram [5] Electrical Characteristics Item Operating Temperature Range Storage Temperature Range Supply Voltage for LCD Supply Current “H” Level input “L” Level input “H” Level output “L” Level output Backlight Supply Voltage Backlight Supply Current Backlight Lifetime* Symbol Top Tst VDD IDD Vih Vil Voh Vol Condition Absolute Max Absolute Max VDD=3.3V - Min. -20 -30 2.4 0.7*VDD GND 0.8*VDD GND Typ. 3.3 6 - Max. +70 +80 3.5 12 VDD 0.3*VDD VDD 0.2*VDD Unit ⁰C ⁰C V mA V V V V Vled Iled - Vled=3.1V ILED = 100 mA Top = 25° C 2.8 20,000 3.1 100 50,000 3.5 125 - V mA Hrs. Condition Min. 150 560 - *Backlight Lifetime is rated as Hours until half-brightness, under normal operating conditions. Optical Characteristics Optimal Viewing Angles Item Top Bottom Left Right Contrast Ratio Luminance Response Time Rise Fall Symbol ϕY+ ϕYθXθX+ Cr Lv Tr Tf Touch Panel Characteristics Item Linearity Circuit Resistance – X-Axis Circuit Resistance – Y-Axis Insulation Resistance Operating Voltage Chattering Activation Force Pen Writing Durability Pitting Durability Surface Hardness Min. 200 250 20 100 100,000 1,000,000 3 Cr ≥ 10 Iled = 100mA - Typ. - Max. 1.5 600 900 5 15 - Typ. 50 55 55 55 200 680 4 12 Max. 8 24 Unit % Ω Ω MΩ V ms g Characters Touches H Controller Information Built-in ST7789S controller. Please download specification at http://www.newhavendisplay.com/app_notes/ST7789S.pdf Table of Commands Please download specification at http://www.newhavendisplay.com/app_notes/ST7789S.pdf [6] Unit ⁰ ⁰ ⁰ ⁰ 2 cd/m ms ms Timing Characteristics Parallel 18/16/9/8-bit Interface Timing Characteristics (8080-II system) [7] Reset Timing Power ON/OFF Sequence [8] Example Initialization Code /*******************************************************************************/ void TFT_24_7789_Write_Command(unsigned int command) { GPIO_ResetBits(GPIOC, CS1); GPIO_ResetBits(GPIOC, RS); GPIO_SetBits(GPIOC, nRD); GPIO_ResetBits(GPIOC, nWR); GPIO_Write(GPIOB, command); TFT_delay(10); GPIO_SetBits(GPIOC, nWR); TFT_delay(1); } /*******************************************************************************/ void TFT_24_7789_Write_Data(unsigned int data1) { GPIO_Write(GPIOB, data1); GPIO_SetBits(GPIOC, RS); GPIO_ResetBits(GPIOC, nWR); TFT_delay(1); GPIO_SetBits(GPIOC, nWR); } /*******************************************************************************/ void TFT_24_7789_Init(void) { int n; GPIO_ResetBits(GPIOC, CS1); GPIO_SetBits(GPIOC, nRD); GPIO_ResetBits(GPIOC, nWR); GPIO_WriteBit(GPIOC, RES, Bit_RESET); TFT_delay(100); GPIO_WriteBit(GPIOC, RES, Bit_SET); TFT_delay(100); TFT_24_7789_Write_Command(0x0011);//exit SLEEP mode TFT_delay(100); TFT_24_7789_Write_Command(0x0036); TFT_24_7789_Write_Data(0x0080);//MADCTL: memory data access control TFT_24_7789_Write_Command(0x003A); TFT_24_7789_Write_Data(0x0066);//COLMOD: Interface Pixel format TFT_24_7789_Write_Command(0x00B2); TFT_24_7789_Write_Data(0x000C); TFT_24_7789_Write_Data(0x0C); TFT_24_7789_Write_Data(0x00); TFT_24_7789_Write_Data(0x33); TFT_24_7789_Write_Data(0x33);//PORCTRK: Porch setting TFT_24_7789_Write_Command(0x00B7); TFT_24_7789_Write_Data(0x0035);//GCTRL: Gate Control TFT_24_7789_Write_Command(0x00BB); TFT_24_7789_Write_Data(0x002B);//VCOMS: VCOM setting TFT_24_7789_Write_Command(0x00C0); TFT_24_7789_Write_Data(0x002C);//LCMCTRL: LCM Control TFT_24_7789_Write_Command(0x00C2); TFT_24_7789_Write_Data(0x0001); TFT_24_7789_Write_Data(0xFF);//VDVVRHEN: VDV and VRH Command Enable TFT_24_7789_Write_Command(0x00C3); TFT_24_7789_Write_Data(0x0011);//VRHS: VRH Set TFT_24_7789_Write_Command(0x00C4); [9] TFT_24_7789_Write_Data(0x0020);//VDVS: VDV Set TFT_24_7789_Write_Command(0x00C6); TFT_24_7789_Write_Data(0x000F);//FRCTRL2: Frame Rate control in normal mode TFT_24_7789_Write_Command(0x00D0); TFT_24_7789_Write_Data(0x00A4); TFT_24_7789_Write_Data(0xA1);//PWCTRL1: Power Control 1 TFT_24_7789_Write_Command(0x00E0); TFT_24_7789_Write_Data(0x00D0); TFT_24_7789_Write_Data(0x0000); TFT_24_7789_Write_Data(0x0005); TFT_24_7789_Write_Data(0x000E); TFT_24_7789_Write_Data(0x0015); TFT_24_7789_Write_Data(0x000D); TFT_24_7789_Write_Data(0x0037); TFT_24_7789_Write_Data(0x0043); TFT_24_7789_Write_Data(0x0047); TFT_24_7789_Write_Data(0x0009); TFT_24_7789_Write_Data(0x0015); TFT_24_7789_Write_Data(0x0012); TFT_24_7789_Write_Data(0x0016); TFT_24_7789_Write_Data(0x0019);//PVGAMCTRL: Positive Voltage Gamma control TFT_24_7789_Write_Command(0x00E1); TFT_24_7789_Write_Data(0x00D0); TFT_24_7789_Write_Data(0x0000); TFT_24_7789_Write_Data(0x0005); TFT_24_7789_Write_Data(0x000D); TFT_24_7789_Write_Data(0x000C); TFT_24_7789_Write_Data(0x0006); TFT_24_7789_Write_Data(0x002D); TFT_24_7789_Write_Data(0x0044); TFT_24_7789_Write_Data(0x0040); TFT_24_7789_Write_Data(0x000E); TFT_24_7789_Write_Data(0x001C); TFT_24_7789_Write_Data(0x0018); TFT_24_7789_Write_Data(0x0016); TFT_24_7789_Write_Data(0x0019);//NVGAMCTRL: Negative Voltage Gamma control TFT_24_7789_Write_Command(0x002A); TFT_24_7789_Write_Data(0x0000); TFT_24_7789_Write_Data(0x0000); TFT_24_7789_Write_Data(0x0000); TFT_24_7789_Write_Data(0x00EF);//X address set TFT_24_7789_Write_Command(0x002B); TFT_24_7789_Write_Data(0x0000); TFT_24_7789_Write_Data(0x0000); TFT_24_7789_Write_Data(0x0001); TFT_24_7789_Write_Data(0x003F);//Y address set TFT_delay(10); } /*******************************************************************************/ [10] Quality Information Test Item Content of Test Test Condition Note High Temperature Storage Endurance test applying the high storage temperature for a long time. +80⁰C, 96hrs 2 Low Temperature Storage High Temperature Operation Endurance test applying the low storage temperature for a long time. Endurance test applying the electric stress (voltage & current) and the high thermal stress for a long time. -30⁰C, 96hrs 1,2 +70⁰C, 96hrs 2 Low Temperature Operation Endurance test applying the electric stress (voltage & current) and the low thermal stress for a long time. -20⁰C, 96hrs 1,2 High Temperature / Humidity Operation Endurance test applying the electric stress (voltage & current) and the high thermal with high humidity stress for a long time. +40⁰C, 90-95% RH, 96hrs 1,2 Thermal Shock resistance Endurance test applying the electric stress (voltage & current) during a cycle of low and high thermal stress. -20⁰C,30min -> 25⁰C,5min -> 70⁰C,30min -> 25⁰C,5min = 1 cycle. 10 cycles Vibration test Endurance test applying vibration to simulate transportation and use. Endurance test applying electric static discharge. 10Hz-55Hz, 1.5mm amplitude. 2hrs in each of 3 directions X,Y,Z VS=8KV, RS=330kΩ, CS=150pF Ten times Static electricity test Note 1: No condensation to be observed. Note 2: Conducted after 4 hours of storage at 25⁰C, 0%RH. Note 3: Test performed on product itself, not inside a container. Precautions for using LCDs/LCMs See Precautions at www.newhavendisplay.com/specs/precautions.pdf Warranty Information See Terms & Conditions at http://www.newhavendisplay.com/index.php?main_page=terms [11] 3