®TMSmartSetTouchscreen Controller FamilyTechnical Reference ManualManual Version 1.0
90 Chapter 6 - Command ReferenceMode ('M','m')Function: Sets the various operating modes of the controller.The Mode command offers
Command Descriptions 917 Reserved Always 1. Reserved for Z-axis Disable.The Mode2 byte has the following bit positions:Bit Function Description0 Reser
92 Chapter 6 - Command Referenceis set below the natural variation ofcoordinates for a constant touch. TrackingMode requires Stream Mode (bit 1 of Mod
Command Descriptions 93Nonvolatile RAM ('N')Function: Saves/restores controller settings in the on-board nonvolatilememory (NVRAM). NVRAM ca
94 Chapter 6 - Command ReferenceOwner ('o')Function: Reserved for identifying custom firmware.The factory default value is shown above.
Command Descriptions 95Parameter ('P','p')Function: Changes controller communication parameters.When the parameters are set with t
96 Chapter 6 - Command Reference1 1 = Software Handshaking enabled2 1 = Hardware Handshaking enabled3 1 = Invert Hardware Handshaking4 Reserved5 Reser
Command Descriptions 97Hardware Handshaking BitIf the Hardware Handshaking Bit is 1, the controller will support hardwarehandshake signals typically i
98 Chapter 6 - Command ReferenceQuiet ('Q','q')Function: Used to enable/disable automatic reporting of certain types ofinformation
Command Descriptions 99Reset ('R')Function: Performs a soft or hard reset of the controller.This command is used to reset the touchscreen co
111Introduction• SmartSet Controllers and Features 1• Theory of Operation 3• About this Manual 6The SmartSet™ controller family is designed for use
100 Chapter 6 - Command ReferenceScaling ('S','s')Function: Provides access to the on-board coordinate scaling facilities of theco
Command Descriptions 101Z-Axis ScalingZ-axis scaling is typically not required as no Z data is available with resistivetouchscreens. The controller de
102 Chapter 6 - Command ReferenceTouch ('t')On serial controllers, the response may be altered if Partial Emulation is selectedwith the Emul
Command Descriptions 1037 Reserved Always 0. Reserved for Z-axis Valid. If 1, theZ coordinate is measured, not simulated atthe maximum value.
105Appendix Appendix AAOptional Software Protocols• E271-2200 and E271-2210 Controllers 105• E271-2201 Controller 112E271-2200 AND E271-2210 CONTRO
106 Appendix Error! Main Document Only.Error! Main Document Only.6 - OptionalSoftware ProtocolsThe controllers may also be programmed through software
E271-2200 and E271-2210 Controllers 1074 0 0 Y5 Y4 Y3 Y2 Y1 Y0Z-Data Enabled (E281A-4002 Mode) J2-N, J10-N, J11-Y; 0/1,6Byte MSB LSB1 1 1 X11 X10 X9 X
108 Appendix Error! Main Document Only.Error! Main Document Only.6 - OptionalSoftware ProtocolsE261-280 EmulationOutput FormatsThe E271-2200 and E271-
E271-2200 and E271-2210 Controllers 10940 Invert x axis80 Invert y axisC0 DefaultBYTE2Bit Hex Description0-5 00-3F Data format code6 & 7 00 Reserv
2 Chapter 1 - Introduction• High speed -- can transmit over 200 coordinates per second.• Bi-directional communication with acknowledgements.• Sophisti
110 Appendix Error! Main Document Only.Error! Main Document Only.6 - OptionalSoftware Protocols280 V5.0 #2200<CR><LF>For normal operation,
E271-2200 and E271-2210 Controllers 111In mode 00, the controller transmits a single coordinate only upon firsttouch in ASCII hex format. Seven ASCII
112 Appendix Error! Main Document Only.Error! Main Document Only.6 - OptionalSoftware ProtocolsMode 06 is like mode 00 in that only a single coordinat
E271-2201 Controller 113from the Base I/O Port address as selected by jumpers J0 and J1 (see Selecting theBase I/O Port, page 18). The functions and f
114 Appendix Error! Main Document Only.Error! Main Document Only.6 - OptionalSoftware ProtocolsPolled vs. Interrupt ModeThe host processing can be per
E271-2201 Controller 115X=1440 Y=1120X=1424 Y=1136X=1408 Y=1120X=1408 Y=1136X=1424 Y=1152And here is the program:/************************************
116 Appendix Error! Main Document Only.Error! Main Document Only.6 - OptionalSoftware Protocols do ; while ((inp(BASEPORT+2) & 0x40) == 0x4
117Appendix Appendix BBCalibration and Scaling AlgorithmsTypically, SmartSet controllers are setup through software and/or NVRAM tosupply the host wit
118 Appendix Error! Main Document Only.Error! Main Document Only.6 - Calibrationand Scaling AlgorithmsThe screen coordinates in our example will be fr
E271-2201 Controller 119X-axis for example, just specify a Sxhigh that is less than Sxlow, such as 80 to1.4. If you prefer the default origin in the l
Theory of Operation 3• Smaller footprint: 3.3" x 2.1".• Maximum baud rate is 19.2K.• Lower power requirements: 55ma @ +5Vdc ±10% standby, 16
121Appendix Appendix CCSpecifications• E271-2200 and E271-2210 Controllers 121• E271-2201 and E271-2202 Controllers 125The controller specifications
122 Appendix Error! Main Document Only.Error! Main Document Only.6 - SpecificationsInterfaceEIA 232D (Serial RS-232), DCE configuration. 7-8 Data Bits
E271-2200 and E271-2210 Controllers 123EnvironmentalTemperatureOperating: 0°C to 70°C. (Verified for E271-2200 only.)Storage: -25°C to 85°C.HumidityOp
124 Appendix Error! Main Document Only.Error! Main Document Only.6 - SpecificationsTouchscreen ConnectorAccuTouch - 5-position 0.025" square pin
E271-2201 and E271-2202 Controllers 125E271-2201 AND E271-2202 CONTROLLERSElectricalMicroprocessor-based with an on-chip successive approximation A/D
126 Appendix Error! Main Document Only.Error! Main Document Only.6 - SpecificationsConversion TimeTypically 20 ms as shipped (no scaling). 5 ms possib
E271-2201 and E271-2202 Controllers 127Power ConnectorDraws power directly from the bus.Data Output ConnectorOutputs data directly to the bus.Agency A
4 Chapter 1 - IntroductionThe AccuTouch TouchscreenThe AccuTouch Model E274 touchscreen consists of a glass panel formed tomatch the shape of the unde
Theory of Operation 52. The microprocessor places the X drive voltage on the touchscreen by applying+5V to Pins H and X and grounding Pins Y and L.3.
6 Chapter 1 - IntroductionABOUT THIS MANUALThis manual provides technical information on the Elo SmartSet controller family.Details are given in this
722Controller Jumper Settings• General Information 7• E271-2200 Serial Controller 10• E271-2210 Serial Controller 12• E271-2201 PC-Bus Controller
8 Chapter 2 - Controller Jumper Settingspower-on configuration, and then software used to adjust parameters at any time.A DOS software setup utility i
General Information 9Proceed to the page shown for your controller:E271-2200 Serial Controller page 10E271-2210 Serial Controller page 12E271-2201 PC-
10 Chapter 2 - Controller Jumper SettingsE271-2200 SERIAL CONTROLLERThe following figure shows the mounting dimensions, jumper locations,connections,
E271-2200 Serial Controller 119600 J1-NJ0-N2400 J1-NJ0-Y1200 J1-YJ0-N300 J1-YJ0-Y19200 Cross connect (connect jumpervertically so the left pins of J0
12 Chapter 2 - Controller Jumper SettingsE271-2210 SERIAL CONTROLLERThe following figure shows the mounting dimensions, jumper locations,connections,
E271-2210 Serial Controller 13ModeStream J4-NSingle-Point J4-YReserved J5-NReserved J6-NPower-On SettingsJumpers J7-YNVRAM J7-NReserved J8-NReserved J
14 Chapter 2 - Controller Jumper SettingsSelecting the Data Transmission RateThe E271-2200 and E271-2210 communicate with the host computer through as
E271-2210 Serial Controller 15Hardware HandshakingE271-2200 and E271-2210 controllers support hardware handshaking. Jumper J3is used to enable or disa
16 Chapter 2 - Controller Jumper SettingsEmulation ModeIf you are using driver software that does not directly support the SmartSetprotocol, the E271-
E271-2201 PC-Bus Controller 17E271-2201 PC-BUS CONTROLLERThe following figure shows the dimensions, jumper locations, connections, andpinouts for the
18 Chapter 2 - Controller Jumper SettingsIRQ5 J3-NJ2-YIRQ7 Cross-connect (connect jumpervertically so the left pins of J2 and J3are jumpered)Base Port
E271-2201 PC-Bus Controller 19Selecting the Interrupt (IRQ)The E271-2201 may be operated in either Polled or Interrupt Mode. In InterruptMode, the con
SmartSet™Touchscreen Controller FamilyTechnical Reference ManualManual Version 1.0Copyright © 1993byElo TouchSystems, Inc.6500 Kaiser DriveFremont, CA
20 Chapter 2 - Controller Jumper SettingsChoosing Single-Point or Stream ModesJumper J4 selects Single-Point or Stream Mode on all SmartSet controller
E271-2201 PC-Bus Controller 21None (SmartSet Mode) not installed (shipped setting)E271-141 installed8- and 12-Bit ModesWhen E271-141 emulation mode is
22 Chapter 2 - Controller Jumper SettingsE271-2202 MICRO CHANNEL CONTROLLERThe following figure shows the dimensions, jumper locations, connections, a
E271-2202 Micro Channel Controller 23Selecting the Base I/O PortThe E271-2202 uses eight consecutive I/O ports. The Base I/O Port is determinedby runn
24 Chapter 2 - Controller Jumper SettingsSelecting the Touchscreen TypeThe E271-2202 controller is shipped with jumper J5 installed for E274 AccuTouch
2533Installation and Connections• E271-2200 and E271-2210 Serial Controllers 26• E271-2201 PC-Bus Controller 30• E271-2202 Micro Channel Controller
26 Chapter 3 - Installation and ConnectionsE271-2200 AND E271-2210 SERIAL CONTROLLERSSerial Controller InstallationThis section assumes you are integr
E271-2200 and E271-2210 Serial Controllers 27You may provide a suitable power supply and cabling, or Elo can provide them.See the AccuTouch Product Ma
28 Chapter 3 - Installation and Connections 9 7 5 3 1ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿³ · · · · · ³³ · · · · ³ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 10 8 6 4 2Figure 3-
E271-2200 and E271-2210 Serial Controllers 29For more information on transient protection, see the AccuTouch Product Manual. H X S Y LÚÄÄÄÄÄÄÄÄÄÄÄ
iiTrademark AcknowledgementsIntelliTouch, AccuTouch, and MonitorMouse are registered trademarks, and ELODEV, TouchUp, TouchBack, andSmartSet are trade
30 Chapter 3 - Installation and ConnectionsE271-2201 PC-BUS CONTROLLERE271-2201 InstallationFollow these steps to install the E271-2201 controller:1.
E271-2201 PC-Bus Controller 31E271-2201 ConnectionsAccuTouchThe AccuTouch touchscreen typically has a 30 inch cable terminated with a 1x5female connec
32 Chapter 3 - Installation and ConnectionsE271-2202 MICRO CHANNEL CONTROLLERE271-2202 Installation1. Copy the file @6253.ADF from the ELODEV User&apo
Diagnostic LEDs 33DIAGNOSTIC LEDSE271-2200, E271-2201, and E271-2202 ControllersThe E271-2200, E271-2201, and E271-2202 controllers have three diagnos
3544SmartSet Tutorial• Introduction to the SMARTSET Program 35• Running SMARTSET 36• Sample SMARTSET Session 39This chapter will introduce some of
36 Chapter 4 - SmartSet TutorialSMARTSET is useful to driver writers in the following ways:• SMARTSET can be used to experiment with the functionality
Running SMARTSET 37Elo TouchSystems SmartSet(tm) Series Setup Utility Ver. 1.2Select Interface TypeSerialPC-BusEnter Base I/O Port address in hex ([En
38 Chapter 4 - SmartSet Tutorialcommunicating with a connected controller. The communication status maychange if communication parameters are changed.
Sample SMARTSET Session 39points), or combinations of these. Touch coordinates maybe trimmed and scaled to specified ranges.Touch Reporting Used to se
iii(f) Buyer assumes the risk and agrees to indemnify Seller against and hold Seller harmless from all liability relating to (i)assessing the suitabil
40 Chapter 4 - SmartSet TutorialEnabling Touch ReportingFirst confirm touch reporting is enabled by pressing "P" for the "Touch Reporti
Sample SMARTSET Session 41Besides the differences in touchscreens and controllers, calibration alsocompensates for the variation in video image among
42 Chapter 4 - SmartSet TutorialFigure 4-5.Calibration Point CoordinatesWe will now use the on-board calibration and scaling features of the SmartSetc
Sample SMARTSET Session 43The calibration routine used by SMARTSET lets you select a video modesupported by your display before you calibrate. As the
44 Chapter 4 - SmartSet Tutorial4095. For our example, we will want coordinates scaled to values of 1 to 80horizontally and 1 to 25 vertically.Select
Sample SMARTSET Session 45Before we demonstrate restoring the settings from disk, let's change the settings byusing the Reset command to restore
46 Chapter 4 - SmartSet TutorialWHERE TO GO FROM HEREFrom the Main Menu, type "R" and select Soft Reset to restore the default settingsof th
4755Software Interface• Packet Structure 47• Interface Specifics 51• Sample Driver Code 57This chapter describes the communication between the host
48 Chapter 5 - Software InterfaceCommands and ResponsesThe first byte of each packet is the command byte, and the seven remaining bytesare the data by
Packet Structure 49Commands and AcknowledgementsEach command sent to a SmartSet controller is confirmed by an Acknowledgeresponse. This response packe
ivPERFORMANCE OF THE SOFTWARE AND ANY FURTHER PROGRAMS OR WRITTEN MATERIALSDEVELOPED UTILIZING THESE MATERIALS IS ASSUMED BY YOU.Elo warrants only tha
50 Chapter 5 - Software Interface Press [ESC] to get back to Main Menu. 1) Enter any ASCII character from the keyboard. (ex
Interface Specifics 51that SMARTSET reflects the changes you made manually in ASCII Setup. Whenwriting a driver, the SMARTSET utility is valuable for
52 Chapter 5 - Software InterfaceChecksum byte = <AAh> + <Lead in byte> + <8 Data bytes>where the addition is performed with 8-bit u
Interface Specifics 53The Lead In byte of an extended packet is an ASCII Control-V character (16h).The host can check for either a 'U' or ^V
54 Chapter 5 - Software Interfacehas processed the command and is ready to receive another, indicated by when itasserts CTS.The host should assert RTS
Interface Specifics 55Bus ControllersThe PC-Bus and Micro Channel SmartSet controllers use read/write I/O ports forcommunicating the eight-byte packet
56 Chapter 5 - Software InterfaceInterrupt ModeIf Interrupt Mode is enabled either by jumpers or software setup, the controllerasserts the selected IR
Sample Driver Code 57for the E271-2202 controller and other adapters. See E271-2202 Installation,page 32, for more information.SAMPLE DRIVER CODEThe r
58 Chapter 5 - Software InterfaceExample1 - Display Controller Defaults and Raw Touch CoordinatesEXAMPLE1.C polls Elo SmartSet touchscreen controllers
Sample Driver Code 59 return(0);}void displayjumpers(void){ int i; packettype id,owner,jumpers; printf("ID:\n"); id[0] = 'i';
60 Chapter 5 - Software InterfaceExample2 - Calibrate and Finger PaintEXAMPLE2.C also polls Elo SmartSet touchscreen controllers. The controller isfir
Sample Driver Code 61 * * * * * * * *
62 Chapter 5 - Software Interface packet[0] = 'S'; packet[1] = 'X'; p = (unsigned *)packet; *++p = 1; *++p = 80; *++p = 0; setco
Sample Driver Code 63 /* these variables now contain the raw coordinates the controller would output for the extremes of the video image */ /* d
64 Chapter 5 - Software InterfacePACKET.C - Interface-Independent Driver CodeThe following code implements high-level functions querycommand() andsetc
Sample Driver Code 65/* if (diags[1] == 0x20) printf("Warning touchscreen may not be connected.\n"); else */ if (diags[1] != 0) {
66 Chapter 5 - Software InterfaceSERIAL.C - Machine-Independent Serial Driver CodeThe following machine-independent code implements the getpacket() an
Sample Driver Code 67 if (!getanypacketserial(packet)) return(FALSE); if (p == *packet) return(TRUE); }}boolean getanypacketser
68 Chapter 5 - Software InterfaceBUS.C - PC-Bus and Micro Channel Driver CodeThe following machine-dependent code implements the getpacket() andsendpa
Sample Driver Code 69 packettype garbage; do { if (getanypacketbus(garbage)) count ; else return(OK); } while (count > 0)
viContentsIntroduction... 1About this Manual...
70 Chapter 5 - Software Interface union REGS regs; regs.x.ax = 0xc400; int86(0x15,®s,®s); posbase = regs.x.dx; for (i=1; i<9; i+
7166Command Reference• Introduction 71• Command Descriptions 72INTRODUCTIONTermsThe following is a glossary of basic terms as they are applied in th
72 Chapter 6 - Command Referenceto 32767. The bytes are ordered in Intel format, with theleast significant byte (low order 8 bits) being first.word A
Command Descriptions 73Acknowledge ('a')Function: Verifies that a command was received by the controller and noerrors are pending.0 1 2 3 4
74 Chapter 6 - Command Reference'@' 40h Reserved'A' 41h No set available for this command'B' 42h Unsupported in the firm
Command Descriptions 75Report ('B','b')Function: Controls the timing characteristics of touch packet reporting.0 1 2 3 4 5 6 7Quer
76 Chapter 6 - Command ReferenceCalibration ('C','c')Function: Provides access to the on-board calibration facilities of thecontro
Command Descriptions 77AXIS specifies the coordinate axis to calibrate by using upper-case ASCIIcharacters 'X','Y', or 'Z&apo
78 Chapter 6 - Command Referencecontroller. This will interrupt the sequence and an Acknowledge packet will bereturned with a "calibration termin
Command Descriptions 79Diagnostics ('D','d')Function: Runs the controller's on-board diagnostic routines, or queries theresul
vii
80 Chapter 6 - Command ReferenceEmulate ('E','e') - Serial Controllers OnlyFunction: Changes the output format of touch coordinate
Command Descriptions 81'1' '1' E271-140 ASCII (Appends 'T' or 'U') 117'1' '2' E261-280 Bin
82 Chapter 6 - Command ReferenceFilter ('F','f')Function: Used to control various aspects of the firmware filtering algorithmsused
Command Descriptions 83Configuration ('g')Function: Requests a complete dump of the controller's configuration forsaving and restoring
84 Chapter 6 - Command ReferenceTimer ('H','h')Function: Controls the User Timer functions of the controller.Enable is a byte valu
Command Descriptions 85ID ('i')Function: Provides various information about the controller and touchscreen.The Type byte indicates the touch
86 Chapter 6 - Command ReferenceJumpers ('j')Function: Returns the jumper settings on the controller.The Type byte indicates the touchscreen
Command Descriptions 873 24004 48005 96006 192007 38400Serial controllers are shipped jumpered for 9600 baud. The values for the S1 bytecorrespond to
88 Chapter 6 - Command ReferenceKey ('K','k') - Serial Controllers OnlyFunction: Used to set or query the Key Byte value. The Key
Command Descriptions 89Low Power ('L','l')Function: Controls the Low Power Mode of the controller.During times when processing in
Komentarze do niniejszej Instrukcji