Midas mct056b6w640480lmlc User manual

Specification
Part
Number:
Version:
Date:
Revision
No.DateDescription ItemPage
Midas Components Limited
Electra House
32 Southtown Road
Great Yarmouth
Norfolk
NR31 0DU
England
Telephone +44 (0)1493 602602
Fax +44 (0)1493 665111
Email [email protected]
Website www.midasdisplays.com

- 2 -
Table of Contents
1.0 General Description--------------------------------------------------------------------------------------------------3
2.0 Electrical Characteristics------------------------------------------------------------------------------------------3
3.0 Mechanical Parameters --------------------------------------------------------------------------------------------3
4.0 Pin Definition ----------------------------------------------------------------------------------------------------------3
5.0 Interface Design ------------------------------------------------------------------------------------------------------4
6.0 Control Command ---------------------------------------------------------------------------------------------------4
7.0 Outline Drawing ------------------------------------------------------------------------------------------------------6
8.0 User’s Guide --------------------------------------------------- -------- ----------------------------------------------7
9.0 Reliability Test Items ----------------------------------------------------------------------------------------------10
10.0 Package Specification ------------------------------------------------------------------------------------------10
2

MidasActiveMatrixDisplayPartNumberSystem
MCT057A6*W320240 L M L **** *
1234567 8 9 10 11 121314 15 16
1 = MC: Midas Components
2 = T: TFT A: Active Matrix OLED
3 = Size
4 = Series
5 = Viewing Angle: 6: 6 O’clock 12: 12 O’clock O: All round
6 = Blank: No Touch T: Resistive Touchscreen C: Capacitive Touchscreen
7 = Operating Temp Range: S: 0 to 50Deg C B: -20+60Deg C
W: -20+70Deg C E: -30+85Deg C
8 = No of Pixels
9 = Orientation: P: Portrait L: Landscape
10 = Mode: R: Reflective M: Transmissive T: Transflective
S: Sunlight Readable (transmissive)
W: White on Black (Monochrome)
11 = Backlight: Blank: None L: LED C: CCFL
12 = Blank: No Module/board C: Controller board module
13 = Blank: None V: Video
14 = Blank: None B: Bracket
15 = Blank: None H: Host Cable
16 = Blank: None K: Keyboard
F/Displays/Midas Brand/Midas Active Matrix Display Part Number System 09 Nov 2011.doc

- 3 -
Easy TFT is target to the users updating their product from monochrome LCD to TFT displays or new
products fast developing, our solution can provides a simple and reliable way to control TFT displays. M7-M
series include small screen with CPU port from 2.3” to 3.5” as well as screen with RGB port from 3.5” to 7”,
meeting the requirements for various applications from customers.
1.0 General Description
1. The bottle neck of MCU speed is solved: compared with the black and white module, the data volume of
color screen is much larger and require rapid data refresh while updating interface, which cannot be satisfied
by traditional MCU, otherwise the responding speed of whole system will be very slow.
2. The data storage space of common MCU is within 64K, which is not enough to store one picture for TFT
displays; our module adopts an 2Mbyte-8Mbyte FLASH to store picture data and this is quite enough for
common interface design.
3. The technology of TFT displays change quickly and the driver IC updating fast, the product life time can’t be
guaranteed. The software and hardware is required to change often in order to adopt the new displays, which
brings a lot of extra work. Our solution can help customer to solve the problem, when there is screen change,
we can adopt it on our mainboard, the consumer don’t need to changing their software and hardware.
4. The adoption of alphabetic string command for module control is simple and clear; only need MCU output
“Hello World” from the UART
5. The RAM on the module is virtualized as a USB flash disk, the user copy pictures from computer to the
module, saving a lot of work like general modeling and compiling etc. and development time is shortened.
2.0 Electrical Parameters:
3.0 Mechanical Parameters (mm)
4.0 Pin Definition
J1 on module is communication port and K1 is reset key.
etoncepsemaN
Input voltage 5V±5%
Current <220mA Backlight on
Color Depth 65Kcolors
Operating Temperature -20----70ć
Storage Temperature -30----80ć
Luminance 200cd/m² (type)
Display Mode Transmissive
etoncepsMETI
Size of panel 126.50*100.00 640*480 Dots
Size of module 144.80*110.50*16.00 max
Size (VA) 115.00*87.00
4

- 4 -
5.0 Interface Design
1. Firstly, put all pictures needed into the folder of BMP_FILE, convert them into BMP format and change
picture names in proper sequence from 000.BMP. The operation can be completed with software of ACDSEE;
see Appendix I for details in operation.
The picture files with names in proper sequence are shown in figure below:
2. Execute batch processing command MakeDAT.bat and three files will be generated in the folder of
BMP_DATA after execution, among which BMPDATA.BIN is the data file where all picture data are put
successively and TABLE.BIN is the table file equivalent to index file; copy these two files into the folder
virtualized by the module and then they are available for use. There are picture serial numbers and
corresponding information of picture size in the file of BmpDataBin.h, which is a reference provided to user
without the necessity of being copied to USB flash disk.
3. If special character display is required by user,like Chinese or Japanese etc.The software attached in this
module can be used for extracting font library; see Appendix IV for details.˄Only for Chinese version˅
Revise the name of extracted font library file and copy it in to USB flash disk for application; the file name
should be changed as HZK.BIN.
4. Note: this USB flash disk is a virtualized one; the file system is regulated for the convenience of application
of this module and improvement of picture refreshing speed; please use FAT12 to format the USB flash disk
(this is the default format in WinXP); the limit number of files in root directory is 16 and generally there are only
font library file, table file and data file; if other files need to be stored by user, it had better to make a new folder
for storage of these files.
5. Press K1 key (reset key) on module after all files are copied into USB flash disk and then they are available
for use.
Note: The display of LCM is turned off When transfer data using USB, The data stored in RAM inside frist, this process is
relatively fast, about 500Kbyte / sec, after which there will be a data dump of the process (speed about 100Kbyte / s), don’t turn
off power, When the data dump is complete, TFT will display.
6.0 Control Command
This module adopts alphabetic string to control all operations.
The command format begins with command word continued with parameter list in which parameters are
5

- 5 -
separated by space and ends with a return character; pay attention that the return character is a must.When
the command is executing,the busy pin is low,and the module can’t receive new command, until the busy pin is
high.
“CMD n1 n2……Return”
The parameters n1, n2… in table below express a 16-bit unsigned integer data and s1, s2…expresses
alphabetic string.
Drawing commands
Function Command Format Example
"n\LLA"LLAserutciPesworB
Draw a circle CIRCLE Xa Ya R C "CIRCLE 100 100 50 31\n"
Fill in color CLR Xa Ya Xe Ye C "CLR 0 0 100 100 31\n"
"n\13SLC"CSLCneercsraelC
Cut a picture CUT Pn Xa Ya Xb Yb Xs Ys "CUT 1 30 30 0 0 100 100\n"
Draw a dot DOT Xa Ya C "DOT 100 100 31\n"
Draw a frame with
linetype and
chamfer
FRAME Xa Ya Xe Ye Ds Do
C"FRAME 10 10 200 40 2 3
31\n"
Draw a line LINE Xa Ya Xe Ye C "LINE 10 10 50 50 31\n"
"n\NODEL"NODELnothgilkcaB "n\FFODEL"FFODELffothgilkcaB
Animation MOT Xa Ya Ps Pe Pt "MOT 0 0 10 14 100\n"
"n\FFOM"FFOMffonoitaminA "n\03031CIP"aYaXnPCIPCIPnollaC
Draw a rectangle RECT Xa Ya Xe Ye C "RECT 10 10 100 100 31\n"
Get screen size
*"n\EZIS"EZIS
Display alphabetic
string STR Xa Ya C Str "STR 0 0 31 ABCDEF\n"
Note:
Xa Ya :start x y coordinates Xe Ye :End x y coordinates
C :color(16bits,RGB 565 )
Xb Yb ˖start end X Y coordinates in livelong PIC Xs Ys : Need to intercept the
size from livelong picture
Ds Do :Length of Solid line/Dotted line Str :alphabetic string(8x16)
Pn : Pictures serial number(000-999) R : Radius
Ps :
Pe :
Pt :
Start animation picture number
End animation picture number
Spacing time(step :100ms)
* Using the command ,there will be a return value format is a "SXY Xsize Ysize\n"
6

- 6 -
Set baud rate BAUD b1 b2 "BAUD 9600 9600\n"
Demonstrate PIC DEMO Dt Xa Ya "DEMO 1000 0 0\n"
"n\FFOMD"FFOMDetartsnomedffO
Note:
b1 b2 denote baud tate
(range:2400,4800,9600,19200,38400,56000,57600,115200)
)sm001pets(lavretniOMEDetonedtD
Configure Commands emiTelpmaxEtamroFdnammoCnoitcnuF
7

- 7 -
7.0 Outline Drawing
ƿ
VA SIZE
AFA640480DM-5.6-A8
AFA640480DM-5.6-A8
8

- 8 -
8.0 User’s Guide
Appendix I
Application of ACDSEE for classifying pictures
5. Execute the batch file of MakeDAT.bat
6. After execution, there are three files generated in BMP_DATA, wherein BMPDATA.BIN is data file in which
all picture data are put inside in order; TABLE.BIN is table file equivalent to index file. Copy these two files into
the folder virtualized the module and then they are available for use. There are picture serial numbers in the file
of BmpDataBin.h corresponding to picture size information as a reference provided to user which is
unnecessary to be copied into USB flash disk.
Appendix II
Application circuit
1. Collect materials for use into the
folder of BMP_FILE; at the beginning,
the pictures may be disordered and the
processing of following steps is needed
to make them in proper order for
operation.
2. Convert all files into
BMP format
3. Sort the pictures successively
beginning with 000.
4. Reorder the special picture sequence,
for instance, the animation part and
special font part must be continuous.
9

- 9 -
Appendix III
10

- 10 -
9.0 Reliability Test Items
Note1. No defection cosmetic and operational function allowable.
10.0 Package Specification
TBD
No Item Condition Quantity
11
Table of contents
Other Midas Monitor manuals