3M™ MicroTouch™ Controller SX112 Reference Guide (formerly EX II 3700SP) Read and understand all safety information contained in this document before using this product. 3 3M Touch Systems, Inc.
3M™ MicroTouch™ Controller SX112 Reference Guide The information in this document is subject to change without notice. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of 3M Touch Systems, Inc. 3M may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document.
M™ MicroTouch™ Controller SX112 Reference Guide 3 Contents About This Manual What You Need to Know ...........................................................................................5 Important Safety Information .....................................................................................5 Sensor Care and Cleaning ..........................................................................................6 3M Touch Systems Support Services..................................................
3M™ MicroTouch™ Controller SX112 Reference Guide Name Command.......................................................................................................24 Null Command .........................................................................................................24 Output Identity .........................................................................................................24 Parameter Set...................................................................................
3M™ MicroTouch™ Controller SX112 Reference Guide 5 About This Manual 3M Touch Systems offers several advanced controllers designed for reliability and easy installation. Each controller provides superior performance and delivers excellent stability, sensitivity, accuracy, and fast response. This reference guide, designed for developers of touch systems, provides installation and configuration information for the 3M™ MicroTouch™ SX112 touch controller.
3M™ MicroTouch™ Controller SX112 Reference Guide Explanation of Signal Word Consequences WARNING: Indicates a potentially hazardous situation, which, if not avoided, could result in death or serious injury and/or property damage. CAUTION: Indicates a potentially hazardous situation, which, if not avoided, may result in minor or moderate injury and/or property damage. CAUTION: Indicates a potentially hazardous situation, which, if not avoided, may result in property damage.
3M™ MicroTouch™ Controller SX112 Reference Guide 7 Typically, an isopropyl alcohol and water solution ratio of 50:50 is the best cleaning agent for your touch screen. You can also use straight isopropyl alcohol. Be sure to follow solvent manufacturer's precautions and directions for use when using any solvents. • It is important to avoid using any caustic chemicals on the sensor. • Always dampen the cloth and then clean the screen.
3M™ MicroTouch™ Controller SX112 Reference Guide 9 CHAPTER 1 Integrating the SX112 Controller The 3M™ MicroTouch™ SX112 controller provides a drop-in replacement for the entire family of pen controllers with all the improved features of the EX II ASIC including wide dynamic range, increased noise immunity, wide operating temperature stability, reprogrammability using software utilities and inherent ungrounded capability.
3M™ MicroTouch™ Controller SX112 Reference Guide Handling and ESD Protection When mounting the sensor and controller, use normal precautions for handling electrostatic sensitive devices. The SX serial controllers have internal protection to ±27 kV for ESD discharges to the sensor (not to the controller directly) that may occur during normal operation of the sensor. Refer to the appendices for further specifications.
3M™ MicroTouch™ Controller SX112 Reference Guide 11 Mounting the Sensor There are several methods for mounting the sensor depending on your application. If you need instructions or recommendations from 3M Touch Systems on how to incorporate a sensor into your design, refer to the 3M™ MicroTouch™ System 3250EX Integration Guide (P/N 19-278). All 3M Touch Systems documentation is available from the corporate website at www.3Mtouch.com.
3M™ MicroTouch™ Controller SX112 Reference Guide LED Flashes 4 Error Description What to do... Restore defaults (RD command). If fault persists, replace controller. If error reoccurs, might be a touch sensor or cable problem. Replace controller. 6 7 8 9 10 Controller NOVRAM error. The operating parameters in the controller NOVRAM are invalid. Using defaults. HDW error. The controller hardware failed (unable to initialize or load program). Non-recoverable error.
3M™ MicroTouch™ Controller SX112 Reference Guide 13 CHAPTER 2 SX112 Controller Communications This chapter discusses the fundamentals of communicating with the 3M™ MicroTouch™ SX112 controller. The firmware commands, which are usually issued by a driver or utility program on the host system, control the operation of the touch controller, however developers can enter these commands directly. This chapter: • • • • Describes the controller default settings.
3M™ MicroTouch™ Controller SX112 Reference Guide Controller Default Settings Communication Parameters The default operation of the SX112 controller is N81 (no parity, 8 data bits, and 1 stop bits) at 9600 baud. Data Format Data format refers to the type of packet the controller uses to send the X/Y touch coordinates to the host system. Format Tablet is the default format for the 3M™ MicroTouch™ SX112 controller.
3M™ MicroTouch™ Controller SX112 Reference Guide 15 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 follows: Command Note: The following descriptions of header, command, and terminator, use 3M Touch Systems terminal emulator key sequences. You may need to enter the sequence in a different format, depending on your emulator.
3M™ MicroTouch™ Controller SX112 Reference Guide The command response, which always follows the header, is a range of ASCII characters depending on the type of command sent. Responses can be in many forms. For example, one standard response is 0 (ASCII character ‘zero’ or 30 hexadecimal). This response indicates a successful command completion for most commands, while it indicates a failed completion for other commands.
3M™ MicroTouch™ Controller SX112 Reference Guide 17 To optimize the performance of the touch controller and simplify the development of custom drivers, 3M Touch Systems recommends you use the commands listed in Table 5 for current development. Using these commands ensures compatibility with all 3M™ MicroTouch™ controllers. Note: When you enter commands in terminal mode, precede each command with A to enter the start of header.
3M™ MicroTouch™ Controller SX112 Reference Guide Calibrate Extended Syntax: CX Note: This command should not be used when 3M™ MicroTouch™ Software is being used. The CX command will interfere with the auto orientation algorithm. To calibrate, use the 2- or 4-point calibration in 3M™ MicroTouch™ Software. Description: Initiates an interactive 2-point calibration.
3M™ MicroTouch™ Controller SX112 Reference Guide (0, 0) [0, 0]* 19 (1023, 0) [1024, 0]* (895, 96) Upper Right Calibration Target X = 1023 – (1024 x 1/8) = 1023 – 128 = 895 Y = 0 + (768 x 1/8) = 0 + 96 = 96 Lower Left Calibration Target X = 0 + (1024 x 1/8) = 0 + 128 = 128 Y = 767 - (768 x 1/8) = 767 - 96 = 671 (128, 671) (0, 767) [0, 1024]* [1024, 1024]* *The coordinates are in video terms, with the origin (0, 0) in the upper left corner of the sensor.
3M™ MicroTouch™ Controller SX112 Reference Guide Calibrate Raw Syntax: CR Description: Allows the collection of raw (signed) X and Y coordinates before the normal scaling, linearization, and filtering processes. The controller sends a continuous stream of data in Calibrate Raw mode. The Calibrate Raw data is a 5-byte packet that includes 1 status byte and 4 bytes of binary X/Y coordinate data. Each X/Y coordinate includes 10 binary bits and 1 sign bit.
3M™ MicroTouch™ Controller SX112 Reference Guide 21 Table 7 Calibrate Raw Status Bits Bit Description Values S0 – S5 Reserved S6 Proximity (touch state) S7 Packet synchronization — 1 = Sensor is being touched (a touchdown or a continued touch). 0 = Sensor is not being touched (a touch liftoff or inactive).
3M™ MicroTouch™ Controller SX112 Reference Guide To terminate Format Raw, issue a Reset command. The controller may return several bytes of data between the time you issue a Reset command and the controller receives it. You can either scan the data stream for the Reset acknowledgment, or you can ignore the response to the first Reset command and then issue a second Reset after approximately 10 seconds has passed. Use the Format Raw command for diagnostics.
3M™ MicroTouch™ Controller SX112 Reference Guide 23 Format Tablet Syntax: FT Description: Outputs the X/Y touch coordinate data in a 5-byte packet. The packet includes 1 status byte and 4 bytes of binary X/Y coordinate data. The protocol also establishes the X and Y coordinate output as 14 binary bits providing a range of 0 to 16,383.
3M™ MicroTouch™ Controller SX112 Reference Guide Mode Stream Syntax: MS Description: Sends a continuous stream of X/Y coordinate data when you touch the sensor. The controller continues to send data as long as you touch the sensor. The controller sends the data even if the touch is stationary and unchanging. The format of the coordinate data depends on the last format command received by the controller. Response: 0 Positive response.
3M™ MicroTouch™ Controller SX112 Reference Guide 25 Parameter Set Syntax: Ppds[b] where: p d s b Description: = Parity type N = No parity O = Odd parity E = Even parity = Number of data bits (7 or 8). = Number of stop bits (1 or 2) = Communication rate 1 = 19200 baud 4 = 2400 baud 2 = 9600 baud 5 = 1200 baud 3 = 4800 baud Lets you adjust the communication parameters (parity, data bits, and stop bits) of the controller.
3M™ MicroTouch™ Controller SX112 Reference Guide Pen/Finger Syntax: Description: PF Response: 0 Positive response The default setting for the SX112 controller. It will recognize touch from either the pen or finger. Pen Only Syntax: Description: Response: PO The controller will disable finger touch and will only respond to the pen.
3M™ MicroTouch™ Controller SX112 Reference Guide 27 Table 12 SX112 Serial Controller Factory Default Settings Operating Parameter Baud Rate Serial Communication Settings Data Format Operating Mode Return to Factory Calibration Default 9600 N, 8, 1 Format Tablet Mode Stream Yes The Restore Defaults command requires approximately 1.8 seconds.
3M™ MicroTouch™ Controller SX112 Reference Guide 29 APPENDIX A SX112 Controller Specifications This section provides controller specifications such as power requirements, environmental requirements, and cable connectors. The controller measures 1.35 x 4.8 inches with a total height profile of 0.35 inches from the thru hole pins on the trace side of the board to the top of the highest component on the opposite side. The SX112 has a touch sensor connector, a pen connector and a serial cable connector.
3M™ MicroTouch™ Controller SX112 Reference Guide Controller Technical Specifications Physical Dimensions 4.80 in. x 1.35 in. x 0.032 in. (121.9 mm x 34.3 mm x 8.2 mm) Board Level Functions Power +12V Input: (100 mA typical, 110 mA maximum), ±5% regulation, 50 mV maximum ripple and noise.
3M™ MicroTouch™ Controller SX112 Reference Guide Storage Temperature Range Storage Humidity Range 31 - 50 °C to +85 °C < 36°C 0-80% RH ≥ 36 °C see Figure 1 below Performance & Reliability Minimum Touch Duration 5.4 msec.
3M™ MicroTouch™ Controller SX112 Reference Guide Physical Dimensions Pen Construction Body Material Lightly Textured ABS Plastic Body Color Black Pen Cable 0.140 Diameter Shielded Cable with Strain Relief; Length = 42.0 ± 1 In. Pen Connector RJ45 8 pin Connector Pen Tip – Conductive Replaceable – 3M Touch Systems P/N 2604634 Pen Cable Mechanical Specifications Pen End – Dynamic Pull Force Minimum 20 lb. pull force J1 Connector End – Dynamic Pull Force Minimum 6 lb.
3M™ MicroTouch™ Controller SX112 Reference Guide 33 ±8 kV Contact Discharge* - 1 “touch” allowed Compliant with Class 2 operation per section 9 of IEC 61000-4-2 ±22 kV Air Discharge* – Normal Operation – No false touches Compliant with Class 1 operation per section 9 of IEC 61000-4-2 * ESD discharges to the tip and tapered end of the pen when connected to an SX112 controller Operating and Storage Environmental Conditions Operating Temperature Range - 15 °C to +70 °C Operating Humidity Range < 36° C 0-