Lumio Release Note Lumio Multi-Touch Communication Protocol

Similar documents
Hello Angles... A First Use Guide to the VS Product Series: RS232 Interface with LD Standard Communication Protocol & Analogue 4-20mA Output Signals.

RS232/TTL Modem Interface Data Sheet Product Specifications and Performance

Doug Fleenor Design, Inc. RS-232 to DMX512 Interface, 2 Generation. March 8, 2010 (Software V1.2)

BLE232: Manual Copyright 2014 taskit GmbH

PCIe Card Selection Guide. PCIe-CAN Card. PCIe-COM Card. Taiwan Pulse Motion Co.,Ltd. Bus Interface PCI Express x 1 LPE-C122 PCE-C122D PCE-C122T

CLOCKAUDIO. MR88 Automatic Microphone Mixer RS232 Programming Version 4.2

Intelligent Devices IDI 1100 Series Technical Manual

Metasys Integrator GE Lighting Application

Appendix A Cable Pinouts

Crystal Touch Dual Sensor Optical Touch Screen Specifications For 65 Monitors with USB Interfaces Version A0 February 2012

emu - Mains Distribution Unit

Cable Pinouts. SRP I/O Module

+ (5~27 VDC) GND. Bluetooth V4.2 BLE RS-232 Serial Adapter. Model: BLE-232D-E. 1. Package content: BLE RS-232 adapter

CDN503 HIGH DENSITY I/O ADAPTER USER GUIDE

TABLE OF CONTENTS 2/10

CDN502 HIGH DENSITY I/O ADAPTER USER GUIDE

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

USB-ASC232. ASCII RS-232 Controlled USB Keyboard and Mouse Cable. User Manual

BV4531U. I2C or Serial 6 Way Relay

The Analyst. RS422/RS232 Tester. (Standard Model) User Manual

Select a Data Communication Interface

melabs Serial LCD Firmware Version 1.1 3/5/07

ambient XC RS232 Control Command Specification

This 4-port RS-422/485 Adapter is provided with an external switching power adapter in the package.

Quick Start Reference Sheet Toshiba TLP-T720 Revision A. I. Driver Features. II. Wiring Specifications. III. Additional Notes

LM048 Bluetooth v2.0, v2.1 RS232 Serial Adapter Standalone (With Embedded Bluetooth v2.0 / v2.1 Stack)

Wiring Section 3-3. NQ-Series communication ports support various types of (serial) communication.

LM058 Bluetooth v2.0, v2.1 RS232 Serial Adapter - SMA Connector Standalone (With Embedded Bluetooth v2.0 / v2.1 Stack)

MetOne Particle Counter

+ (5~27 VDC) GND. Bluetooth V4.1 BLE RS-232 Serial Adapter. Model: BLE-232B. 1. Package content: BLE RS-232 adapter

Product Manual. USB to Optical Adapter Industrial Isolated RS- 232/422/485. Coolgear, Inc. Version 2.1 December 2018 Model Number: USB-COMi-Si-M

HP 48 I/O Technical Interfacing Guide

DELPHI CORPORATION. LIN to RS-232 Gateway Systems Analysis INterface Tool (SAINT) Users Guide

RS 232 PINOUTS. 1. We use RJ12 for all of our RS232 interfaces (Link-2-Modbus & Link-2-PC- Serial/RS232). The diagram below shows our pin out.

Bar Code Scanner Specifications for XL200 Controllers

USB to RS-232/RS422/485. US-101-I USB To Serial Operation Manual

RS 232 Interface. RS 232 is the Serial interface on the PC. Three major wires for the Serial interface: Transmit Pin 2 Receive Pin 3

Metasys Integrator Allen-Bradley Custom Application

LM068 Bluetooth v4.1 Dual Mode RS232 Serial Adapter Standalone (With Embedded Bluetooth v4.1 Stack)

CONNECTION TO A HOST COMPUTER

PIC-I/O Multifunction I/O Controller

Getting started with your DGH module:

USB-1. USB-Compatible Interface for the Persistor CF-1. Oceanographic Embedded Systems NE Seavy Ave. Corvallis, OR

PCI Express 4-Port Industrial Serial I/O Cards

Addmaster Corporation

DN120 DeviceNet Gateway User Manual

NITGEN FIM50 Series. Datasheet FIM50N. Version Stand-Alone Fingerprint Identification Device with Built-in CPU. Standalone with built-in CPU

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm.

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm )

BOARD LEVEL PRODUCTS GPIB<->RS-422/RS-485 INTERFACE BOARD

ICP PANEL-TEC PEX3000 II

MF1-RW-TTL-PCB Mhz Mifare ISO14443A reader/writer module with TTL interface CONTENT 1. MAIN FEATURES...,, PINNING INFORMATION...

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

USB to RS-232/RS422/485. URK-228-I USB To Serial Operation Manual

FEC-240G. Rev. Date

LM058 Bluetooth Serial Adapter SMA Antenna 100m m Range SPP GAP + Wireless DTR DSR RTS CTS

VS-626M5 Parameter Upload/Download Software User s Manual (Preliminary) 5/18/99

IML 560 USER GUIDE. Low Power 56Kbps Industrial modem. Version 1.2. December 6, AYANTRA Inc.

Installation and Programming Manual

Planar Simplicity Series

Device: MOD This document Version: 1.0. Matches module version: v3 [29 June 2016] Date: 23 October 2017

PCI-SIO4B Quad Channel High Performance Serial I/O PCI CARD With up to 256Kbytes of FIFO buffering and Multiple Serial Protocols

ELAN DIGITAL SYSTEMS LTD. SL332 PC- CARD USER S GUIDE

SeaLINK+16.VC User Manual Part Number 2167

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

Message Display Operator Panel. UCT-33/36 Industrial Terminal. Manual 32.00

GEA M6425 IB Main Board. Cable Map Manual

Metasys Integrator United Power Application

AudioReQuest Crestron XY Touch Screen Guide Version 1.0.0

OEM API Specification

melabs Serial LCD Firmware Version 1.0 2/7/07

Specification. Current Consumption Range 8m * Rotational Angle +/- 50 degrees * Shear Angle +/- 40 degrees *

ELAN DIGITAL SYSTEMS LTD.

I/O Interface DNA300

RS-232 to Logic Level Adapter with DB9M Connector and Power LED

Installation and Programming Manual. Niobrara Research & Development Corporation P.O. Box 3418 Joplin, MO USA

Communication of passive RFID Reader and. FOX3-2G/3G/4G series via RS-232 serial link. and its use to identify RFID tags in

IR Manager Just Add Power HD over IP Page 1 IR MANAGER. Revised

MUCM ModLon Gateway. Installation and Programming Manual

TRP-C08. USB to RS232/422/485 Isolated Converter. User s Manual. Printed Sep.2014 Rev 1.4

Product Manual. 2 Port USB to RS-422 /485 Optical Isolated Adapter. Coolgear, Inc. Version 1.1 March 2018 Model Number: USB-2COMi-Si-M

Application Note BDLxxxx RS232 SERIAL INTERFACE COMMUNICATION PROTOCOL (SICP V1.82)

PCI Express 16-Port Serial I/O Cards

Flex Series User Guide

Driver Manual. FS CEI-ABI Protocol Driver for EN.54 Exchanges

Hardware Manual PCMCIA DUAL RS EDITION MAY 1999

AN434: CP2110/4 Interface Specification

USB-16COMi-M 16-Port RS-422/485 USB Serial Adapter User Manual. Features and Specifications. Power Supply

BMV Text Protocol. Table of contents

SECTION 5 SMART PAYOUT MANUAL SET SOFTWARE IMPLEMENTATION GUIDE

Low-Power-Radio Transceiver IC

Table 8 shows the pin configuration and function of a standard computer-to-printer parallel cable. Table 8 Parallel Cable Pin Configuration

Tank Fluid Monitor 905-D6 WITS OPTION COMMUNICATION BOARD MANUAL IMPORTANT OPERATOR INFORMATION

Up to three (3) RIO-RS232 modules may be attached to one RIO-PBA Profibus adapter.

1. Overview Technical Specifications Applications Pin Description Connection Diagram of RS 485 / 422 Converter...

DEVELOPER FRIENDLY USB: A detailed look at how easily a USB-based device can be developed

USER GUIDE. to the CP130. Thermal Printer

Forcom Technology Co., Ltd. Intelligent RS-485/422 to RS-232 converter

Serial Bluetooth Smart Adapter - RS232, Low Energy 4.2 BLE Datasheet and Quick Reference for USBLE232C

3.1 I-7560 Pin Assignment and Specifications: Introduction

Transcription:

Lumio Release Note Lumio Multi-Touch Communication Protocol Note Number RN00009 - Revision A0 Release Date Product Lumio Crystal Touch PCB Controller Abstract This note describes the Lumio Multi Touch communication protocol between the Lumio Crystal Touch PCB Controller and a 3rd party multi touch application Contents General....................................................... 2 Definitions..................................................... 2 System Interface Setup........................................... 2 Compatibility................................................... 2 Hardware Interface.............................................. 3 USB Hardware Interface........................................ 3 Serial Hardware Interface....................................... 3 Mapping the Serial Connector to the Serial Cable.................. 3 Software Interfaces.............................................. 5 USB Software Interface........................................ 5 Detecting Lumio Devices..................................... 5 USB Messages............................................ 5 Message Checksum........................................ 5 Incoming Data............................................. 5 Serial Software Interface........................................ 6 Message Structure.............................................. 7 Message Structure......................................... 8 Multiple Touch Event Associated Data.......................... 8 Touch Event Packet in a Multi Touch Event Message............... 8 6355 Topanga Blvd. #335, Woodland Hills, CA 91367, USA Information herein is proprietary information and trade secrets of Lumio Inc. Copyright 2011 Lumio Inc. All rights reserved. 1 of 9

General This document describes the Lumio Multi touch communication protocol between the Lumio Crystal Touch PCB Controller and a 3rd party multi touch application. Definitions The following definitions apply to this document: Table 1: Definitions Term Lumio Crystal Touch PCB Controller Client Conventional Firmware (Dual sensor firmware) Multi User Firmware (Quad sensor firmware) Definition The Crystal Touch PCB Controller (hereafter: Crystal Touch Controller ) is responsible for managing and reporting one or more simultaneous XY touch events The client is a 3rd party multi touch application that responds to the XY events sent by the Crystal Touch Controller Crystal Touch PCB Controller that supports 1 or 2 touches Crystal Touch PCB Controller that supports up to 4 touches System Interface Setup The direct interface between the Crystal Touch Controller and the Client is configured in either of the following manners: USB connection: The Client communicates with the Crystal Touch Controller via a USB connection Serial connection: The Client communicates with the Crystal Touch Controller via a Serial (RS-232) connection IMPORTANT : Please ensure that the PCB Controller that you have ordered, or is in your possession, is compatible to the application interface (USB / Serial). Compatibility The following table describes the compatibility between the Lumio protocol and the available Lumio Firmware versions. Table 2: Compatibility Table Firmware Conventional Firmware (Dual sensor firmware) Multi User Firmware (Quad sensor firmware) Version v 1.2.6.0 and up v 2.1.9.0 and up General 2 of 9

Hardware Interface The following hardware interfaces are available for Crystal Touch Controllers: USB interfaces Serial interfaces USB Hardware Interface All Crystal Touch Controllers are equipped with USB interfaces. The Crystal Touch Controller USB interface includes the following properties: Table 3: USB Interface Properties Property USB interface v2.0 Setting Serial Hardware Interface Not all Crystal Touch Controllers are equipped with serial interfaces. Only the Tx, Rx and Gnd pinouts are required for serial interface communication. The signal voltage level for serial interface communication is: RS232-6v to +6v. Mapping the Serial Connector to the Serial Cable The following section describes how to map the serial connection between the serial cable and the Crystal Touch Controller. Serial Connector Properties The serial connector reference number is JP4. The Pinout properties of the serial connector are displayed in the following table. Hardware Interface 3 of 9

Table 4: : Serial Connector Pinout Properties Pinout of JP4 Signal description Connectivity to female DB9 connector Connectivity to male DB9 connector Pin 1 (square) GND Pin 5 Pin 5 Pin 2 Controller receive from PC Pin 3 Pin 2 Pin 3 Controller receive from PC Pin 2 Pin 3 The following diagrams display serial male and female cable connections. Figure 1 Serial Male and Female Connections Hardware Interface 4 of 9

Software Interfaces The following software interfaces are available for Crystal Touch Controllers: USB Software Interface on page 5 Serial Software Interface on page 6 USB Software Interface This section includes: Detecting Lumio Devices on page 5 USB Messages on page 5 Message Checksum on page 5 Incoming Data on page 5 Detecting Lumio Devices Lumio firmware is identified according to its features. Currently the Lumio firmware identification is as follows. Table 5: Lumio Firmware Identification Firmware Package Conventional Firmware Multi user Firmware USB Messages 0x202E/0x0007 0x202E/0x0006 Vendor ID / USB PID All USB messages are 64 bytes long. Therefore a message sent to the Crystal Touch Controller must be configured in a 64-byte buffer, initially set to zero. Message Checksum No checksum processing is performed when interfacing via a USB connection, due to the layer of USB message validity checking at the application layer. The checksum byte appears in the protocol, but will not appear in incoming messages, as its inclusion in sent messages is not required. Incoming Data Once a connection is established, the Client receives all events, in the form of a Multiple Touch Event Message (USN:0x44), from the Crystal Touch Controller. Events are received upon detecting a change of state on the Crystal Touch Panel (that is, Touch Down, Move or Up). Software Interfaces 5 of 9

The Crystal Touch Controller does not provide handshaking, polling or error recovery. Therefore it is the responsibility of the Client to read the data, and buffer if required. NOTE: All coordinates and widths are in the 0-4095 sensor pixel range, which must be mapped to the screen resolution prior to display and/or processing. Serial Software Interface Configure the Crystal Touch Controller serial connection properties as displayed in the following table: Table 6: Serial Interface Connection Properties Property Start bit 1 Data bits 8 Stop bit 1 Hardware controls (CTS, RTS) None Baud rate 115,220 Parity None Flow Control (X-on / X-off) Off Setting Once a connection has been established, all events, in the form of a Multiple Touch Event Message (USN:0x44) will be received by the application. Events are received upon detecting a change of state on the Crystal Touch Panel (that is, Touch Down, Move or Up). The Crystal Touch Controller does not provide handshaking, polling or error recovery. Therefore it is the responsibility of the Client to read the data, and buffer if required. Message validation is provided by a checksum that appears at the end of each message. NOTE: All coordinates and widths are in the 0-4095 sensor pixel range, which must be mapped to the screen resolution prior to display and/or processing. Software Interfaces 6 of 9

Message Structure The message structure between the Client and Crystal Touch Controller in both directions (input and output), is divided into segments, as displayed in the following table. Table 7: Serial Interface Connection Properties Property Header Unique Service number (USN) Data Length Data Sector Checksum (SC) Setting The Header is a fixed byte 0 x7f The USN describes the service requested / type of command, for example a message concerning a touch event The number of Bytes in the following Data segment Contains the contents of the message. Parsing of the message depends on the service number The checksum of the whole message, including header, USN, length and data (summation of unsigned chars for the entire message). Note: The checksum is required and available only in serial interface. Table 8: Multiple Touch Event Message (USN:0x44) A multiple touch event message is a message sent by the Crystal Touch Controller to the Client. The multiple touch event message informs the Client of a touch event (Down, Move or Up) in the active area. The touch event has absolute XY coordinates as well as absolute width. Each touch event has an associated TagID for tracking. The following diagram display a multiple touch event message. Table 9: Multiple Touch Event Message (USN 0x44) Message Structure 7 of 9

Message Structure The following table displays the message structure. Table 10: Message Structure Element Type Size Value / Meaning Header Unsigned Char 1 Byte 0x7F - constant header for all messages USN Unsigned Char 1 Byte The code of the message is 0x44 for multi-touch event reports Data length Unsigned Char 1 Byte Depends on the length of data sector. The data length can be a value between 0 to 254 (0x00 to 0xFE) Multiple Touch Event Associated Data The following table displays the multiple touch event associated data. Table 11: Multiple Touch Event Associated Data Element Type Size Value / Meaning Number of Touch event packets in multi touch event message Size of Touch Event Packet in Multi Touch Event Message Unsigned char 1 Byte Specifies the number of Touch Event packets, supported number 1 to n Unsigned char 1 Byte Specifies the size of a Touch Event packet. All packets must be of same size/type. In this case this is fixed 11 Bytes Touch Event Packet in a Multi Touch Event Message The following table displays a touch event packet in a multiple touch event message. Table 12: Touch Event Packet in a Multi Touch Event Message Element Type Size Value / Meaning Touch Area / Operation Unsigned char 1 Byte This field consists of 2 nibbles defining the type of operation and area in which touch events occurred, where: Bits 0-3 Touch Operation 0 Touch Move 1 Touch Down 2 Touch Up Bits 4-7 Touch Area 0 Touch Screen Mode V-mode Unsigned char 1 Byte Value is constant 0 - ignore this value Message Structure 8 of 9

Element Type Size Value / Meaning X Co-ordinate Unsigned char 2 Byte Absolute X-coordinate of the touch event. (Left Side Bottom first). Range of values 0-4095 Y Co-ordinate Unsigned char 2 Byte Absolute Y-coordinate of the touch event. ((Left Side Bottom first). Range of values: 0-4095 X Width Unsigned char 2 Byte Specifies the horizontal width of the detected object. (Left Side Bottom first). Range of values: 0-4095 Y Width Unsigned char 2 Byte Specifies the vertical height of the detected object. (Left Side Bottom first). Range of values: 0-4095 Tag ID Unsigned char 1 Byte Specifies the event ID. The Ids are enumerated starting from 1. This is for helping the application to track movements of multiple events without confusing between them Message Structure 9 of 9