晶采光電科技股份有限公司 AMPIRE CO., LTD SPECIFICATIONS FOR LCD MODULE CUSTOMER CUSTOMER PART NO. AMPIRE PART NO. APPROVED AM-800600J1TMQW-TU0H BY DATE Approved For Specifications Approved For Specifications & Sample AMPIRE CO., LTD. 2F., No.88, Sec. 1, Sintai 5th Rd., Sijhih City, Taipei County 221, Taiwan (R.O.C.) 台北縣汐止市新台五路一段 88 號 2 樓(東方科學園區 D 棟) TEL:886-2-26967269 , FAX:886-2-26967196 or 26967270 APPROVED BY Date : 2009/8/3 CHECKED BY ORGANIZED BY 1 RECORD Revision Date Page 2009/8/3 - Date : 2009/8/3 OF REVISION Contents Editor New Release JOHN 2 Index 1 INTRODUCTION ................................................................................................................................. 5 2 APPLICATION DIAGRAM................................................................................................................. 5 3 PHYSICAL SPECIFICATIONS ......................................................................................................... 6 4 ELECTRICAL SPECIFICATION ....................................................................................................... 6 4.1 ABSOLUTE MAX. RATINGS ............................................................................................................ 6 4.1.1 Electrical Absolute max. ratings ..................................................................................... 6 4.1.2 Environmental Absolute max. ratings ........................................................................... 6 4.2 ELECTRICAL CHARACTERISTICS .................................................................................................. 7 4.2.1 DC Electrical characteristic.............................................................................................. 7 5 OPTICAL SPECIFICATION............................................................................................................... 9 6 BLOCK DIAGRAM ............................................................................................................................11 7 INTERFACE SPECIFICATIONS......................................................................................................11 8 SOFTWARE COMMAND SET........................................................................................................ 12 8.1 BASIC AGREEMENT .................................................................................................................... 12 8.1.1 UART default Parameters...................................................................................................... 12 8.1.2 Serial port data frame structure ( Hex mode) ........................................................................ 12 8.2 COMMAND SET ( HEX MODE) ................................................................................................... 13 8.2.1 Configuration Command ....................................................................................................... 13 8.2.2 Hand Shake Command........................................................................................................... 14 8.2.3 Display Mode Setting............................................................................................................. 15 8.2.3.1 SET_COLOR .............................................................................................................................. 15 8.2.3.2 SET_FONT_PITCH .................................................................................................................... 15 8.2.3.3 SET_BACKGROUND_COLOR By X,Y ................................................................................... 16 8.2.3.4 SET_FRONT_COLOR By X,Y .................................................................................................. 16 8.2.3.5 SET_CURSOR_MODE .............................................................................................................. 17 8.2.4 Text Display Command .......................................................................................................... 18 8.2.4.1 PRINT_STRING_8x8 (Standard Font)........................................................................................ 18 8.2.4.2 PRINT_STRING_16x16 (Standard Font).................................................................................... 19 8.2.4.3 PRINT_STRING_32x32 (Standard Font).................................................................................... 20 8.2.4.4 PRINT_STRING_12x12(Standard Font)..................................................................................... 21 8.2.4.5 PRINT_STRING_24x24 (Standard Font).................................................................................... 22 8.2.4.6 PRINT_STRING (Custom Font Library) .................................................................................... 23 8.2.5 Put pixel Command................................................................................................................ 26 Date : 2009/8/3 3 8.2.5.1 Put Pixel by Background Color ................................................................................................... 26 8.2.5.2 Put Pixel by Front Color .............................................................................................................. 27 8.2.5.3 Put Pixel and Clear vertical line by specify color ........................................................................ 28 8.2.6 Draw Line Command............................................................................................................. 30 8.2.6.1 Draw Front Color Lines by the specify points ............................................................................. 30 8.2.6.2 Draw Background Color Lines by the specify points .................................................................. 31 8.2.7 Draw Circle Command .......................................................................................................... 32 8.2.7.1 8.2.8 Draw a Circle by the specified the radius and center points. ....................................................... 32 Draw Rectangle Command .................................................................................................... 33 8.2.8.1 Draw a front color Rectangle by the specified the left-up and right-down points........................ 33 8.2.8.2 Draw a background color Rectangle by the specified the left-up and right-down points............. 34 8.2.9 Full Area Command............................................................................................................... 35 8.2.9.1 Clear Screen................................................................................................................................. 35 8.2.9.2 Full area with Background color.................................................................................................. 36 8.2.9.3 Full area with Front color ............................................................................................................ 37 8.2.9.4 Reverse area color ....................................................................................................................... 38 8.2.10 Move Area Command........................................................................................................ 39 8.2.10.1 Move area data to left N pixel by the specified the left-up and right-down points. ..................... 39 8.2.10.2 Move area data to right N pixel by the specified the left-up and right-down points. ................... 40 8.2.10.3 Move area data to left N pixel by the specified the left-up and right-down points. And full the right N pixel with background color ................................................................................................................. 41 8.2.10.4 Move area data to right N pixel by the specified the left-up and right-down points. And full the left N pixel with background color ................................................................................................................... 42 8.2.11 Picture Command.............................................................................................................. 43 8.2.11.1 Show the full picture by specify the PICNUM ............................................................................ 43 8.2.11.2 Show the area of picture in position X,Y by specify the PICNUM , left-up and right-down points , X and Y. 44 8.2.11.3 Save the screen data to flash memory. ......................................................................................... 45 8.2.12 8.2.12.1 8.2.13 Display RAM Command.................................................................................................... 46 Write data to the display RAM. ................................................................................................... 46 IO control Command......................................................................................................... 47 8.2.13.1 SET I/O1 to Low ......................................................................................................................... 47 8.2.13.2 SET I/O1 to High......................................................................................................................... 47 9 QUALITY AND RELIABILITY ......................................................................................................... 48 10 IF CONNECTOR PINS10. USE PRECAUTIONS ........................................................................ 53 10 10. USE PRECAUTIONS................................................................................................................. 53 11 OUTLINE DIMENSION .................................................................................................................... 55 Date : 2009/8/3 4 1 Introduction This is a color active matrix TFT-LCD that uses amorphous silicon TFT as a switching device. This model is composed of a 7.0inch TFT-LCD panel, a driving circuit and LED backlight system.This TFT-LCD has a high resolution (800(R.G.B) X 600) and can display up to 65K colors . The TFT LCD module is a complete HMI module. It is able to handle the TFT panel by UART (Universal Asynchronous Receiver/Transmitter) interface. The user can easy use/control the TFT Panel by commands. High Speed ASCI IC and rich function (Text support, draw pixel, draw Line, draw Arc, draw Rectangle) design will make the user’s product success. 2 Application Diagram Any MCU which is with UART interface can control the TFT module. Date : 2009/8/3 5 3 Physical Specifications Item Specifications unit Display resolution(dot) 800RGB (W) x 600(H) dots Display area 141.6 (W) x 106.2 (H) mm Pixel pitch 0.177 (W) x 0.177 (H) mm Color configuration R.G.B Vertical stripe Overall dimension 168(W)x135(H)x22.8(D)---(Typ) mm 500 cd/m2 Brightness Contrast ratio 250 : 1 Backlight unit LED Display color 65K Viewing Direction colors 6 o’clock Display Mode Normally White 4 Electrical Specification 4.1 Absolute max. ratings 4.1.1 Electrical Absolute max. ratings Item Power voltage Symbol Condition +3.3V (Vin) GND=0 Input voltege Min. Max. Unit -0.3 30.0 V -0.3 3.6 V Remark Note 1 Note1:RXD,TXD 4.1.2 Environmental Absolute max. ratings OPERATING STORAGE Item MIN MAX MIN MAX Temperature Corrosive Gas -20 70 Not Acceptable -30 Remark 80 Not Acceptable Note1 : Ta <= 40℃ : 85% RH max Ta > 40℃ : Absolute humidity must be lower than the humidity of 85%RH at 40℃ Date : 2009/8/3 6 4.2 Electrical characteristics 4.2.1 DC Electrical characteristic Typical operting conditions (GND=0V) Symbol Min. Item Power supply H Level Input Voltage Typ. Max. Unit Vin 4.6 -- 26.0 V VIH 0.7 VDD - VDD V Remark Note 1 for logic L Level VIL 0 - 0.3 VDD V Power Supply current IDD -- 190 -- mA Power consumption P 2.5 Note 2 W Note1:RXD0,TXD0,RXD1,TXD1. Note2: The internal power circuit will transfer the Vin(12V) to VDD=+3.3V for the module power, LED Backlight turn ON. Item GPU CPU Processor L1 Cache performance ( 8nS Register) Min. --- Max. --- Unit Remark MHz MHz 512 Bytes 8 KB UART Buffer 32 KB Display Buffer 1024 KB Flash Memory: 128 MB Flash Memory: Font Flash Memory: Picture 32 L2 Cache ( 10nS SRAM) Storage Typ. 80 100 Flash Memory: User Data Date : 2009/8/3 64 94 MB MB 0 32 MB 7 Item Uart Speed LCD Interface Min. Typ. Max. Unit 115200 bps COM1 (3.3V CMOS) User interface 1200 COM2 (3.3V CMOS) Function expand -- 115200 -- bps CLOCK_H 10 25 33 MHz CLOCK_L 1 5 10 MHz VOH (IOH=-100uA) 0.9VLCD -- -- V VOL(IOL=100uA) -- -- 0.2 VLCD V IO -20 +20 mA Resolution Color mode ESD(HBM) Date : 2009/8/3 Remark 640*480 800*600 Dots 16 bit, R5G6B5 2 KV 8 Optical Specification Item Symbol Response Time Tr +Tf Contrast ratio Viewing Angle CR Vertical Θ Horizontal Φ Luminance Θ=Φ=0° CR≧10 L Luminance Uniformity Color chromaticity Conditon White ΔL Wx Wy Θ=Φ=0° Min. Typ. Max. Unit Note - 16 -- ms (1) -- 250 - - (2)(3) -- 120 - -- 140 - Deg. (5) -- 400 - cd/m2 (3)(4) - 70 - % (3)(4) 0.27 0.27 0.32 0.32 0.37 0.37 NOTE : ● These items are measured by BM-5A(TOPCON) or CA-1000(MINOLTA) in the dark room (no ambient light) ●T.B.D means To be define. (1) Definition of Response Time (White-Black) (2) Definition of Contrast Ratio Measure contrast ratio on the below 5 points(refer to figurel,#1~#5point) and take the average value Contrast ratio is calculated with the following formula : Contrast Ratio(CR)=(White)Luminance of ON ÷ (Black)Luminance of OFF (3) Definition of Luminance : Measured at the center area of the panel when all the input terminals of LCD panel are electrically opened. Date : 2009/8/3 9 (4)Definition of Luminance Uniformity : Measured Maximum luminance[L(MAX)] and Minimum luminance[L(MIN)] on the 5 points Luminance Uniformity is calculated with the following formula : ΔL =[ L(MIN) / L (MAX) ] X 100% (5)Definition of Viewing Angle Φ =(Θx+)+(Θx-) Date : 2009/8/3 Θ =(Θy+)+(Θy-) 10 5 Block Diagram 7.0" TFT Panel 800x600 LED Back-light Source driver /T-Com/Gate driver LED Driver RGB interface NAND Flash (128MB) CPU/GPU RXD / TXD Display RAM LCD Power 3.3V Power Circuit Vin GND 6 Interface specifications 8 Pins Pitch 2.54 connector PIN Name I/O 1 Vin P 2 Vin P 3 /BUSY O Description Remark Power input pin for the module (4.6~26V) Power input pin for the module (4.6~26V) Hi : Idle. The user can send the data to module. Note1 Lo: Busy. The data will be lost. 4 TXD O User UART serial signal output 5 RXD I User UART serial signal input 7 GND P Power and signal Ground 8 GND P Power and signal Ground Note 1: The /BUSY=1 indicates that the internal GPU/CPU can accept at least a “Command Frame”. The /BUSY=0 indicates that the interface board can’t accept any “Command Frame”. The user can ignore the /BUSY signal unless the user use the “Command Frame End” and send lots “ Command Frame “ over the UART buffer. Date : 2009/8/3 11 7 Software Command SET 7.1 Basic Agreement 7.1.1 UART default Parameters The default parameters of UART are: Baudrate: ............ 115200 bps ( 1200~115200 can be selected) No of Stop Bits: .... 1 Parity: .................. Off Handshake: .......... None 7.1.2 Serial port data frame structure ( Hex mode) The “Serial port data frame structure” includes Start Character, Command, Data Pack and End Characters. The command Frame stat with “Start Character 0xAA”. And the follow byte is Command Byte, Data Pack. The “End Byte” is 0XCC 0x33 0xC3 0X3C. The user can add “Delay time” instead of the End Byte. But if the “End Byte” has been send, the “Delay time “ lose efficacy. Structure Start Character Length(Byte) 1 0XAA Baudrate_Set 0x00 0x01 0X02 0X03 0X04 0X05 0X06 0X07 Command Data Pack End Characters 1 One Byte (see command Set) 0-249 Relative Data (max 249 bytes) 4 0xCC 0x33 0xC3 0x3C Or add the Delay time Baudrate (bps) 1200 2400 4800 9600 19200 38400 57600 115200 Date : 2009/8/3 Relative Delay Time 12.5mS 6.25mS 3mS 3mS 2mS 2mS 1mS 1mS 12 7.2 Command SET ( Hex mode) All the command description is hexadecimal format (HEX). The X,Y coordinate express two bytes. High byte(MSB) + Low byte(LSB). EX : X=10 (0x000A), The user must send the 0x00 0x0A. (0,0) X Vin TXD RXD GND Y TFT 7.2.1 Configuration Command Start Byte 0XAA Command Byte 0xE0 Data Bytes 0x55 0xAA 0x5A 0xA5 +TFT_ID+ Baudrate_Set +0x00 Description: Set the TFT _ ID, UART Baudrate, End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Class: Multi Byte Command Code: E0hex, 224dec TFT _ ID: TFT_ID Resolution Mode Picture Remark 0x04 800x480 SYNC 128 AM800480E 0x0A / 0x01 640x480 SYNC 153 AM640480G2 0x0B 320x240 SYNC 153 AM320240N/N1 0x0D 800x600 DE 96 AM800600J1 Baudrate_Set: Baudrate_Set Baudrate (bps) Relative Delay Time 0x00 1200 12.5mS 0x01 2400 6.25mS 0X02 4800 3mS 0X03 9600 3mS 0X04 19200 2mS 0X05 38400 2mS 0X06 57600 1mS 0X07 115200 1mS Example : AM320240N/N1 , Baudrate 115200bps. RXD0 Input : AA E0 55 AA 5A A5 0B 07 00 TXD0 Output : AA E0 0B 07 00 CC 33 C3 3C Date : 2009/8/3 13 Note: The default Baudrate is 115200 N, 8 , 1 between power on 0~200mS , after 200mS the baudrate is set to user setting. 7.2.2 Hand Shake Command Start Byte 0XAA Command Byte 0x00 Data Bytes End Byte None 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: Check the interface board communication Class: Single Byte Command Code: 00hex, 00dec Example : The Output information depend on configuration. RXD0 Input : AA 00 TXD0 Output: AA 00 “ OK_V3.10” 0B 07 00 CC 33 C3 3C Note: The power on reset time is 0.5~2 seconds. Date : 2009/8/3 14 7.2.3 Display Mode Setting 7.2.3.1 SET_COLOR Start Byte 0XAA Command Byte 0x40 Data Bytes End Byte Front Color MSB Front Color LSB BK Color MSB BK Color MSB 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: Set Front Color and Back Color. The Color data is 16 bits ( 0x0000~0xFFFF). The default Front color is 0xFFFF(White) and the Background color is 0x001F (Blue). Class: Multi Byte Command Code: 40hex, 64dec 7 6 5 4 3 2 1 0 SET_COLOR 0x40 FC R4 FC R3 FC R2 FC R1 FC R0 FC G5 FC G4 FC G3 FC G2 FC G1 FC G0 FC B4 FC B3 FC B2 FC B1 FC B0 BKC R4 BKC R3 BKC R2 BKC R1 BKC R0 BKC G5 BKC G4 BKC G3 BKC G2 BKC G1 BKC G0 BKC B4 BKC B3 BKC B2 BKC B1 BKC B0 Example : Set the Front color =0xFFFF(White) and Background color is 0x001F (Blue). RXD0 Input : AA 40 FF FF 00 1F TXD0 Output: None 7.2.3.2 Start Byte 0XAA SET_FONT_PITCH Command Byte 0x41 Data Bytes End Byte PITCH_X PITCH_Y 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: Set the character FONT display pitch. PITCH_X and PITCH_Y can’t set over than 0x7F. The default PITCH_X= PITCH_Y=0 Class: Multi Byte Command Code: 41hex, 65dec 7 6 5 4 3 2 SET_FONT_PITCH 0x41 PITCH_X PITCH_Y 1 0 Example : Set PCITH_X=1,PITCHY=2. RXD0 Input : AA 41 01 02 TXD0 Output: None Date : 2009/8/3 15 7.2.3.3 Start Byte 0XAA SET_BACKGROUND_COLOR By X,Y Command Byte 0x42 Data Bytes End Byte X MSB X LSB Y MSB Y MSB 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: Get the (X,Y) display color data and set to the Background color. Class: Multi Byte Command Code: 42hex, 66dec 7 6 5 4 3 2 1 SET_BACKGROUND_COLOR By X,Y 0x42 X_MSB X_LSB Y_MSB Y_LSB Example : Read the (X,Y)=(128,64) color data and set to the background color. 0 RXD0 Input : AA 42 00 80 00 40 TXD0 Output: None 7.2.3.4 Start Byte 0XAA SET_FRONT_COLOR By X,Y Command Byte 0x43 Data Bytes End Byte X MSB X LSB Y MSB Y MSB 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: Get the (X,Y) display color data and set to the Front color. Class: Multi Byte Command Code: 43hex, 67dec 7 6 5 4 3 2 1 SET_FRONT_COLOR By X,Y 0x42 X_MSB X_LSB Y_MSB Y_LSB Example : Read the (X,Y)=(128,64) color data and set to the Front color. 0 RXD0 Input : AA 43 00 80 00 40 TXD0 Output: None Date : 2009/8/3 16 7.2.3.5 Start Byte SET_CURSOR_MODE Command Byte 0x44 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C Mode Or add the Delay time X MSB X LSB Y MSB Y LSB Cursor Wide Cursor High Description: Set Cursor OFF (Mode =0x00) . Cursor ON (Mode=0x01). The (X,Y) is the left-up position of the cursor. Cursor Wide (0x01~0x1F) Cursor High (0x01~0x1F) 0XAA Class: Multi Byte Command Code: 44hex, 68dec 7 6 5 4 3 2 SET_CURSOR_MODE 0x44 Mode X MSB X MSB Y MSB Y MSB Cursor Wide Cursor High 1 0 Example : Set Cursor ON, (X,Y)=(128,64) , Cursor Width=16 , Cursor High=4 RXD0 Input : AA 44 01 00 80 00 40 10 04 TXD0 Output: None Date : 2009/8/3 17 7.2.4 Text Display Command 7.2.4.1 PRINT_STRING_8x8 (Standard Font) Start Byte 0XAA Command Byte 0x53 Data Bytes X MSB X LSB Y MSB Y LSB “String” Description: Prints String. starting at (X,Y) Position End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Class: Multi Byte Command Code: 53hex, 83dec 7 6 5 4 3 2 PRINT_STRING_8x8 0x53 X MSB X MSB Y MSB Y MSB ASCII ASCII ~ ASCII ASCII 1 0 Example : Print 8x8 string “ LCD “ on ( 128,64). RXD0 Input : AA 53 00 80 00 40 4C 43 44 PRINT_STRING_8x8 53 hex XMSB 00 hex XLSB 80 hex YMSB 00 hex YLSB 40 hex 'L' 4C hex 'C' 43 hex 'D' 44 hex TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By X,Y ,SET_FONT_PITCH Date : 2009/8/3 18 7.2.4.2 Start Byte 0XAA PRINT_STRING_16x16 (Standard Font) Command Byte 0x54 Data Bytes X MSB X LSB Y MSB Y LSB “String” Description: Prints String. start at (X,Y) Position End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Class: Multi Byte Command Code: 54hex, 84dec 7 6 5 4 3 2 PRINT_STRING _16x16 0x54 X MSB X MSB Y MSB Y MSB ASCII ASCII ~ ASCII ASCII 1 0 Example : Print 16x16 string “ LCD “ on ( 128,64). RXD0 Input : AA 54 00 80 00 40 4C 43 44 PRINT_STRING_16x16 54 hex XMSB 00 hex XLSB 80 hex YMSB 00 hex YLSB 40 hex 'L' 4C hex 'C' 43 hex 'D' 44 hex TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By X,Y ,SET_FONT_PITCH Date : 2009/8/3 19 7.2.4.3 Start Byte PRINT_STRING_32x32 (Standard Font) Command Byte 0x55 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C X MSB Or add the Delay time X LSB Y MSB Y LSB “String” Description: Prints String. starting at (X,Y) Position (Support GBK3212 FONT code) 0XAA Class: Multi Byte Command Code: 55hex, 85dec 7 6 5 4 3 2 PRINT_STRING _32x32 0x55 X MSB X MSB Y MSB Y MSB ASCII ASCII ~ ASCII ASCII 1 0 Example : Print 32x32 string “ LCD “ on ( 128,64). RXD0 Input : AA 55 00 80 00 40 4C 43 44 PRINT_STRING_32x32 55 hex XMSB 00 hex XLSB 80 hex YMSB 00 hex YLSB 40 hex 'L' 4C hex 'C' 43 hex 'D' 44 hex TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By X,Y ,SET_FONT_PITCH Date : 2009/8/3 20 7.2.4.4 Start Byte 0XAA PRINT_STRING_12x12(Standard Font) Command Byte 0x6E Data Bytes X MSB X LSB Y MSB Y LSB “String” Description: Prints String. starting at (X,Y) Position End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Class: Multi Byte Command Code: 6Ehex, 110dec 7 6 5 4 3 2 PRINT_STRING _12x12 0x6E X MSB X MSB Y MSB Y MSB ASCII ASCII ~ ASCII ASCII 1 0 Example : Print 12x12 string “ LCD “ on ( 128,64). RXD0 Input : AA 6E 00 80 00 40 4C 43 44 PRINT_STRING_12x12 6E hex XMSB 00 hex XLSB 80 hex YMSB 00 hex YLSB 40 hex 'L' 4C hex 'C' 43 hex 'D' 44 hex TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By X,Y ,SET_FONT_PITCH Date : 2009/8/3 21 7.2.4.5 Start Byte 0XAA PRINT_STRING_24x24 (Standard Font) Command Byte 0x6F Data Bytes X MSB X LSB Y MSB Y LSB “String” Description: Prints String. starting at (X,Y) Position End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Class: Multi Byte Command Code: 6Fhex, 111dec 7 6 5 4 3 2 PRINT_STRING _24x24 0x6F X MSB X MSB Y MSB Y MSB ASCII ASCII ~ ASCII ASCII 1 0 Example : Print 24x24 string “ LCD “ on ( 128,64). RXD0 Input : AA 6F 00 80 00 40 4C 43 44 PRINT_STRING_24x24 6F hex XMSB 00 hex XLSB 80 hex YMSB 00 hex YLSB 40 hex 'L' 4C hex 'C' 43 hex 'D' 44 hex TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By X,Y ,SET_FONT_PITCH Date : 2009/8/3 22 7.2.4.6 Start Byte 0XAA PRINT_STRING (Custom Font Library) Command Byte 0x98 Data Bytes End Byte X MSB X LSB Y MSB Y LSB Lib_ID C_mode C_dots Color Bcolor “String” Description: Prints String custom font starting at (X,Y) Position 0xCC 0x33 0xC3 0x3C Or add the Delay time Class: Multi Byte Command Code: 98hex, 152dec Lib_ID:0x00~0x3B , Font library ID. The memory size of the font library is 32MB. The memory is arranged as 60 areas. Lib_ID 0x00~0x1F Size 128KB 0x20~0x3B 1MB Description There are 32 areas for small font library which size is 128KB. The user can download different style for ASCII code or small ICON There are 28 areas for large font library which size is 1MB. z Single area can be set as 12x12 or 16x16 (GBK encode) z The area can be combined for supper large font library. Default 0x00=ASCII standard font library, please don’t modify it. 0x01~0x1F: Free 0x20=12x12 GBK 0x21=16x16 GBK 0x22=24x24 GB2312 0x23=32x32 GB2312 0x24~0x3B : Free C_Mode:The mode of the character font: Bit No Definition Description Bit7~Bit4 Display mode Bit7=1: Front color is displayed Bit7=0: Front color is not displayed Bit6=1: Back ground color is displayed Bit6=0: Back ground color is not displayed Bit5 , Bit4 : don’t care Date : 2009/8/3 Bit3~Bit0 Lib_Type(0x00~0x0F) Lib_Type define the encoding systems of the font : 0= 8bit 1=GB2312 2=GBK or HANGUL 3=BIG5 4=SJIS 5=UNICODE 6-F: undefined 23 C_dots:The display font size. (See the detail information: Custom Font Definition) C_dots 0 or 5 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 8x8 6x12 8x16 12x24 16x32 20x40 24x48 28x58 32x64 12x12 16x16 24x24 32x32 40x40 48x48 56x56 64x64 40x80 48x96 56x112 64x128 80x80 96x96 112x112 128x128 C_Mode (Bit3~Bit0) 1 , 2 , 3, 4 ASCII Chinese/Korea/Japan 6x12 12x12 8x16 16x16 12x24 24x24 16x32 32x32 20x40 40x40 24x48 48x48 28x56 56x56 32x64 64x64 Color :The color of the font. Bcolor:The background color of the font. String:The encoding system is defined by C_Mode ( Bit3~Bit0). If C_Mode=0,1,2,3and 4, the code identify as “ ASCII “ and showed by Lib_ID= 0. 7 6 5 4 3 2 PRINT_STRING _Custom Font X MSB X MSB Y MSB Y MSB Lib_ID C_mode C_dots Color Bcolor Font code Font code ~ Font code Font code 1 0 Example : Print string “ AMPIRE晶采光電 “ on ( 128,64). Date : 2009/8/3 24 RXD0 Input : AA 98 00 80 00 40 24 C3 02 FF FF 00 00 41 4D 50 49 52 45 B4 B9 AA F6 A5 FA B9 71 CC 33 C3 3C AA: Start Byte 98: command Byte 00 80 : X position 00 40 : Y position 24 : Lib_ID ( The user must to download the BIG5_24x24 to 0x24) C3 : C_mode Front color is displayed , Back ground color is displayed , BIG5 02 : C_dots , ASCII size :12x24 , Chinese : 24x24 FF FF : Color is white 00 00 : Bcolor , background color is black. 41 4D 50 49 52 45: 'AMPIRE' B4 B9 AA F6 A5 FA B9 71: '晶采光電' CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y , SET_FRONT_COLOR By X,Y ,SET_FONT_PITCH Date : 2009/8/3 25 7.2.5 Put pixel Command 7.2.5.1 Put Pixel by Background Color Start Byte Command Byte 0x50 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C X0 MSB Or add the Delay time X0 LSB Y0 MSB Y0 LSB X1 MSB X1 LSB Y1 MSB Y1 LSB ~~ Xk MSB Xk LSB Yk MSB Yk LSB Description: Put the background color to the point (X0,Y0) , (X1,Y1) ,…(Xk,Yk) 0XAA Class: Multi Byte Command Code: 50hex, 80dec 7 6 5 4 3 2 Put Pixel by Background color X0 MSB X0 MSB Y0 MSB Y0 MSB X1 MSB X1 MSB Y1 MSB Y1 MSB ~~ Xk MSB Xk MSB Yk MSB Yk MSB Example : Put pixel by background color on (0,0) (1,1) (2,2) 1 0 RXD0 Input : AA 50 00 00 00 00 00 01 00 01 00 02 00 02 CC 33 C3 3C AA: Start Byte 50: command Byte 00 00 00 00 : (X,Y)=(0,0) 00 01 00 01 : (X,Y)=(1,1) 00 02 00 02 : (X,Y)=(2,2) CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 26 See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y 7.2.5.2 Start Byte 0XAA Put Pixel by Front Color Command Byte 0x51 Data Bytes End Byte X0 MSB X0 LSB Y0 MSB Y0 LSB X1 MSB X1 LSB Y1 MSB Y1 LSB ~~ Xk MSB Xk LSB Yk MSB Yk LSB 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: Put the front color to the point (X0,Y0) , (X1,Y1) ,…(Xk,Yk) Class: Multi Byte Command Code: 51hex, 81dec 7 6 5 4 3 2 Put Pixel by Front color X0 MSB X0 MSB Y0 MSB Y0 MSB X1 MSB X1 MSB Y1 MSB Y1 MSB ~~ Xk MSB Xk MSB Yk MSB Yk MSB 1 0 Example : Put pixel by front color on (0,0) (1,1) (2,2) RXD0 Input : AA 51 00 00 00 00 00 01 00 01 00 02 00 02 CC 33 C3 3C AA: Start Byte 50: command Byte 00 00 00 00 : (X,Y)=(0,0) 00 01 00 01 : (X,Y)=(1,1) 00 02 00 02 : (X,Y)=(2,2) CC 33 C3 3C: End Byte Date : 2009/8/3 27 TXD0 Output: None See also: SET_COLOR , SET_FRONT_COLOR By X,Y 7.2.5.3 Start Byte Put Pixel and Clear vertical line by specify color Command Byte 0x74 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C X MSB Or add the Delay time X LSB YS MSB YS LSB YE MSB YE LSB Clear Color MSB Clear Color LSB Y1 MSB Y1 LSB Color(X,Y1) MSB Color(X,Y1) LSB Y2 MSB Y2 LSB Color(X,Y2) MSB Color(X,Y2) LSB ~~ Yk MSB Yk LSB Color(X,Yk) MSB Color(X,Yk) LSB Description: This command is for motion curve application. This command include two actions. 0XAA z z Draw a vertical line on ( X ,YS ) ( X ,YE) by Clear Color Put (X,Y1) by Color (X,Y1) , Put (X,Y2) by Color (X,Y2) ……and Put (X,Yk) by Color (X,Yk). Class: Multi Byte Command Code: 74hex, 116 dec Example : Clear line (5,0) ( 5,255 ) by Black 0x0000 Put (5, 0) by Red 0xF800 Put (5, 16) by Green 0x07E0 Put (5, 32) by Blue 0x001F Put (5, 48) by White 0xFFFF RXD0 Input : AA 74 00 05 00 00 00 FF 00 00 00 00 F8 00 00 10 07 E0 00 20 00 1F 00 30 FF FF CC 33 C3 3C AA: Start Byte Date : 2009/8/3 28 74: command Byte 00 05 : X = 5 00 00 : YS= 0 00 FF : YE= 255 00 00 : Clear Color = Black 0x0000 00 00 : Y1 = 0 F8 00 : (X,Y1) color = Red 0xF800 00 10 : Y2 = 16 07 E0 : (X,Y2) color = Green 0x07E0 00 20 : Y3 = 32 00 1F : (X,Y3) color = Blue 0x001F 00 30 : Y4 = 48 00 1F : (X,Y4) color = White 0xFFFF CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 29 7.2.6Draw Line Command 7.2.6.1 Draw Front Color Lines by the specify points Start Byte 0XAA Command Byte 0x56 Data Bytes X0 MSB X0 LSB Y0 MSB Y0 LSB X1 MSB X1 LSB Y1 MSB Y1 LSB ~~ Xk MSB Xk LSB Yk MSB Yk LSB Description: Draw the line (X0,Y0) ( X1,Y1) ….(Xk,Yk) End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Class: Multi Byte Command Code: 56hex, 86dec Example : To draw a triangle by front color . (0,0) (128,64) (128,0) (0,0) RXD0 Input : AA 56 00 00 00 00 00 80 00 40 00 80 00 00 00 00 00 00 CC 33 C3 3C AA: Start Byte 56: command Byte 00 00 00 00 : (X,Y)=(0,0) 00 80 00 40 : (X0,Y0)=(128,64) 00 80 00 00 : (X1,Y1)=(128,0) 00 00 00 00 : (X2,Y2)=(0,0) CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_FRONT_COLOR By X,Y Date : 2009/8/3 30 7.2.6.2 Start Byte 0XAA Draw Background Color Lines by the specify points Command Byte 0x5D Data Bytes X0 MSB X0 LSB Y0 MSB Y0 LSB X1 MSB X1 LSB Y1 MSB Y1 LSB ~~ Xk MSB Xk LSB Yk MSB Yk LSB Description: Draw the line (X0,Y0) ( X1,Y1) ….(Xk,Yk) End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Class: Multi Byte Command Code: 56hex, 86dec Example : To draw a triangle by background color. (0,0) (128,64) (128,0) (0,0) RXD0 Input : AA 5D 00 00 00 00 00 80 00 40 00 80 00 00 00 00 00 00 CC 33 C3 3C AA: Start Byte 56: command Byte 00 00 00 00 : (X,Y)=(0,0) 00 80 00 40 : (X0,Y0)=(128,64) 00 80 00 00 : (X1,Y1)=(128,0) 00 00 00 00 : (X2,Y2)=(0,0) CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y Date : 2009/8/3 31 7.2.7 Draw Circle Command 7.2.7.1 Draw a Circle by the specified the radius and center points. Start Byte Command Byte 0x57 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C TYPE Or add the Delay time X0 MSB X0 LSB Y0 MSB Y0 LSB R0 ~~ TYPE Xk MSB Xk LSB Yk MSB Yk LSB Rk Description: Draw the Circle by the specify center (X0,Y0) , Radius R0 . 0XAA Class: Multi Byte Command Code: 56hex, 86dec Type : Circle display mode . Type=0 Reverse the color of the Circle Type=1 Display the front color to the Circle Type=2 Reverse the color of the full circle area Type=3 Display the front color to the full circle area Example : Reverse the color of the circle which radius = 100 and center (200,250) RXD0 Input : AA 57 02 00 C8 00 FA 64 CC 33 C3 3C AA: Start Byte 56: command Byte 00 00 00 00 : (X,Y)=(0,0) 00 80 00 40 : (X0,Y0)=(128,64) 00 80 00 00 : (X1,Y1)=(128,0) 00 00 00 00 : (X2,Y2)=(0,0) CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_FRONT_COLOR By X,Y Date : 2009/8/3 32 7.2.8Draw Rectangle Command 7.2.8.1 Draw a front color Rectangle by the specified the left-up and right-down points. Start Byte Command Byte 0x59 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C XS0 MSB Or add the Delay time XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB ~~ XSk MSB XSk LSB YSk MSB YSk LSB XEk MSB XEk LSB YEk MSB YEk LSB Description: Draw the front color Rectangle by the specify the left-up point (XS0,YS0) , Right-Down points(XE0,YE0) . 0XAA Class: Multi Byte Command Code: 59hex, 89dec Example : Draw the two Rectangle. One is the left-up point (64,64) and Right-Down points(128,128) . The other one is the left-up point (10,10) and Right-Down points (20,20) . RXD0 Input : AA 59 00 40 00 40 00 80 00 80 00 0A 00 0A 00 14 00 14 CC 33 C3 3C AA: Start Byte 59: command Byte 00 40 00 40 : (XS0,YS0)=(64,64) 00 80 00 80 : (XE0,YE0)=(128,64) 00 0A 00 0A : (XS1,YS1)=(10,10) 00 14 00 14 : (XS1,YS1)=(20,20) CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_FRONT_COLOR By X,Y Date : 2009/8/3 33 7.2.8.2 Draw a background color Rectangle by the specified the left-up and right-down points. Start Byte Command Byte 0x69 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C XS0 MSB Or add the Delay time XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB ~~ XSk MSB XSk LSB YSk MSB YSk LSB XEk MSB XEk LSB YEk MSB YEk LSB Description: Draw the background color Rectangle by the specify the left-up point (XS0,YS0) , Right-Down points(XE0,YE0) . 0XAA Class: Multi Byte Command Code: 69hex, 105dec Example : Draw the two Rectangle. One is the left-up point (64,64) and Right-Down points(128,128) . The other one is the left-up point (10,10) and Right-Down points (20,20) . RXD0 Input : AA 69 00 40 00 40 00 80 00 80 00 0A 00 0A 00 14 00 14 CC 33 C3 3C AA: Start Byte 69: command Byte 00 40 00 40 : (XS0,YS0)=(64,64) 00 80 00 80 : (XE0,YE0)=(128,64) 00 0A 00 0A : (XS1,YS1)=(10,10) 00 14 00 14 : (XS1,YS1)=(20,20) CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y Date : 2009/8/3 34 Full Area Command 7.2.8.3 Clear Screen Start Byte 0XAA Command Byte 0x52 Data Bytes End Byte None 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: Clear the LCD with the background color. Class: None Byte Command Code: 52hex, 82dec Example : Clear the LCD with the background color. RXD0 Input : AA 52 CC 33 C3 3C AA: Start Byte 52: command Byte CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y Date : 2009/8/3 35 7.2.8.4 Start Byte Full area with Background color Command Byte 0x5A Data Bytes End Byte 0xCC 0x33 0xC3 0x3C XS0 MSB Or add the Delay time XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB ~~ XSk MSB XSk LSB YSk MSB YSk LSB XEk MSB XEk LSB YEk MSB YEk LSB Description: Full the Rectangle with background color by the specify the left-up point (XS0,YS0) , Right-Down points(XE0,YE0) . 0XAA Class: Multi Byte Command Code: 5Ahex, 90dec Example : Full two Rectangle with background color . One is left-up point (0,0) and Right-Down points (64,64). The other one is left-up point (160,128) and Right-Down points (240,160). RXD0 Input : AA 5A 00 00 00 00 00 40 00 40 00 A0 00 80 00 F0 00 A0 CC 33 C3 3C AA: Start Byte 5A: command Byte 00 00 00 00 : left-up point (0,0) 00 40 00 40 : Right-down point (64,64) 00 A0 00 80 : left-up point (160,128) 00 F0 00 A0 : Right-down point (240,160) CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y Date : 2009/8/3 36 7.2.8.5 Start Byte Full area with Front color Command Byte 0x5B Data Bytes End Byte 0xCC 0x33 0xC3 0x3C XS0 MSB Or add the Delay time XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB ~~ XSk MSB XSk LSB YSk MSB YSk LSB XEk MSB XEk LSB YEk MSB YEk LSB Description: Full the Rectangle with front color by the specify the left-up point (XS0,YS0) , Right-Down points(XE0,YE0) . 0XAA Class: Multi Byte Command Code: 5Bhex, 91dec Example : Full two Rectangle with front color . One is left-up point (0,0) and Right-Down points (64,64). The other one is left-up point (160,128) and Right-Down points (240,160). RXD0 Input : AA 5B 00 00 00 00 00 40 00 40 00 A0 00 80 00 F0 00 A0 CC 33 C3 3C AA: Start Byte 5B: command Byte 00 00 00 00 : left-up point (0,0) 00 40 00 40 : Right-down point (64,64) 00 A0 00 80 : left-up point (160,128) 00 F0 00 A0 : Right-down point (240,160) CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_FRONT_COLOR By X,Y Date : 2009/8/3 37 7.2.8.6 Start Byte Reverse area color Command Byte 0x5C Data Bytes End Byte 0xCC 0x33 0xC3 0x3C XS0 MSB Or add the Delay time XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB ~~ XSk MSB XSk LSB YSk MSB YSk LSB XEk MSB XEk LSB YEk MSB YEk LSB Description: Reverse the area color by the specify the left-up point (XS0,YS0) , Right-Down points(XE0,YE0) . 0XAA Class: Multi Byte Command Code: 5Chex, 92dec Example : Reverse two areas color. One is left-up point (0,0) and Right-Down points (64,64). The other one is left-up point (160,128) and Right-Down points (240,160). RXD0 Input : AA 5C 00 00 00 00 00 40 00 40 00 A0 00 80 00 F0 00 A0 CC 33 C3 3C AA: Start Byte 5C: command Byte 00 00 00 00 : left-up point (0,0) 00 40 00 40 : Right-down point (64,64) 00 A0 00 80 : left-up point (160,128) 00 F0 00 A0 : Right-down point (240,160) CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 38 7.2.9Move Area Command 7.2.9.1 Move area data to left N pixel by the specified the left-up and right-down points. Start Byte Command Byte 0x60 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C XS0 MSB Or add the Delay time XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB N0 ( N <=16) ~~ XSk MSB XSk LSB YSk MSB YSk LSB XEk MSB XEk LSB YEk MSB YEk LSB Nk ( N <=16) Description: Move area data to left N pixel by the specify the left-up point (XS0,YS0) , Right-Down points(XE0,YE0) . 0XAA Class: Multi Byte Command Code: 60hex, 96dec Example : Move two areas data to left 16 pixels. One is the left-up point (64,64) and Right-Down points(128,128) . The other one is the left-up point (16,16) and Right-Down points (48,48) . RXD0 Input : AA 60 00 40 00 40 00 80 00 80 10 00 10 00 10 00 30 00 30 10 CC 33 C3 3C AA: Start Byte 60: command Byte 00 40 00 40 : (XS0,YS0)=(64,64) 00 80 00 80 : (XE0,YE0)=(128,64) 00 10 00 10 : (XS1,YS1)=(16,16) 00 30 00 30 : (XS1,YS1)=(48,48) CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 39 7.2.9.2 Move area data to right N pixel by the specified the left-up and right-down points. Start Byte Command Byte 0x61 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C XS0 MSB Or add the Delay time XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB N0 ( N <=16) ~~ XSk MSB XSk LSB YSk MSB YSk LSB XEk MSB XEk LSB YEk MSB YEk LSB Nk ( N <=16) Description: Move area data to right N pixel by the specify the left-up point (XS0,YS0) , Right-Down points(XE0,YE0) . 0XAA Class: Multi Byte Command Code: 61hex, 97dec Example : Move two areas data to right 16 pixels. One is the left-up point (64,64) and Right-Down points(128,128) . The other one is the left-up point (16,16) and Right-Down points (48,48) . RXD0 Input : AA 61 00 40 00 40 00 80 00 80 10 00 10 00 10 00 30 00 30 10 CC 33 C3 3C AA: Start Byte 61: command Byte 00 40 00 40 : (XS0,YS0)=(64,64) 00 80 00 80 : (XE0,YE0)=(128,64) 00 10 00 10 : (XS1,YS1)=(16,16) 00 30 00 30 : (XS1,YS1)=(48,48) CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 40 7.2.9.3 Move area data to left N pixel by the specified the left-up and right-down points. And full the right N pixel with background color Start Byte Command Byte 0x62 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C XS0 MSB Or add the Delay time XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB N0 ( N <=16) ~~ XSk MSB XSk LSB YSk MSB YSk LSB XEk MSB XEk LSB YEk MSB YEk LSB Nk ( N <=16) Description: Move area data to left N pixel by the specify the left-up point (XS0,YS0) , Right-Down points(XE0,YE0) . And full the right N pixel with background color. 0XAA Class: Multi Byte Command Code: 62hex, 98dec Example : Move two areas data to left 16 pixels. One is the left-up point (64,64) and Right-Down points(128,128) . The other one is the left-up point (16,16) and Right-Down points (48,48) .And full the right side 16 pixels with background color. RXD0 Input : AA 62 00 40 00 40 00 80 00 80 10 00 10 00 10 00 30 00 30 10 CC 33 C3 3C AA: Start Byte 62: command Byte 00 40 00 40 : (XS0,YS0)=(64,64) 00 80 00 80 : (XE0,YE0)=(128,64) 00 10 00 10 : (XS1,YS1)=(16,16) 00 30 00 30 : (XS1,YS1)=(48,48) CC 33 C3 3C: End Byte TXD0 Output: None See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y Date : 2009/8/3 41 7.2.9.4 Move area data to right N pixel by the specified the left-up and right-down points. And full the left N pixel with background color Start Byte Command Byte 0x63 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C XS0 MSB Or add the Delay time XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB N0 ( N <=16) ~~ XSk MSB XSk LSB YSk MSB YSk LSB XEk MSB XEk LSB YEk MSB YEk LSB Nk ( N <=16) Description: Move area data to right N pixel by the specify the left-up point (XS0,YS0) , Right-Down points(XE0,YE0) . And full the left N pixel with background color. 0XAA Class: Multi Byte Command Code: 63hex, 99dec Example : Move two areas data to right 16 pixels. One is the left-up point (64,64) and Right-Down points(128,128) . The other one is the left-up point (16,16) and Right-Down points (48,48) .And full the left side 16 pixels with background color. RXD0 Input : AA 63 00 40 00 40 00 80 00 80 10 00 10 00 10 00 30 00 30 10 CC 33 C3 3C AA: Start Byte 63: command Byte 00 40 00 40 : (XS0,YS0)=(64,64) 00 80 00 80 : (XE0,YE0)=(128,64) 00 10 00 10 : (XS1,YS1)=(16,16) 00 30 00 30 : (XS1,YS1)=(48,48) CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 42 See also: SET_COLOR , SET_BACKGROUND_COLOR By X,Y 7.2.10 Picture Command 7.2.10.1 Show the full picture by specify the PICNUM Start Byte Command Byte 0x70 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: The command will show the full picture which save in the picture flash memory by specify PICNUM. 0XAA PICNUM Class: Single Byte Command Code: 70hex, 112dec Example : Show the picture which PICNUM=1. RXD0 Input : AA 70 01 CC 33 C3 3C AA: Start Byte 70: command Byte 01: PICNUM CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 43 7.2.10.2 Show the area of picture in position X,Y by specify the PICNUM , left-up and right-down points , X and Y. Start Byte Command Byte 0x71 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C PICNUM Or add the Delay time XS0 MSB XS0 LSB YS0 MSB YS0 LSB XE0 MSB XE0 LSB YE0 MSB YE0 LSB X MSB X LSB Y MSB Y LSB Description: The command will show the area of the picture which left-up point (XS0,YS0) , Right-Down points(XE0,YE0) and PICNU in position X,Y. 0XAA Class: Multi Byte Command Code: 71hex, 113dec Example : Show the area of the picture which PICNUM=2 , left-up point (100,100) , Right-Down points(200,200) in the position (0,0). . RXD0 Input : AA 71 02 00 64 00 64 00 C8 00 C8 00 00 00 00 CC 33 C3 3C AA: Start Byte 71: command Byte 02: PICNUM 00 64 00 64: left-up point (100,100) 00 C8 00 C8: right-down point (200,200) 00 00 00 00: Show on position (0,0) CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 44 7.2.10.3 Save the screen data to flash memory. Start Byte Command Byte 0xE2 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: The command will save all the screen data to flash memory. The picture address is PICNUM. 0XAA PICNUM Class: Single Byte Command Code: E2hex, 226dec Example : Save the screen data to PICNUM=2. RXD0 Input : AA E2 02 CC 33 C3 3C AA: Start Byte E2: command Byte 02: save picture address PICNUM CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 45 7.2.11 Display RAM Command 7.2.11.1 Write data to the display RAM. Start Byte Command Byte 0x72 Data Bytes End Byte 0xCC 0x33 0xC3 0x3C ADR Bit23~Bit16 Or add the Delay time ADR Bit15~Bit8 ADR Bit7~Bit0 DATA0 DATA1 ~ DATAn ( n<=248) Description: The user can write the display RAM directly. The address range is 0x00000~0x7FFFF. The width of the data is 16 bits. Address = Resolution_X * Position_Y+ Position_X. EX: If the Display Resolution is 640x480. The address of position (80,100) is 640*100+80=64080(dec) = 0x0FA50(hex) 0XAA Class: Multi Byte Command Code: 72hex, 114dec Example : Write the Red(0xf800) color to the position (80,100) , Green (0x07E0) color to the position (81,100) RXD0 Input : AA 72 00 FA 50 F8 00 07 E0 CC 33 C3 3C AA: Start Byte 72: command Byte 00 FA 50 : Display RAM Address. F8 00 : Red data 07 E0 : Green data CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 46 7.2.12 IO control Command 7.2.12.1 SET I/O1 to Low Start Byte Command Byte 0x5E Data Bytes End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: The user can set the I/O1 to Low by the command. When I/O1 connect to LED backlight driving circuit , the B/L will turn OFF. 0XAA None Class: Single Byte Command Code: 5Eex, 94dec Example : Set I/O1=Low RXD0 Input : AA 5E CC 33 C3 3C AA: Start Byte 5E: command Byte CC 33 C3 3C: End Byte TXD0 Output: None 7.2.12.2 SET I/O1 to High Start Byte Command Byte 0x5F Data Bytes End Byte 0xCC 0x33 0xC3 0x3C Or add the Delay time Description: The user can set the I/O1 to High by the command. When I/O1 connect to LED backlight driving circuit , the B/L will turn ON. 0XAA None Class: Single Byte Command Code: 5Fex, 94dec Example : Set I/O1=High RXD0 Input : AA 5F CC 33 C3 3C AA: Start Byte 5E: command Byte CC 33 C3 3C: End Byte TXD0 Output: None Date : 2009/8/3 47 8 QUALITY AND RELIABILITY 8.1 TEST CONDITIONS Tests should be conducted under the following conditions : Ambient temperature : 25 ± 5°C Humidity : 60 ± 25% RH. 8.2 SAMPLING PLAN Sampling method shall be in accordance with MIL-STD-105E , level II, normal single sampling plan . 8.3 ACCEPTABLE QUALITY LEVEL A major defect is defined as one that could cause failure to or materially reduce the usability of the unit for its intended purpose. A minor defect is one that does not materially reduce the usability of the unit for its intended purpose or is an infringement from established standards and has no significant bearing on its effective use or operation. 8.4 APPEARANCE An appearance test should be conducted by human sight at approximately 30 cm distance from the LCD module under florescent light. The inspection area of LCD panel shall be within the range of following limits. Date : 2009/8/3 48 8.5 INCOMING INSPECTION STANDARD FOR TFT-LCD PANEL DEFECT TYPE Note LIMIT φ<0.15mm SPOT FIBER VISUAL DEFECT INTERNAL POLARIZER BUBBLE Mura 0.15mm≦φ≦0.5mm 0.5mm<φ 0.03mm<W≦0.1mm, L≦ 5mm 1.0mm<W, 1.5mm<L φ<0.15mm 0.15mm≦φ≦0.5mm 0.5mm<φ ELECTRICAL DEFECT Note1 N=0 N≦3 Note1 N=0 Ignore N≦2 N=0 Note1 It’ OK if mura is slight visible through 6%ND filter A Grade BRIGHT DOT Ignore N≦4 B Grade C Area O Area Total C Area O Area Total Note3 N≦0 N≦2 N≦2 N≦2 N≦3 N≦5 Note2 DARK DOT TOTAL DOT N≦2 N≦3 N≦3 N≦3 N≦5 N≦8 TWO ADJACENT DOT N≦0 N≦1 pair N≦5 N≦1 pair N≦6 N≦1 pair N≦8 N≦1 pair THREE OR MORE ADJACENT DOT LINE DEFECT N≦4 N≦1 pair Note2 Note4 NOT ALLOWED NOT ALLOWED (1) One pixel consists of 3 sub-pixels, including R,G, and B dot.(Sub-pixel = Dot) (2) LITTLE BRIGHT DOT acceptable under 6% ND-Filter [Note1] W : Width[mm], L : Length[mm], N : Number, φ: Average Diameter [Note2] Bright dot is defined through 5% transmission ND Filter as following. Date : 2009/8/3 49 [Note3] C Area: Center of display area C Area: Outer of display area [Note4] Judge defect dot and adjacent dot as following. Allow below (as A, B, C and D status) adjacent defect dots, including bright and dart adjacent dot. And they will be counted 2 defect dots in total quantity. Date : 2009/8/3 50 (1) The defects that are not defined above and considered to be problem shall be reviewed and discussed by both parties. (2) Defects on the Black Matrix, out of Display area, are not considered as a defect or counted. Date : 2009/8/3 51 8.6 RELIABILITY TEST CONDITIONS ITEM HIGH TEMPERATURE OPERATION CONDITIONS NOTE 70℃ , 240Hrs HIGH TEMPERATURE AND 40℃ , 90%RH , HIGH HUMIDITY 240Hrs OPERATION HIGH TEMPERATURE AND 60℃ , 90%RH , HIGH HUMIDITY STORAGE 48 Hrs HIGH TEMPERATURE STORAGE 80℃ , 240Hrs LOW TEMPERATURE OPERATION -20℃ , 240Hrs LOW TEMPERATURE STORAGE -30℃ , 240Hrs THERMAL SHOCK (No operation) -20℃(0.5Hr) ~60℃(0.5Hr) 200Cycle Date : 2009/8/3 52 9 10. USE PRECAUTIONS 9.1 Handling precautions (1) The polarizing plate may break easily so be careful when handling it. Do not touch, press or rub it with a hard-material tool like tweezers. (2) Do not touch the polarizing plate surface with bare hands so as not to make it dirty. If the surface or other related part of the polarizing plate is dirty, soak a soft cotton cloth or chamois leather in benzine and wipe off with it. Do not use chemical liquids such as acetone, toluene and isopropyl alcohol. Failure to do so may bring chemical reaction phenomena and deteriorations. (3) Remove any spit or water immediately. If it is left for hours, the suffered part may deform or decolorize. (4) If the LCD element breaks and any LC stuff leaks, do not suck or lick it. Also if LC stuff is stuck on your skin or clothing, wash thoroughly with soap and water immediately. 9.2 Installing precautions (1) The PCB has many ICs that may be damaged easily by static electricity. To prevent breaking by static electricity from the human body and clothing, earth the human body properly using the high resistance and discharge static electricity during the operation. In this case, however, the resistance value should be approx. 1MΩ and the resistance should be placed near the human body rather than the ground surface. When the indoor space is dry, static electricity may occur easily so be careful. We recommend the indoor space should be kept with humidity of 60% or more. When a soldering iron or other similar tool is used for assembly, be sure to earth it. (2) When installing the module and ICs, do not bend or twist them. Failure to do so may crack LC element and cause circuit failure. (3) To protect LC element, especially polarizing plate, use a transparent protective plate (e.g., acrylic plate, glass etc) for the product case. (4) Do not use an adhesive like a both-side adhesive tape to make LCD surface (polarizing plate) and product case stick together. Failure to do so may cause the polarizing plate to peel off 9.3 Storage precautions (1) Avoid a high temperature and humidity area. Keep the temperature between 0°C and 35°C and also the humidity under 60%. (2) Choose the dark spaces where the product is not exposed to direct sunlight or fluorescent light. (3) Store the products as they are put in the boxes provided from us or in the same conditions as we recommend. Date : 2009/8/3 53 9.4 Operating precautions (1) Do not boost the applied drive voltage abnormally. Failure to do so may break ICs. When applying power voltage, check the electrical features beforehand and be careful. Always turn off the power to the LC module controller before removing or inserting the LC module input connector. If the input connector is removed or inserted while the power is turned on, the LC module internal circuit may break. (2) The display response may be late if the operating temperature is under the normal standard, and the display may be out of order if it is above the normal standard. But this is not a failure; this will be restored if it is within the normal standard. (3) The LCD contrast varies depending on the visual angle, ambient temperature, power voltage etc. Obtain the optimum contrast by adjusting the LC dive voltage. (4) When carrying out the test, do not take the module out of the low-temperature space suddenly. Failure to do so will cause the module condensing, leading to malfunctions. (5) Make certain that each signal noise level is within the standard (L level: 0.2Vdd or less and H level: 0.8Vdd or more) even if the module has functioned properly. If it is beyond the standard, the module may often malfunction. In addition, always connect the module when making noise level measurements. (6) The CMOS ICs are incorporated in the module and the pull-up and pull-down function is not adopted for the input so avoid putting the input signal open while the power is ON. (7) The characteristic of the semiconductor element changes when it is exposed to light emissions, therefore ICs on the LCD may malfunction if they receive light emissions. To prevent these malfunctions, design and assemble ICs so that they are shielded from light emissions. (8) Crosstalk occurs because of characteristics of the LCD. In general, crosstalk occurs when the regularized display is maintained. Also, crosstalk is affected by the LC drive voltage. Design the contents of the display, considering crosstalk. 9.5 Other (1) Do not disassemble or take the LC module into pieces. The LC modules once disassembled or taken into pieces are not the guarantee articles. (2) The residual image may exist if the same display pattern is shown for hours. This residual image, however, disappears when another display pattern is shown or the drive is interrupted and left for a while. But this is not a problem on reliability. (3) AMIPRE will provide one year warrantee for all products and three months warrantee for all repairing products. Date : 2009/8/3 54 10 OUTLINE DIMENSION Date : 2009/8/3 55 Date : 2009/8/3 56