Home

TSC02 Touch Screen Controller Card

image

Contents

1. 6 Troubleshooting If the touch screen controller does not work please follow the checklist 1 2 3 4 Restart the computer in DOS only mode Set the baud rate MODE COM 1 9600 n 8 1 Start TCOM Use port and interrupt settings you think good Read back parameters by sending FO The touch screen should return something like 01 06 FO 06 OD 06 12 If you receive nothing then the touch screen controller is not connected to the serial line you try to use or uses a different IRQ If you receive 01 only then the touch screen controller is connected but uses different speed Interpret the returned command words 3F HIGH Min Max filter 4 wire interface Hi Lo filter ON filtering 32 5F 3 packet protocol 9600 baud touch mode Touch the screen and check the returned bytes If nothing happens then the touch screen is not connected properly Set touch mode 3 packet protocol and exit TCOM Start TDRAW and draw something nice It is normal that the used area does not fill the entire screen The screen may display mirrored image depending the connection method But if you draw a line on the touch screen then you should see a dotted line on the display screen If the touch screen works with TCOM and TDRAW but not in the environment you try to use it then the drivers are not installed properly Please refer to the driver documentation User s Manual Version 1 3 April 6 1999 13
2. 9600 If pin 12 is connected to GND then the default baud rate is 2400 3 7 Protocol Most programs uses the 3 packet protocol nowadays The default value is determined by the connection of pin 11 of the TSCO2 controller If pin 11 is connected to VCC then the default protocol is 3 packet f pin 11 is connected to GND then the default protocol is 5 packet 3 packet protocol also called new mode pen down code Bit 7 6 5 4 3 2 1 O Description Sync 1 1 X9 X8 X7 Y9 Y8 Y7 Packet 1 Data 0 X6 X5 X4 X2 Packet 2 Data 0 Y6 Y5 Ya Y2 Y1 YO Packet3 pen up code Bit 7 6 5 4 3 2 1 O Description Sync 1 X9 X8 X7 Y9 Y8 Y7 Packet 1 Data 0 X6 X5 X4 X2 XO Packet 2 Data 0 Y6 Y5 Ya Y2 Y1 YO Packet3 User s Manual Version 1 3 April 6 1999 9 5 packet protocol also called old mode pen down code Bit 7 6 5 4 3 2 1 O Description Sync 1 1 1 1 1 1 1 1 Packet 1 Data 0 0 0 0 0 0 X1 XO Packet 2 Data X9 X8 X7 X6 X5 X4 X3 X2 Packet3 Data 0 0 0 0 0 0 Yi YO Packet 4 Data Y9 Y8 Y7 YG Y5 Y4 Y2 Packet 5 pen up code Bit 7 6 5 4 3 2 1 O Description Sync 1 1 1 1 1 1 1 1 Packet 1 Data 1 1 1 1 1 1 1 0 Packet 2 Data 1 1 1 1 1 1 1 0 Packet 3 4 Communication The TSC02 communicates at 9600 baud 8 data bits 1 stop bit no parity format over the RS232 serial line Parameters can be set the following way 1 ADDEN 9 10 11 12 Send SOH code 01H Skip the echoed SOH code 01H Wait for
3. ACK code 06H If no ACK is received for 100 ms then the TSCO2 is not connected Within 100 ms send the command code Skip the echoed command code Wait for ACK code 06H If no ACK is received for 100 ms then the TSCO2 is not connected Within 100 ms send CR code Skip the echoed CR code ODH Wait for ACK code 06H If no ACK is received for 100 ms then the TSCO2 is not connected Please note that the RS232 transmit and receive lines are connected in a way that you receive every sent byte in the same time 10 TSCO2 Touch Screen Controller Card 4 1 Command word 00 Bit 7 6 5 4 3 2 1 O Description Filtering 0 0 0 0 4 Filtering 0 0 0 1 8 Filtering 0 0 1 0 16 Filtering 0 0 1 1 32 Hi Lo filter 0 0 0 Off Hi Lo filter 0 0 1 On Wires 0 0 0 0 7 Wires 0 0 0 1 5 Wires 0 0 1 0 8 Wires 0 0 1 1 4 Min Max 0 0 0 HIGH Min Max 0 0 1 LOW 4 2 Command word 01 Bit 7 6 5 4 3 2 1 O Description Mode 0 1 0 0 Reserved Mode 0 1 0 1 Untouch up Mode 0 1 1 0 Untouch down Mode 0 1 1 1 Touch Baud rate 0 1 0 0 Reserved Baud rate 0 1 0 1 2400 Baud rate 0 1 1 0 Reserved Baud rate 0 1 1 1 9600 Protocol 0 1 0 5 packet Protocol 0 1 1 3 packet Reserved 0 1 0 Reserved Reserved 0 1 1 Reserved 4 3 Read back The OFOH command requests parameter readback After acknowledging the command TSCO2 returns 3 bytes 1 Command word 0 Wires are set to the autodetected value 2 Command word 1 3
4. PROT Ree 12 SPEED IMHz EEO s xy vcc 4 95 vcc 14 EAS 5 NCC 14 m s 6 711 The heart of the TSCO2 is the microcontroller It handles the touch screen and communicates with the host computer 2 4 Power Supply Power supply is derived from the DTR and RTS line For normal operation DTR and RTS must be set to high The current required is 20mA VCC is 3 5 5V 6 TSCO2 Touch Screen Controller Card 2 5 Touch Screen Connector X i 1 2 4 C5 C6 CT C8 GND 10n 10n 10n 10n 10n The touch screen is connected to a pin header TSCO2 supports 4 and 5 wire touch screens The next picture shows the connection method Y Y X __ Front view 2 6 Default Configuration Jumpers Default configuration VEC AG MM T PROT 2 GND x 5 packet Protocol JP2 9600 MCC 1 SPEED 2 GND 38 2400 Baud rate The power up default configuration is determined by JP1 nad JP2 jumpers If the TSCO2 controller is integrated into the LCD these jumpers are usually hard wired User s Manual Version 1 3 April 6 1999 7 3 Parameters The operation of the TSCO02 is controlled by a set of parameter 3 1 Filtering The filtering option selects the number of samples the controller take at each point The average of these samples determine the touch position Higher value means lower speed but better accuracy Default value 32 3 2 Hi
5. Version number V1 3 is returned as 12H Additional bytes may be returned by future versions User s Manual Version 1 3 April 6 1999 11 5 Test programs Test programs are written for DOS Source code is also available 5 1 TCOM TCOM simply displays data received from the touch overlay in hex and text format It is also capable of sending data to touch overlay Any byte entered on the keyboard are sent to the touch controller as command code enclosed in SOH and CR The utility accesses the touch overlay controller directly without any drivers or filtering Usage TCOM A address l irq or TCOM n where address is the address of the serial line the touch overlay controller is connected to and irq is the interrupt request line number Standard COMn serial port can also be selected by n 5 2 TDRAW TDRAW interprets the coordinates and shows them graphically This utility accesses the touch overlay controller directly without any drivers or filtering This program requires a standard VGA card Usage TDRAW A address l irq or TDRAW n where address is the address of the serial line the touch overlay controller is connected to and irq is the interrupt request line number Standard COMn serial port can also be selected by n There is no way of calibrating the program It is normal that the area of the touch screen does not fill the entire screen TDRAW works in 3 packet mode only 12 TSCO2 Touch Screen Controller Card
6. Lo filtering Hi Lo filtering uses lower filtering value at high velocities and higher filtering value at low velocities It improves the overall performance of the controller Default ON 3 3 Number of wires TSCO2 currently supports only 4 wire touch screen interface If TSCO2 supports 5 7 and 8 wire interface in the future then automatic recognition will be used The command field that changes the number of wires is ignored 3 4 Min Max Min Max controls the sensitivity of TSC02 In high noise environment 5 02 works more reliably though less accurately if set to HIGH Default HIGH 3 5 Touch mode Touch mode A continuous stream of pen down codes is sent at touch down One pen up code at touch up This is the default mode Untouch up mode No code is sent at touch down One pen down and immediately one pen up code is sent at touch up Untouch down mode One pen down and immediately one pen up code is sent at touch down No code is sent at touch up 8 TSCO2 Touch Screen Controller Card 3 6 Baud rate TSCO2 supports two baud rates 2400 baud and 9600 baud however 2400 baud it works too slowly therefore it is not recommended Be careful when switching baud rate because the command is acknowledged at the old baud rate and only after that will the new baud rate be used The default value is determined by the connection of pin 12 of the TSCO2 controller If pin 12 is connected to VCC then the default baud rate is
7. TSCO2 Touch Screen Controller Card Contents GOntentEso e rei NUR RENE IRR SIG Nu ERI NEN ee eine 3 RENI iso TRUE LIE 4 2 Hardware Description 5 2 1 Serial Connector s sosmosssresserseereeerereererorrerser esse a en 5 2 2 ella Interact toric saa e doi D eto er LE a Le Dr 5 2 3 Mieroconttoll8E uds rera atat revenu ec ener ad exea d est 6 2 4 Power SUPPIY 22 ee REE E 6 2 5 Touch Screen sa aine na dere eremi Bere Qd edd d eie 7 2 6 Default Configuration 1 3 ParamMeterS s ssssssssnnsnnnnnnnnnnnn nns nns canteen tens E RR EE RAR C IS CE 8 8 1 FINENDO cota s AR SE c ad A Cae 8 ou AEO ter Ne rer re Ae ee CD LAM AL d 8 3 3 Number of Wires ceca teta ias tacta te as FOE ek 8 ou NIE nee ee 8 3 5 TOUS OCC sni n rn edat eee b etes beet bate dh eb den a bat er 8 316 JD SILIO TOLO ceste roa ver or ePi eee vere vere rei var vU Tine 9 el bk 01 10107 0 9 4 Communication DE vasa RR ARR 10 4 1 Command word 11 4 2 Command Word aniversario neh cbc cba 11 4 3 Read Back ador iu eo Dread rdi m Dra orent Rn ee 11 5 TESE DIOSEAIBS o ana RERUM DES SRM a ADR 12 BT AMOUR LIAE LIED DAD ALIA UI ULL 12 Lo fe ame D YANA a EDS 12 6 Troublesh
8. o ting uocis rimini mia he 13 User s Manual Version 1 3 April 6 1999 3 It is usually but available as a 6661 10 70 ed 7510 08 112991014 Lad 9gu cad pad cad JOA ATIN Toso 1980 ryd eva CV Iva ova TPS ELS MOURA 0000 1 4 L ZN TSCO2 Touch Screen Controller Card ion In ayes pneg 0077 0096 joyoed c yoyord 92 j19 UI 3 UI19AUI 10 99A 91 OT T A 199000 uoneinSguoo Introduct 1 TSCO2 is a high speed single chip touch screen controller integrated into the LCD controller card or to the LCD itself stand alone evaluation card too This manual explains the connection and working of the stand alone card 2 Hardware Description 2 1 Serial Connector TSCO2 is connected to the RS232 interface by a standard 9 pin D type connector Only the RXD and TXD lines are used for communication DTR is used for power supply generation 2 2 Serial Interface DTR Connect U1 10 to VCC for inverting interface 100k The serial interface is a simple level shifter circuit similar to those used in mice The microcontroller can use either normal or inverted signals Connect U1 10 to VCC if you are using a true inverting RS232 driver IC User s Manual Version 1 3 April 6 1999 5 2 3 Microcontroller Ul E ph nn 2 L RAD RBI L RA RB Cl RB3 L 3 10 GND I 10 _ 11

Download Pdf Manuals

image

Related Search

Related Contents

サイドステップ  施工・取扱説明書(PDF  ONKYO DS-A3  www.ronda-startech.com  Samsung SGH-C170 Korisničko uputstvo  WWF - « Du bio à la cantine, mode d`emploi »  型式区分内名称の追加届出書    scarica il manuale - K  Soudage de l`aluminium  

Copyright © All rights reserved.
Failed to retrieve file