Sei sulla pagina 1di 20

Beijing Stone Technology Co.,Ltd www.stone-hmi.

com

Professional HMI Solution

Datasheet & Instruction


Model Issued Date Version STI035WT-01 2012.02.10 V3.0

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

1. Table of Contents

No.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Table of Contents

Content

Page
2 3 3 6 9 10 10 10 11 11 11 11 12 13 14 15 16 19 20

Product Characteristics Technical Data Command Sets Working Principle Diagram Application Method Software Description Electrical Components Naming Rule Application Area Warranty & After-sale Service Leading Time Package International Approvals Fittings Dimension drawing MCU Program Example MCU Circuit Design Contact Us

-2-

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

2. Product Characteristics:
With CPU & Driving Device Controlled by any MCU Display Picture/ Text /Curve via Commands 65536 colour TFT display Touch Screen RS232/TTL UART Interface & USB port Wide Voltage Range Widely Used In Many various Industrial Field Easy to Use! Powerful Function! Saving Cost and Time!

3. Technical Data
Model Size (Inch) Resolution Pixel Spacing STI035WT-01 3.5 320RGB240 0.1905mm0.0635mm HV 65536 colors 16 bit 69.9mm52.53mm 74.3mm54.85 93.21mm65.3mm13.5mmN/ 15mmT 85gN/ 100gT A Level Industry Panel Industry Level 4 wire resistance Or without touch screen is optional.

Physical Parameter

Color Viewing Area Display Dimension: Overall Dimension Net Weight TFT Panel Touch Screen

Backlight Type Brightness Contrast

LED 250cd/m2 (Brightness can be adjustable in 100 levels.) 500:1 30,000 hours 70/70/50/70(L/R/U/D) -20 +70 6090% -30 +85 Digital

Backlight Parameter

Backlight life Viewing Angle Working Temperature Working Humidity Storage Temperature Screen Mode

-3-

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

CPU LCD Controller Refresh Rate Picture Switching Speed

CortexM3 STM32F103 CPLD EPM240 60Hz

200MHz

12 ms/picture 83 pictures/s Standard 1GBExtension 2GB 1064 images RS232 /TTL UART Interface (Extend to RS485 so on. MiniUSB2.0 12Mbps DC4.5V 20V typical value: 12V 1.2W

Performance Parameter

Flash Memory Memory Amount for picture Interface Pictures downloading Voltage Range Power

Support Device
Buzzer RTC Key-board Interface 16 IO Ports for Users USB port For Downloading Pictures & Font File Touch Screen Default Font Picture Storage Data Command Support Support Support, User can set dot matrix for 8*8 or 4*4 Support Support (Download one 800600 picture only take 0.5S 4 Wire Resistance 88 / 1616/ 1632/ 1212 / 1224 (Dot Matrix) Support BMPJPG Format Support Unified Simplified Command Sets

-4-

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

Communication Interface Definition


Pin Name VCC GND DIN DOUT BUSY Pin NO. 1,2 3,4 5, 6 7 Pin Type P P I O O Interpret Power Supply Input Power Ground Data Input Data Output Issue a directive as Full Signal of UART Buffer

I: Input O: Output P: Power Note A : 1. Adopting the 7 Pin 2mm spacing socket. (Socket Model: Molex 5023520700) 2. Direction of the signal was defined with HMI; I refers to the signal from the users system transmitted to the HMI 3. Pins with the same definition are connected together in the module inside. 4. User can set the RS232 or 3.3 V TTL/CMOS level by soldering pad on the PCB. Default is OFF (RS232 Level). If change to ON(TTL Level), only need to short the soldering pad. 5. The RS485 and other interface can be customized which need to point out in the order. 6.Busy signal doesnt need to be considered as communication, Frame and Command never be lost, (200MHz CPU,1M bit Command Buffer), BUSY signal can be accessed to data input pin or left vacant. Note B: 1. The selection of Baud rate for the serial interface Baud rate bps Bode_Set 1200 0x00 2400 0x01 4800 0x02 9600 0x03 19200 0x04 38600 0x05 57600 0x06 115200 0x07

2. USB to RS232 convertor can support 921600bps baud-rate, Mini USB port can support 12Mbps.

Test Report
MTBF: Working Temperature: Air Humidity: Continuous Vibration Testing: Impact Acceleration Testing: ESD Testing Radiation Reliability Testing 4,250,000 H -30 +85 6090% 10-55Hz1.5mm10G 6ms100G 10KV 44W

-5-

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

4. Command Sets
Categories Handshak e Comm and 0x00 0x40 0x41 Parameter Configurati on 0x42 0x43 0x44 0x53 0x54 Text Display 0x55 0x6E 0x6F 0x98 0x50 Points Setting 0x51 0x74 0x72 0x56 (x,y)0+(x,y)1+.+(x,y)n Line&Poly gon 0x5D X+Ys+Y e +Bcolor +(y,Fcolor)1+..+(y,Fcolor) n Address(H:M:L)+Data_word0 +Data_wordn (x,y)0+(x,y)1++(x,y)n X+Y+String Command Parameter No Fcolor+Bcolor D_X(0x00-0x7F)+D_Y(0x00-0x7F) X+Y X+Y Mode+X+Y+Wide(0x01-0x1F)+Height(0x01-0x1F) Illustration Check the configuration and version Palette setting Character space setting Move the appointed color to background color palette Move the appointed color to foreground color palette Cursor display mode setting 8x8 lattice ASCII character 16x16 lattice GBK 32x32 GB2312 12X12 GBK 24x24 GB2312 Display and lattice, any encoded string More points setting in the background color.(delete point) More points in the foreground color. Dynamic curve display Operation to the buffer of video card. Polygon display:Line the points with foreground colored segment. Polygon delete:Line the points with background colored segment Spectrum display:display a continuous vertical line with the same end in a fast rhythm. Line chat display(Xi=X+i*X_dis,Yi=Yi) Arcs display Show rectangles:display rectangles by foreground color) Delete rectangles:display rectangles by background color Clear the Screen Areas Deleting (xs,yz,xe,ye)+(xs,yz,xe,ye)++(xs,yz,xe,ye)n (xs,yz,xe,ye,n)0+(xs,yz,xe,ye,n)1++(xs,yz,xe,ye,n)n Fill in more than one appointed areas. Areas color changing Appointed areas ring-shifting to the left Appointed areas ring-shifting to the right
-6-

0x75 0x76 Acrs Rectangle s Areas Operation 0x57 0x59

X+Y+Height_max+Height0+Height1 ++Heightn X+Y_dis(0x00-0xFF)+Y0+Y1+.+Yn (Type,x,y,r)0+(Type,x,y,r)1+..+(Type,x,y,r)n

(xs,yz,xe,ye)0+(xs,Yz,xe,ye)1+.+(Xs,Yz,Xe,Ye)n 0x69 0x64 0x52 0x5A 0x5B 0x5C 0x60 0x61 X+Y+Color No

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

0x62 0x63 0x70 0x7B 0x71 Pictures&I cons Picture_ID Picture_ID Picture_ID+Xs+Ys+Xe+Ye+X+Y

Appointed areas ring-shifting to the left Appointed areas shifting to the right Display a full screen image Display a full screen image and calculate the cumulative sum. Display part of a picture in the memory(background display) Display a part from an image which stored in the module(background not shown),automatically restore the current image background . Display part of a picture in the memory(background does not display) Picture saving User-defined icons display Turn off/on the automatic implementation of Command Set Writing data to the temporary buffer Display the pre-set date lines in the temporary buffer Display the pre-set date lines in the temporary buffer Dynamic curve scaling:connecting the data points in the temporary buffer zone Oscillometer:connecting the data points in temporary buffer in a flicker-free high-speed Using the data in the temporary buffer to display line charts. Using the data in the temporary buffer zoom to display a window-constrained bi-directoional line chart Using the command in the temporary buffer to perform a synchronize display Read back data from the temporary buffer. Font modifcation Write data to the users database(32MB) Read data from the database(32MB) Key code uploading Key code port modification Uploading the last data after the touch-screen is released,(which can turn off by 0xE0 Command)
-7-

0x9C

Picture_ID+Xs+Ys+Ye+Xe+Y

0x9D 0xE2 0x99 Animation 0x9A 0xC0

Picture_ID+Xs+Ys+Xe+Ye+X+Y Picture ID (x,y,Icon_ID)0+(x,y,Icon_ID)1++(x,y,Icon_ID)n 0Xff/Pack_ID Address(H:L)+Data_word0+..+Data_wordn 0x01+Address+Pixel_Number(H:L) 0x02+Address+Line_Number(H:L) 0x03+Address+X+Y+Line_Number+D_x+Dis_x+K_y +Color

Temporary Buffer Operation

0xC1

0x04+Addr1+X+Y+Line_Number+0x01+Dis_x+Color 1+Addr0+Color0 0x05+Address+X+Y+Line_Number+D_x+Dis_x+M_y +D_y+Color 0x06+Address+X+Y+Line_Number+D_x+Dis_x+M_y +Color+Ymin+Ymax 0x10+Address+Frame_Number

0xC2 Database Operation Keyboard Operation Touchpad Operation 0xF2 0x90 0x91 0x71 0xE5 0x72

<Address>+<Data_length> 0xF2+0xF2+0x5A+0xA5+Lib_ID 0x55+0xAA+0x5A+0xA5+Address(H:MH:ML:L)+Data Address+Read_Length(H:L) K_code 0x55+0xAA+0x5A+0x+A5+K_Code0++K_Coden Touch_X+Touch_Y

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

0x73 0xE4 0x78 0x79 Buzzer Operation Video Operation 0x79 0x55+0xAA+0x5A+0xA5 Touch Code BZ_time

Uploading data when pressing the touch panel(uploading once only by setting the command of 0xE0) Touch panel adjusting Uploading the defaulted key code when switching the touch interface. Buzzing once only (10xBz_time mS) Switching HMI and video mode(support CVBS/S-Video signal input,NTSC/PAL formats) Turn off the backlight or control the backlight mode by touching or keying Turn the backlight on or adjusting the brightness by PWM. Clock on/off; read the clock Clock adjusting Configuring the users serial port speed and the touch-screen data uploading.

0x7A

Work_Mode+Video_mode+Video_CH Non or 0x55+0x AA+0x5A+0xA5+V_ON+V_OFF+ON_TIME Non or PWM_T(0x00-0x3F) 0x5A,0x5B(read)/0x00(off)/0xFF+M+TM+Color+X+Y( ON) 0x55+0xAA+0x5A+0xA5+YY:MM:DD:HH:MM:SS 0x55+0 x AA+0x5A+0x A5+Panel_Set+Bode_Set+Para1 Download:0x01+PY_Code answer:0x01+HZ_num+String Download: 0x02+A+B+C+D answer:0x02+E+F

Backlight Control

0x5E 0x5F 0x 9B 0x E7 0x E0

Clock Operation Parameter Configurati on

Algorithm

0xB0

Calculating(AxB+C)/D,E is 4 bytes reminder Array listing of unsigned integers(2 bytes) PINYIN input based on GBK Play the music in the appointed zoom Volume adjusting Stop playing Sount-op response Touch interface automatically switching(0x1E font files) Touch interface automatically switching(0x1B font files) Play auto-Commands(0x1C font files) Icon Character Definition(0x1D font files) Uploading the Command pre-setted by user(0x1A font file)

Download:0x03+Data_Pack0 answer:0x03+Data_Pack1 Download:0x04+PY_Code answer:0x04+HZ_num+String

0x30 Volume Operation 0x32 0x33 0x3F

Start_Set+Play_number+Play_time Volume_L+Volume_R+0x00 0x55+0 x AA+0x5A OK Pic_Now+(xs,yz,xe,ye)+P_next+P_cut+Touch_code

Pic_Now+0x00:K_Code+Pnext+P_cut+Touch_Code Operation Configurati on File Operation Delay+Length+Command Pic_ID+(xs,yz,xe,ye) Command_Length+Command+String

-8-

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

5. Working Principle Diagram


Any MCU and PC can work with it properly, EG: C8051PICAVR, DSP and so on.

TFT-LCD Module

RS232/TTL

Commands

Main Controller Any MCU

Equipment

-9-

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

6. Application Method ----- Only Three Things


Step One: Design the Graphical User Interface (GUI) by art designer. Step Two: Connect TFT-LCD Module with Users equipment by RS232 or TTL interface directly. (Dont need any driver program.) Step Three: Write the control program to any MCU to work the TFT-LCD Module via the Commands.

7. Software Description
We offer you below three simple softwares to work with TFT-LCD Module. 1. Terminal Assistant: To upload pictures and files into TFT-LCD Module, and demonstrate the commands. 2. Touch Control Software: To create the control file. 3. Font Software: To create the font file.

8. Electrical Components
To ensure the quality, all of components we adopt are from the international famous company.

TFT:

Touch Screen:

Flash Memory:
Connector: Capacitance: IC

- 10 -

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

9. Naming Rule
For example: STI035WT-01: ST I 035 W T 01 Company Code I=Industry Type A=Advanced Type TFT Dimension: 3.5 inch Wide Voltage Range T=With Touch Screen Hardware Code N=Without Touch Screen

10. Application Area ---- Widely Used In Many Various Industrial Field
Medical & Beauty Equipment Engineering Machinery and Vehicle Equipment Electronic Instrument Industrial Control System Electric Power industry Civil Electronic equipment Charging Equipment, Filling Station Equipments And so on

11. Warranty & After-sale Service


The warranty period is 3 years since delivery. If there would be any technical or quality problem in warranty period, we guarantee the product can be replaced by brand new unconditionally. Except for: Man-made Damage, Improper Operation, Natural Disaster & Accident. In warranty years, we can supply the free maintain service for the broken product.

12. Leading Time


Upon the stronger production capacity, the lead time is 15 days since the date of order confirmation. We have 5000m2 products plant base with two assembly lines, quality improvement center and aging test laboratory, with more than 200 production staffs, the production capacity is up to 60,000 pieces per Month.

- 11 -

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

13. Package

Type Carton Big Small Big Box Middle Small

Size (cm) 3.5''&4.3'' 604330 443430 33278 25208 23175 68 40 8 4 2

Quantity (piece) 7'', 5.6''&5.7'' 34 20 4 2 5.6''or5.7'': 1 8''&10'' 16 10 2 8'': 2 No

Chargeble Weight(kg) 15.48 8.97 1.42 0.8 0.39

- 12 -

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

14. International Certificate


CE Certificate FCC Certificate

RoHS Certificate

ISO9001:2008

- 13 -

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

15. Fittings
Accessory Name Double 7PIN Connect Line Model Note Plug Model: Molex 0050375083 Optional 15cm/30cm/50cm Pic

L7

DB9 Connecting Line

LD

Connector Standard DB9 Joint

7PIN Socket

S7

Socket Model: Molex 5023520700 Socket Spacing : 2mm

12 port High Speed Download Board

DL12

Download the same pictures and files into 12 TFT-LCD Modules once time.

- 14 -

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

16. Dimension drawing

- 15 -

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

17. MCU Program Example


C8051 MCU C Language //----------------------------------------------------------------------------// Includes //----------------------------------------------------------------------------#include<reg52.h> //----------------------------------------------------------------------------// sbit Definitions //----------------------------------------------------------------------------sbit LED=P0^0; //----------------------------------------------------------------------------// Global CONSTANTS //----------------------------------------------------------------------------#define SYSCLK 22118400 #define BAUD_RATE 115200 #define uchar unsigned char #define uint unsigned int uchar pic[3]={0xAA,0x70,0x08}; /----------------------------------------------------------------------------// Function PROTOTYPES //----------------------------------------------------------------------------void Uart0_transmit(uchar i); void send_str(uchar *p,uchar s); void delay_ms(uchar n); void SysInit(void); void en(void); void pic_str(uchar i); //----------------------------------------------------------------------------// Uart0_transmit //----------------------------------------------------------------------------void Uart0_transmit(uchar i) { ES=0; TI=0; SBUF=i; while (!TI); TI=0 ; ES=1; } void send_str(uchar *p,uchar s)
- 16 -

// SYSCLK frequency in Hz // Baud rate

// Send a byte to the terminal // Send a string to the terminal // Delay // Initialization of system // Frame end // Picture switching sub-function

// Send 1 byte to terminal

// Send data to uart0 // Wait for the finish of sending a byte // Clear the interruption mark

// Send a string to the terminal

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

{ uchar m; for(m=0;m<s;m++) { Uart0_transmit(*p); p++; } } //----------------------------------------------------------------------------// delay //----------------------------------------------------------------------------void delay_ms(uchar n) { uint i,j; for(i=1000;i>0;i--) { for(j=25*n;j>0;j--) {;} } } //----------------------------------------------------------------------------// SysInit //----------------------------------------------------------------------------void SysInit(void) { PCON |=0x80; SCON=0x50; TMOD=0x21; TH1=255; TL1=255; TR1=1; ES=0; TH0=0xDC; TL0=0x00; TR0=1; ET0=1; }

// Delay sub-function

// Initialization of system

//----------------------------------------------------------------------------// pic_str // Picture switching sub-function //----------------------------------------------------------------------------void pic_str(uchar i) { pic[2]=i; send_str(pic,3); // Send the command of picture switching en();
- 17 -

Beijing Stone Technology Co,.Ltd www.stone-hmi.com

} //----------------------------------------------------------------------------// main() Routine //----------------------------------------------------------------------------void main (void) { EA=0; SysInit(); EA=1; delay_ms(40); while (1) { pic_str(); } Return 0; } //----------------------------------------------------------------------------// End Of File //-----------------------------------------------------------------------------

// main function // Close Interruption // Open Interruption

// Picture switching

- 18 -

Beijing Stone Technology Co.,Ltd www.stone-hmi.com

18. MCU Circuit Design

Beijing Stone Technology Co.,Ltd www.stone-hmi.com

19. Contact Us
Beijing Stone Technology Co.,Ltd Address: 2807 Floor 28, Building B, Shiao International Center, Shaoyaoju North Road 101#,Chaoyang District,Beijing, China. Post Code100029 Tel86-010-84351669 Fax86-010-84361668 Websitewww.stone-hmi.com E-mailMicheal.wangy@gmail.com

Potrebbero piacerti anche