setup and users manual - microchip...

15
Setup and Users Manual TSHARC “Octopus” Touch Screen Controller Supports 4-, 5- & 8-Wire Analog Resistive Touch Screens RS-232, PS/2, USB Version 1.6R Document Revision and Copyright Document Name: 04B_TSHARC_Octopus1.6Users090827 Document Date: August 27, 2009 Copyright Microchip Technology Inc. 1995 – 2009 All rights reserved Microchip TSHARC™ and UniWinDriver™ are the exclusive trademarks of Microchip Technology Inc. All Rights Reserved. Contact Information Microchip Technology Inc 9055 N. 51st Street Unit H Brown Deer, WI 53223 www.microchip.com/TSHARC Main Phone: 414-355-4675 Main Fax: 414-355-4775

Upload: lamkhanh

Post on 09-Apr-2018

230 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

Setup and Users Manual TSHARC “Octopus” Touch Screen Controller

Supports 4-, 5- & 8-Wire Analog Resistive Touch Screens

RS-232, PS/2, USB Version 1.6R

Document Revision and Copyright Document Name: 04B_TSHARC_Octopus1.6Users090827 Document Date: August 27, 2009 Copyright Microchip Technology Inc. 1995 – 2009 All rights reserved Microchip TSHARC™ and UniWinDriver™ are the exclusive trademarks of Microchip Technology Inc. All Rights Reserved. Contact Information Microchip Technology Inc 9055 N. 51st Street Unit H Brown Deer, WI 53223 www.microchip.com/TSHARC Main Phone: 414-355-4675 Main Fax: 414-355-4775

Page 2: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

2

Important Documents and User Information Use this document as a guide only. The information contained in this document is subject to change without notice. This document, and all of its contents, is protected under International and U.S. copyright law. Microchip Technology trademarks, patents and copyrights are the exclusive property of Microchip Technology Inc. and may not be used without the express written consent of Microchip Technology Inc. Due to the vast range of application variables that fall outside of Microchip’s expertise and control, Microchip assumes no responsibility for the usability or the suitability of Microchip products in customer application(s). Microchip assumes those responsible for the application and use of Microchip Technology products and documentation have taken all necessary steps to insure that the application of Microchip products meet any and all safety and performance requirements including any laws, regulations, codes and standards associated with the application. In no case does Microchip warrant the usability or suitability of its products in any medical, aviation, military or other life critical applications. User should contact Microchip Technology before integrating any Microchip hardware or software product into these types of applications. All Microchip standard software products, including but not limited to device driver software, are provided “as is” and may be used exclusively with an authentic Microchip TSHARC touch screen controller. Microchip does not guarantee the usability of any of its software products. Microchip Technology warrants to the original purchaser that for the warranty period identified by Microchip warranty for the specific product that you have purchased, that the goods will be in conformance with Microchip specifications. In addition to Microchip specifications, the warrantee includes Non-Microchip specifications agreed-to, in writing, by Microchip in advance for the limited purpose between the customer and Microchip Technology Inc. The warrantee also insures that the goods will be free from defects in design and material for the warrantee period. Microchip Technology, at its option, will repair or replace the nonconforming or defective goods, issue a credit memorandum, or refund the purchase price, as its sole obligation: provided that the nonconforming or defective goods are rejected in writing (including a reasonable failure analysis statement) to Microchip Technology and returned to Microchip Technology within the relevant warranty period and provided that the nonconformance or defect was not caused by misuse, alteration, accident, or abnormal conditions of storage, operation or handling, as determined by Microchip Technology. THIS WARRANTY IS YOUR SOLE AND EXCLUSIVE REMEDY AND IS IN LIEU OF ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, FURTHER, MICROCHIP TECHNOLOGY INC SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGE OR LOSSES, INCLUDING LOSS OF PROFITS, BUSINESS INTERRUPTION, OR OTHER PECUNIARY LOSS, WHETHER ARISING FROM BREACH OF WARRANTY OR BASED ON CONTRACT, FUNDAMENTAL BREACH OR ANY OTHER THEORY. SINCE SOME JURISDICTIONS DO NOT ALLOW LIMITATIONS OF THE TERMS OF ANY IMPLIED WARRANTY, OR EXCLUSION OR LIMITATION OF INCIDENTAL OF CONSEQUENTIAL DAMAGES, THE LIMITATIONS AND EXCLUSIONS OF THIS WARRANTY MAY NOT APPLY TO YOU. General Information

Mailing address World Wide Web Support E-Mail Address Microchip Technology Inc. 9055 North 51st Street, Suite H Brown Deer, WI 53223 Phone: 414-355-4675 Fax: 414-355-4775

www.microchip.com

http://support.microchip.com

Copyright Information This manual is ©1995-2009 Microchip Technology Inc. Reproduction of the contents of this copyrighted material in whole or in part, by any means, mechanically or electronic, for any purpose, without the written permission of Microchip Technology Inc is prohibited. Microchip Technology Inc., Microchip® TSHARC™, the TSHARC logo, and UniWinDriver™ are Trademarks of Microchip Technology Inc. All Rights Reserved. Edition Information Printed on: August 27, 2009 Document Part number: 04B_TSHARC_Octopus1.6Users090827

Page 3: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

3

Table of Contents IMPORTANT DOCUMENTS AND USER INFORMATION .......................................................................... 2 MAILING ADDRESS ........................................................................................................................................... 2 WORLD WIDE WEB .......................................................................................................................................... 2 SUPPORT E-MAIL ADDRESS ............................................................................................................................. 2 TABLE OF CONTENTS ............................................................................................................................... 3 INTRODUCTION ........................................................................................................................................... 4 PRODUCT DESCRIPTION ........................................................................................................................... 4 PART NUMBER ................................................................................................................................................ 4 TSHARC OCTOPUS CORE FEATURES ............................................................................................................. 4 TOUCH SCREEN OVERVIEW ..................................................................................................................... 5 SOFTWARE DEVICE DRIVERS .................................................................................................................. 5 TSHARC “OCTOPUS” MECHANICAL SPECIFICATION .......................................................................... 6 COMMUNICATION JUMPER SETTINGS .................................................................................................... 7 POWER JUMPER SETTINGS...................................................................................................................... 7 COMMUNICATION CONNECTION DIAGRAMS ......................................................................................... 8 RS-232 COMMUNICATION CONNECTION DIAGRAM ............................................................................................ 8 PS/2 COMMUNICATION CONNECTION DIAGRAM ................................................................................................ 8 USB COMMUNICATION CONNECTION DIAGRAM ................................................................................................. 8 USB ONLY JUMPER SETTINGS ................................................................................................................ 9 USB ONLY TOUCH SCREEN JUMPER SETTINGS. ............................................................................................... 9 USB ONLY COMMUNICATION CONNECTION DIAGRAM ........................................................................................ 9 COMMUNICATION FORMAT ............................................................................................................................. 10 TOUCH SCREEN CONNECTION DIAGRAMS ......................................................................................... 11 CONNECTION HARDWARE AND CABLE ASSEMBLIES ....................................................................... 12 COMMUNICATION CABLES .............................................................................................................................. 12 TOUCH SCREEN CABLES ................................................................................................................................ 12 POWER CABLES ............................................................................................................................................ 12 MOUNTING HARDWARE .................................................................................................................................. 12 ON BOARD CONNECTOR SPECS ..................................................................................................................... 12 MATING WIRE MOUNT CONNECTORS (CABLE CONNECTIONS). ........................................................................... 12 DEVELOPED AND SUPPORTED IN-HOUSE ........................................................................................... 13 PRIVATE LABELED DRIVERS ........................................................................................................................... 13 TSHARC™ CONTROLLER CHIP SOLUTIONS .................................................................................................. 13 SUPPORT SERVICES ................................................................................................................................ 13 NOTES ........................................................................................................................................................ 14 

Page 4: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

4

Introduction This manual has been written for users of the Microchip Octopus touch screen micro-controller board. The TSHARC touch screen controller boards and software described within this document are assumed to be used with four, five or eight wire analog resistive touch screen products manufactured by a variety of touch screen manufacturers. Touch screens between manufacturers vary with regards to light transmission, sensitivity, contact resistance, capacitance and other electrical characteristics. Because touch screen quality and electrical characteristics may vary between touch screen technologies and manufacturers the actual, overall performance may vary between touch screen overlay manufacturers’ products. A great deal of attention has been paid to eliminate potential problems with various touch screen manufacturers. We have identified substantial specification variance within each manufacturer and between manufacturers touch screens. While most of the manufactures we tested did fall within a functional specification, it is important to request electrical and mechanical specifications from your touch screen overlay manufacturer to insure uniform quality and performance. The specification details that should be provided by your touch screen overlay supplier include lead to lead resistance, sheet resistance, and linearity of ITO.

Product Description The TSHARC Octopus controller board can be configured for RS-232, USB and PS/2 communications and for any manufacturers’ 4, 5 or 8 wire analog resistive touch sensors.

Part Number Jumper-Configurable for sensor and communication type HS12-00000o-xx HS10-00000o-xx

TSHARC Octopus Core Features • RoHS Compliant • True 10 or 12-bit ratio metric analog to digital converter • Configurable communication type

o PS/2 o RS-232 o USB

• Supports all manufacturers analog resistive touch screens o 4 wire o 5 wire o 8 wire

• Touch Screen Resistance Specification is 50 – 2k ohm sheet resistance lead to lead o On-board transistor drive specially designed to drive low-ohm sensors

Page 5: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

5

Touch Screen Overview 4 and 8 wire touch screens are typically produced with higher resistance transparent conductive film (ITO Indium Tin Oxide) than 5 wire touch screens. Most often touch screen resistances falls within 100 – 400 Ohm per square. Because 4 and 8 wire touch screens typically have a higher resistance than 5 wire sensors, you will find most battery powered applications using this technology. You will also find that 4 and 8 wire touch screens are more linear than 5 wire. The advantage of a 5 wire touch screen is that they are typically more mechanically durable (top sheet does not need to be linear) and are less affected by environmental variation. Five Wire touch screens come in a wide variety of sheet resistance. In some cases, because of the 5 wire construction, the resistance may be lower than the 50 ohm specification. While these touch screens require more power to drive them, this does not imply poor quality. Once resistance drops below an optimum level so does the resolution. In contrast, as resistance increases, depending upon the construction, contact resistance begins to negatively affect the touch screen’s performance. The negative effect of a high or low resistance touch screen can be managed by properly implementing the correct circuit. It should be understood that extremes in either direction will negatively influence the performance of any efficient circuit design. In order to maximize efficiency and performance a higher resistance, linear, environmentally stable touch screen is recommended. Your product design requirements will help you identify the touch screen technology and construction that will best suit your application. Please contact Microchip Technology Inc. for more unbiased touch screen material science information and a list of recommended TSHARC controller designs to fit your application.

Software Device Drivers Microchip Technology has device driver software available for all TSHARC touch screen controller chip and board solutions. The software drivers may be downloaded at no additional charge at: www.microchip.com. Reported Microchip resolution is dependent upon the hardware A-D converter specification. TSHARC device driver software is designed to deliver true 10- or 12-bit hardware resolution respective to the touch screen controller hardware. The TSHARC device driver software enables you to configure the touch screen operation to meet your needs. The following is a list of features available with Microchip’s software:

1) Touch screen calibration 2) Touch screen linearization 3) Touch screen alignment 4) Multi-monitor calibration and configuration 5) Adjustable calibration inset 6) Edge acceleration 7) Touch modes

a. Normal mouse emulation b. Touch Up mode c. Touch Down mode

8) User adjustable Configurations a. Microchip’s proprietary touch screen friendly timed right click event b. Touch event area setting c. Touch sound enable / disable

9) Other special features also included. Please see the complete driver manuals available at the www.microchip.com web site for further details.

Note: TSHARC device drivers vary between operating systems and operating system varieties and versions. Currently Microchip supports the following Windows® Operating systems: DOS, Win3.1x, 9x, ME, XP, XPe, 2k, CE, CENet, Tablet. TSHARC driver for Linux, and MAC are also included with all TSHARC touch screen controller products.

Page 6: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

6

TSHARC “Octopus” Mechanical Specification Note: Use jumper settings and connection diagrams for identifying correct board configuration for your application. Do not use the “Legacy” mounting holes for new applications. These holes have been added to provide for backward compatibility to older revision boards. They may not be available on newer revision boards.

The board revision and firmware release can be found directly on your TSHARC touch screen controller board. Please contact Microchip Technology Inc. if you have any questions regarding your hardware revision. A lower cost “USB only” version of the Octopus board is also available: Octopus USB part number: HUxx-00000o. Where: xx = 10 for 10-bit and 12 for 12 bit.

Although Microchip Technology Inc. has taken steps to protect your touch screen controller from transient voltage, it is important to make all grounding, communication and touch screen connections to the controller and touch screen. This must be done before powering on your computer, video monitor or touch screen controller. Failure to follow this procedure may result in damage to your controller and/or communication port. If you believe that your application will require additional static protection, it is up to you to determine the appropriate static protection needed to protect your electronics from transient voltage. Failure to take the necessary precautions may result in damage to your controller. Microchip does not warranty the TSHARC controller board against transient static discharge damage.

Page 7: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

7

Communication Jumper Settings Jumper settings must be set for communication options as well as power. Use power from port settings for USB and PS/2 applications. INCORRECT JUMPER SETTINGS WILL DAMAGE YOUR TSHARC OCTOPUS BOARD.

Power Jumper Settings Configure your power jumper for Regulated or un-regulated power. Use power from port settings for USB and PS/2 applications. INCORRECT JUMPER SETTINGS WILL DAMAGE YOUR TSHARC OCTOPUS BOARD.

Page 8: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

8

Communication Connection Diagrams Attention: Pin 1 identified on the RS-232 and PS/2 connector is identified for IDC cable connections. Pin and socket connectors locate pin 1 differently than an IDC connector. Make sure to check your cable connection to insure that your connections are correct.

RS-232 Communication Connection Diagram

Note: A standard IDC RS-232 (DB-9) to 10-position dual row socket jumper cable assembly may be used. Pin out: 1-1, 2-3, 3-5, 4-7, 5-9, 6-2, 7-4, 8-6, 9-8, NC-10

PS/2 Communication Connection Diagram Make sure that you have set the jumpers for power from port before connecting to the PS/2 port.

USB Communication Connection Diagram Make sure that you have set the jumpers for power from port before connecting to the USB port.

Page 9: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

9

USB Only Jumper Settings

USB only Touch Screen Jumper Settings. For the Octopus USB only controller board, it is not necessary to jumper communication or power settings. Set the jumpers for touch screen type only.

USB only Communication Connection Diagram The Octopus USB only controller board has a connector for the USB connection only. If you have a full utility Octopus controller, please reference the previous connection diagrams.

Page 10: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

10

Communication Format TSHARC USB Protocol Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1 0 0 0 0 0 0 0 P 2 X7 X6 X5 X4 X3 X2 X1 X0 3 0 0 0 0 X11 X10 X9 X8 4 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 5 0 0 0 0 Y11 Y10 Y9 Y8 TSHARC RS232 Protocol (Standard) Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1 1 P X11 X10 X9 Y11 Y10 Y9 2 0 X8 X7 X6 X5 X4 X3 X2 3 0 Y8 Y7 Y6 Y5 Y4 Y3 Y2 4 0 0 0 0 X1 X0 Y1 Y0 TSHARC PS/2 Protocol Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1 1 P X11 X10 X9 Y11 Y10 Y9 2 0 X8 X7 X6 X5 X4 X3 X2 3 0 Y8 Y7 Y6 Y5 Y4 Y3 Y2 4 0 0 0 0 X1 X0 Y1 Y0 Where: P - 0 Pen-Up, 1 Pen-Down X11-X0 - 12 bit X position data Y11-Y0 - 12 bit Y position data PU - 0 no Pen-Up, 1 Pen-Up PD - 0 no Pen-Down, 1 Pen-Down CK7-CK0 - AAH + 55H + Sum of Bytes 2 through 9

Page 11: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

11

Touch Screen Connection Diagrams

Page 12: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

12

Connection Hardware and Cable Assemblies

Communication Cables Description Part Number Connection 6’ RS-232 cable. C72-100S2F-09XDXF H1 header to female DB-9 6’ PS/2 cable C72-100S2F-XXXPXM H1 header to PS/2 plug 6’ USB cable C72-040S1F-04XAXM H3 header to USB type A plug 6’ RS-232 jumper cable C72-09XDXM-09XDXF Female DB-9 to Male DB-9 cable

Touch Screen Cables Description Part Number Connection 18” touch screen cable. C18-040S1F-040G1M Direct connect to H4-4 18” touch screen cable. C18-050S1F-050G1M Direct connect to H4-5 18” touch screen cable. C18-080S1F-080G1M Direct connect to H5

Power Cables Description Part Number Connection 20” power cable (wire lead) C20-020S1F-02xxxx H2 to wire lead. 20” power cable C20-020S1F-02xxxx H2 to 2 pos.100 socket

Mounting Hardware Do to the wide variety of mounting options available for the TSHARC. Please visit the RAF web site to review the available mounting hardware. http://www.rafhdwe.com/RAF_site/OnlineCatalog/EHCoverFrame.html

On Board Connector Specs Standard on board connectors: .100” .024” sq. post, with mating length of .230”, header reference part numbers and manufacturer. Sullins web site: www.digikey.com

Location Mfg Part number Brief description H4, H4-5, H5, Sullins PTC08DBAN .100” 2x8pos Rt Dual Row Hdr H1 Sullins PTC05DBAN .100” 2x5pos Rt Dual Row Hdr

H2, H3 Sullins PTC02SBAN .100” 2pos Rt Header *Other .100”, .024” square post headers may be specified. Contact Microchip for details.

Mating wire mount connectors (cable connections). Any industry standard, single and/or dual row, .100” socket may be used to connect to Microchip’s controller board’s .100” .024” sq post headers. Minimum mating length is .230” socket depth.

Page 13: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

13

Developed and Supported In-House All TSHARC touch screen controller products are designed to utilize Microchip TSHARC™ device drivers which are developed, supported and maintained in-house by Microchip engineers. Microchip Technology Inc. does not use third party technical resources to develop, support or maintain any of its software or hardware products.

Private Labeled Drivers Private labeled software and hardware licenses are available which may be used to enable various non-TSHARC communication protocols, special functions, application specific utilities or OEM contact information. Contact Microchip for details.

TSHARC™ Controller Chip Solutions Large volume OEM’s who have in-house electrical and software engineers on staff may purchase a Microchip “Chip Only” touch screen controller solution which may be integrated on to their main board. Technical documentation is available from Microchip Technology Inc. to assist you in correctly integrating a chip solution into your product. Please contact Microchip Technology Inc at (414) 355-4675 or www.microchip.com.

Support Services All TSHARC products are 100% developed and supported in house by Microchip technical staff. As a result we have included a broad range of support documentation at www.microchip.com including users and setup manuals, device drivers, driver manuals and other software. In addition we have an e-mail based support. You may contact us via e-mail at: http://support.microchip.com. In addition, Microchip also understands that there is often a need for “real time” technical support. Please contact Microchip via telephone at any point to discuss issues that you may have regarding our products. In the event that you need to contact us via telephone or via our support e-mail, please take a minute to identify these items prior to contacting Microchip technical support staff. 1) TSHARC controller part number 2) Information about TSHARC reseller if not purchased directly from Microchip 3) TSHARC chip revision, located on the top of each micro-controller chip 4) Touch Screen type and Manufacturer 5) Communication type 6) TSHARC™ driver and revision 7) Operating system and service pack releases 8) A brief summary of the problem that you are having

Page 14: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

14

Notes

Page 15: Setup and Users Manual - Microchip Technologyww1.microchip.com/downloads/en/DeviceDoc/04B_TSHARC_Octopus… · 2 Important Documents and User Information Use this document as a guide

15

Microchip Technology Inc. 9055 N. 51st Street, Suite H

Brown Deer, WI 53223 Main Phone: 414-355-4675 Main Fax: 414-355-4775

www.microchip.com

Microchip®, TSHARC™ and UniWinDriver™ are trademarks of Microchip Technology Inc. All rights reserved.