MicroTouch Micro Touch Capacitive Controller MT3000 Скачать руководство пользователя страница 44

MT3000 Capacitive Controller Reference Guide

44

Response:

 

<SOH>

0

<CR> Positive response.

After the controller is in Format Raw mode, the controller returns a
response in the following format:

<

7-byte-packet

><

7-byte-packet

>...<

7-byte-packet

>...

Byte

Bits 0 – 7

1

b0 – b3: Drive level (amount of signal sent from controller)

b4 – b6: Reserved

b7: Synchronization bit (Always 1)

2

b0 – b2: 3 most significant bits of upper left (UL) corner

b3: Always 0

b4 – b6: 3 most significant bits of lower left (LL) corner

b7: Always 0

3

b0 – b2: 3 most significant bits of lower right (LR) corner

b3: Always 0

b4 – b6: 3 most significant bits of upper right (UR) corner

b7: Always 0

4

b0 – b6: 7 least significant bits of lower left (LL) corner

b7: Always 0

5

b0 – b6: 7 least significant bits of upper left (UL) corner

b7: Always 0

6

b0 – b6: 7 least significant bits of upper right (UR) corner

b7: Always 0

7

b0 – b6: 7 least significant bits of lower right (LR) corner

b7: Always 0

Содержание Micro Touch Capacitive Controller MT3000

Страница 1: ...MT3000 Capacitive Controller Reference Guide...

Страница 2: ...y written license agreement from MicroTouch 1999 MicroTouch Systems Inc All rights reserved Printed in the United States of America Document Title MT3000 Capacitive Controller Reference Guide Document...

Страница 3: ...en Controller 10 Mounting the MT3000 Controller 12 Connecting the Touchscreen Cable 14 Establishing the Data Connection 15 Supplying Power to the Controller 17 Using an Internal Power Supply 5V to JP2...

Страница 4: ...eceiving Responses from the Controller 27 Summary of Firmware Commands 30 AutoBaud Disable 34 AutoBaud Enable 35 Calibrate Extended 36 Determining Target Areas 36 Guidelines for Calibrate Extended 37...

Страница 5: ...ription of the firmware commands a guide to interpreting status LED conditions and a table of controller specifications MicroTouch Support Services MicroTouch provides extensive support services throu...

Страница 6: ...other peripherals connected to your system List of application software installed on your system You can also submit a written description of the problem to MicroTouch Technical Support at any time by...

Страница 7: ...ouch Systems Ltd Unit 1 26 F Westley Square 48 Hoi Yuen Road Kwun Tong Kowloon Hong Kong SAR PRC Phone 852 2333 6138 Fax 852 2333 6861 Email support microtouch com hk Italy MicroTouch Systems srl C so...

Страница 8: ......

Страница 9: ...design makes for easy integration into flat panel displays and mobile devices The MT3000 controller works with all the leading operating systems and is backed by the MicroTouch guarantee of worldwide...

Страница 10: ...he connector to identify them as a matched set If the connection needs to be broken during the integration process the components can be matched again by serial number The MT3000 is a compact controll...

Страница 11: ...ur system You can use the standard MicroTouch RS 232 serial cable P N 7310101 or you can build your own cable A method of supplying power to the controller There are several options available includin...

Страница 12: ...ou can orient the components up or down but turn the board so that the flex cable is not twisted 180 If possible mount the controller with the component side visible so you can monitor the status of t...

Страница 13: ...e ESD make sure you properly ground the controller through the mounting hole shown in Figure 3 Ideally you should mount the controller to a metal chassis surface that is properly grounded using metal...

Страница 14: ...the pinout configuration when you calibrate the touchscreen with TouchWare or your equivalent software This permits flexibility in orienting the sensor and in mounting the controller to conform to you...

Страница 15: ...or JP1 on the MT3000 controller Figure 5 The other end which has a 9 pin D connector plugs into a COM port on your PC directly or through the adapter Table 1 describes the interconnections for the Mic...

Страница 16: ...eceive Data RXD Brown 2 Transmit Data TXD 3 Transmit Data TXD Red 3 Receive Data RXD 4 Data Terminal Ready DTR 1 and 6 DCD and DSR None 5 Signal Ground Blue 5 Power supply ground 6 Data Set Ready DSR...

Страница 17: ...stom serial cable configuration External power 5 volts DC from a wall mount power supply External power 5 volts DC from a keyboard power tap cable Caution Do not supply both internal power and externa...

Страница 18: ...ove the plastic plug covering the power jack of the 9 pin D connector on the serial cable 2 Connect a DC power plug to the power jack built into the 9 pin D connector 3 Plug the power supply into a gr...

Страница 19: ...nd that the controller is properly mounted Be sure to tighten all cable connector screws To start up your system 1 Turn on your monitor and computer 2 Adjust the contrast and brightness to suit your p...

Страница 20: ...with an LED as shown in Figure 6 Figure 6 Diagnostic LED component side When you power up the unit the LED is bright until the controller start up sequence is completed Following start up the LED bec...

Страница 21: ...ower up 4 3 Block 1 NovRAM error The operating parameters in the controller NovRAM are invalid Using defaults 5 4 HDW error The controller hardware failed unable to initialize or configure gate array...

Страница 22: ...T MS DOS and OS 2 Be sure to install the touchscreen software for the operating system you are using TouchWare also includes a control panel for setting user touchscreen preferences and diagnostic uti...

Страница 23: ...tion of the touchscreen controller however developers can enter these commands directly This chapter Describes the controller default settings Lists the recommended firmware commands for current devel...

Страница 24: ...rrent development because Format Tablet uses only 5 bytes per point and provides the most rapid response time to a touch It is the most efficient and most compact data format sending approximately 192...

Страница 25: ...he screen is touched The controller sends the data as long as a touch continues on the sensor Because Mode Stream sends touch data continually it is the most versatile mode and it provides the best re...

Страница 26: ...Data TXD line also as a serial data stream Sending Commands to the Controller When you send a command to the controller you must use the correct command format The general format of a command is as fo...

Страница 27: ...ion mode you are using The header is the first character in the response string and is the ASCII start of header control character SOH The hexadecimal code for the ASCII SOH control character is 01 If...

Страница 28: ...control character is 0D hexadecimal The value returned in the response will be the ASCII control character for a carriage return displayed on the screen as the cursor moving to the next line In this...

Страница 29: ...00 Controller 29 Table 3 MT3000 Initialization Command String Sequence Command Format 1 Reset SOH R CR 2 AutoBaud Disable SOH AD CR 3 Parameter Set SOH PN812 CR 4 Format Tablet SOH FT CR 5 Mode Stream...

Страница 30: ...e and firmware version Caution This document assumes you are familiar with firmware commands and how to use them Executing some commands alters the performance of your touchscreen and can render it in...

Страница 31: ...byte packet Preferred for current development Mode Status MT Sends a touch status byte preceding the X Y coordinate data sent in response to a Format Decimal or Format Hexadecimal command Mode Stream...

Страница 32: ...imal format Format Zone FZ Outputs the X Y touch coordinate data as a five byte packet and indicates whether the touch occurred inside or outside the calibration area Frequency Adjust Ctrl C Fnn Lets...

Страница 33: ...cating with the MT3000 Controller 33 Command Name Code Description Set Parameter Block SP Sets all power up and run time parameters used by the controller Sensitivity Set SEn Changes the sensitivity o...

Страница 34: ...you change it with either the Parameter Set command or the AutoBaud Enable command AutoBaud Enable is the factory default for some touchscreen controllers However because this automatic feature is li...

Страница 35: ...munication rate it does not automatically set the parity the number of data bits and the number of stop bits The controller cannot communicate with the host system unless all communication parameters...

Страница 36: ...he corner of the video image Setting the targets inward makes the calibration process easier and more accurate Determining Target Areas The default calibration targets points are located 12 5 1 8 inwa...

Страница 37: ...Support Guidelines for Calibrate Extended Here are several guidelines for using the Calibrate Extended command The controller uses the data immediately before liftoff to register a calibration touch...

Страница 38: ...reen again 3 Touch the screen at an upper right target which is located 12 5 1 8 in from the corner of the video image The controller returns an acknowledgment of SOH 1 CR If you receive a negative re...

Страница 39: ...gn bit The 10 bits represent coordinates within a range of 1024 to 1023 To use the Calibrate Raw command the controller and host system must be in an 8 bit data communication mode The Calibrate Raw co...

Страница 40: ...9 Y8 Y7 Y6 Y5 Y4 MSB Most Significant Bit LSB Least Significant Bit s sign bit Table 6 describes the meaning of the bits in the status byte Byte 1 Table 6 Calibrate Raw Status Bits Bit Description Val...

Страница 41: ...ut range for both the X and Y data is 000 to 999 When activated Format Decimal resets the Mode Status to report the standard SOH header If the last format command was Format Binary then Format Decimal...

Страница 42: ...Format Decimal command this first byte becomes a status byte The status byte defines whether the X Y coordinates are generated from a touchdown a touch continuation when the finger is resting on the...

Страница 43: ...e of each packet always has its high bit Bit 7 set to provide synchronization with the host system Each corner value is 10 bits which are delivered in 2 bytes and has a range of 0 to 1023 To use the F...

Страница 44: ...b0 b2 3 most significant bits of upper left UL corner b3 Always 0 b4 b6 3 most significant bits of lower left LL corner b7 Always 0 3 b0 b2 3 most significant bits of lower right LR corner b3 Always...

Страница 45: ...if the controller is in 7 bit format Format Tablet is the most efficient packet sends approximately 162 packets per second at 9600 baud It also contains touchdown and liftoff information Format Tablet...

Страница 46: ...blet data Table 7 Format Tablet Status Bits Bit Description Values S0 S1 Switch 1 status Switch 2 status For the TouchPen only 1 Switch is on pressed 0 Switch is off S2 S5 Reserved S6 Proximity touch...

Страница 47: ...continuation when the finger is resting on the screen or a touch liftoff MicroTouch recommends that you use the Mode Status command in conjunction with Format Decimal and Format Hexadecimal so that t...

Страница 48: ...g response Status Xxx Yyy CR where Status Defines how the X Y coordinates are generated where Y Hex 19 is a touchdown first position of finger on the screen Hex 1C is a continued touch position of fin...

Страница 49: ...the screen The controller continues to send data as long as you touch the screen The controller sends the data even if the touch is stationary and unchanging The format of the coordinate data depends...

Страница 50: ...es the controller and waits for a response Use Z to determine that you are communicating with the controller or to make sure that a utility is communicating with the controller Using this command does...

Страница 51: ...ler is A30630 or A30670 for APAC Response SOH CcXxxx CR where Cc Two ASCII characters that describe the type of MicroTouch controller A3 Excalibur MT3000 Serial SMT2 Serial SMT3V PC Bus SMT3V Xxxx Fou...

Страница 52: ...at and operating mode of the controller into non volatile memory NovRAM Any time you make changes to the data format or the operating mode you should issue a Parameter Lock command to store the new se...

Страница 53: ...n execution of the Parameter Set command the controller automatically stores the new settings the current operating mode and the current data format in NovRAM The communication parameters of the host...

Страница 54: ...now pass data at 1200 baud but the host system will not be able to read the data The controller will expect to receive all commands at 1200 baud and will not recognize any attempts to change the commu...

Страница 55: ...mmands and returns the controller to normal operation MicroTouch recommends that the host system issue a Reset command whenever the host system is powered on and is attempting to establish communicati...

Страница 56: ...dered the touchscreen inoperative Table 8 MT3000 Factory Default Settings Operating Parameter Default Baud Rate 9600 Serial Communication Settings N 7 2 Data Format Format Decimal Operating Mode Mode...

Страница 57: ...er currently attached to the system lists the features supported by the controller and outputs the status of the controller hardware a self test code Response Refer to the Unit Type command in the Tou...

Страница 58: ......

Страница 59: ...0 to 60 degrees C Storage Temperature 40 to 85 degrees C Relative Humidity 90 at 60 degrees C Optional RS 232 Cable 8 shielded cable with 9 pin D connector for serial port 9 pin to 25 pin adapter avai...

Страница 60: ......

Страница 61: ...command 39 calibration commands 36 39 definition 22 guidelines 37 targets 36 carriage return CR character 26 clearance 12 command syntax 26 commands receiving responses to 27 sending 26 communication...

Страница 62: ...nal adjusting 32 driver 11 14 22 23 E electrostatic discharge 13 error 20 21 errors 21 F factory defaults 24 56 firmware commands receiving responses to 27 sending 26 syntax 26 firmware version identi...

Страница 63: ...ommand 51 operating mode definition and defaults 25 stream 49 operating modes locking 52 orientation 12 14 Output Identity command 51 P packet data See data format Parameter Lock command 52 Parameter...

Страница 64: ...ardware 57 stop bits setting number of 53 stream mode 49 supplying power 17 support technical 5 syntax command 26 T tablet format 45 targets calibration 36 technical support 5 telephone support 5 temp...

Отзывы: