Tuesday, 11 March 2014

Preparing the NUC

Download ubuntu 13.10

Install ubuntu

  • Plug in the linux installer USB stick
  • Choose 'install ubuntu'
  • When asked what kind of setup, choose 'something else'
  • Delete the current partitions on the second USB stick (-)
  • Create a 27GB Primary partition (ext4)
  • Choose the root file system (mount point) as "/"
  • Create a 4GB swap partition (remaining space)
  • Install ubuntu
Set yourself as superuser each time you open a terminal window:
sudo su
Pass: nuc

Update kernel

(be connected to the internet from here on)
Perform these 4 commands in terminal (ctrl-alt-T)
wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc1-trusty/linux-headers-3.14.0-031400rc1_3.14.0-031400rc1.201402022035_all.deb
wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc1-trusty/linux-headers-3.14.0-031400rc1-generic_3.14.0-031400rc1.201402022035_i386.deb
wget kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-rc1-trusty/linux-image-3.14.0-031400rc1-generic_3.14.0-031400rc1.201402022035_i386.deb 
dpkg -i linux-headers-3.14*.deb linux-image-3.14*.deb
Restart and check kernel version:
uname -a (should be 3.14)

Install video drivers

  • sudo add-apt-repository ppa:oibaf/graphics-drivers
  • sudo apt-get update
  • sudo apt-get dist-upgrade

Install java

  • sudo apt-get install openjdk-6-jdk

Install libraries

  •  Copy the contents of "_DEMOS/Libraries/" into /usr/lib/jni/

Run the java application

  • Copy the contents "_DEMOS/" folder from the linux installer USB stick to the desktop
  • In file browser: go to menu > preferences > Behavior and select 'Run executable text files...'
  • Run the executable "mtdemos" file

Tuesday, 4 March 2014

Touch technologies comparison

Based on the extensive bundle by Geoff Walker (Google Drive)

Capacitive Touch Technologies

Projected capacitive touch (Pcap / PCT)

Self-capacitanceMutual capacitance
1 or 2 touches with ghosting problem2 or more unambiguous touches
Less immune to LCD noiseMore immune to LCD noise
Lower accuracyHigher accuracy
Harder to separate signal from noiseEasier to separate signal from noise
Cheaper controllerMore expensive/complex controller


  • Working principle
    • A projected electric field is disturbed by a conductive medium
    • This disturbance is measure through self- or mutual capacitance
      • Self:
        • Matrix of small pads where current loss is detected
        • Grid of vertical and horizontal lines, scanned sequentially. Loss in current in both vertical and horizontal lines, provides a location (ghosting possible)
      •  Mutual:
        • Lines of driving and receiving electrodes.
        • The driving lines project an electric field, receiving electrodes measure the disturbance
  • Size range
    • 2” to 100”+
      • ITO up to 32” (3M’s 46” is a special case)
      • 10-µm wire electrodes up to 100”+
  • Advantages
    • Unlimited multi-touch
    • Extremely light touch (zero force)
    • Enables “zero-bezel” industrial design
    • High optical quality (with index-matched ITO)
    • Very durable (protected sensor)
    • Unaffected by debris or contamination
    • Works with curved substrates (on PET)
  •   Disadvantages
    • Finger or tethered pen onlyThis is rapidly changing!
    • High cost Mostly in the sensor; ITO replacements will help
    • Challenging to integrate due to noise sensitivity & "tuning"
  • Applications
    • Consumer devices
      • Mobile phones
      • Tablets, Ultrabooks, AiOs
      • Almost any consumer device
    • Vertical-market devices
      • Signature-capture terminals
      • “Through-glass” interactive retail signage
  • Suppliers
    • Modules
      • TPK (biggest), Wintek, Nissha, Panjit, Digitech, CMI, Young Fast,
        Touch International, 3M, Ocular, and >20 more
    • Sensors (only)
      • Laibao, Cando (now part of TPK), CSG, HannsTouch, Nissha,
        and >10 more
    • Controllers (only)
      •  Atmel, Cypress, Synaptics, Maxim, Avago, Pixcir, Sitronix, EETI, SIS,
        Melfas, MasTouch (now park of TPK), Focal Tech, TI, and >10 more…
  • Status
    • P-cap has become a de facto standard

Surface capacitive

  • Working principle
    •  Conductive layer, covered with some top layers, has a voltage applied, which creates a uniform electric field
    • Touching dynamically creates a capacitor (between finger and conductive layer)
    • The change in capacitance, measured from the four corners, results in a location.
  • Size range
    • 6.4” to 32”
  • Controllers
    • 3M, Microchip (Hampshire), eGalax, and Digitech
  • Advantages
    • Excellent drag performance with extremely smooth surface
    • Much more durable than analog resistive
    • Resistant to contamination
    • Highly sensitive (very light touch)
  • Disadvantages
    • No multi-touch
    • Finger-only (or tethered pen)
    • Calibration drift & susceptible to EMI
    • Moderate optical quality (85% - 90%)
  • Applications
    • Regulated (casino) gaming
    • Point-of-Sale (POS) terminals
    • Point-of-Information (POI) kiosks
    • Medical equipment
  • Suppliers
    • 3M is the only significant supplier left
  • Status
    • It will be an irrelevant, obsolete technology in 5-7 year 

 Wacom’s Improved RRFC

    • Working principle
      • Applying AC on 2 corners and DC on the other 2, creates both a linear and 4 ramp-shaped electric fields
      • Resulting touch-event signal is independent of all capacitance effects except those due to finger-touch
    • Advantages 
      • Solves all the problems of traditional surface capacitive
      • Works in mobile & stationary devices (10” to 32” now; 46” capable)
      • Unaffected by grounding changes, EMI, variations in skin dryness & finger size, temperature, humidity, metal bezels, etc.
      • Works outdoors in rain and snow
      • Works through latex or polypropylene gloves
      • Allows 4X thicker hardcoat for improved durability
      • Uses same ASIC as Wacom’s EMR pen digitizer, so dual-mode input is lower cost & more efficient (e.g., in Tablet PC)
    • Disadvantages (2 very big ones!)
      • No multi-touch
      • Sole-source supplier

    Resistive Touch Technologies

    Analog resistive

    • Working principle
      • Vertical voltage gradient on cover sheet
      • Horizontal voltage gradient on glass
      • Insulating spacer between both
      • Pressure (touch) causes spacer to flatten and changes a measured voltage
    • Size range
      • 1” to ~24” (>20” is rare)
    • Controllers
      • Many sources
      • Single chip, embedded in chipset/CPU, or “universal” controller board
    • Advantages
      • Works with finger, stylus or any non-sharp object
      • Lowest-cost touch technology
      • Widely available (it’s a commodity)
      • Easily sealable to IP65 or NEMA-4
      • Resistant to screen contaminants
      • Low power consumption
      • Options in cover allows flexible panels
    • Disadvantages
      • Not durable (PET top surface is easily damaged)
      • Poor optical quality (10%-20% light loss)
      • No multi-touch
    • Applications
      • Mobile devices (shrinking)
      • Point of sale (POS) terminals
      • Automotive
      • Industrial
      • Wherever cost is #1
    • Suppliers
      • Young Fast, Nissha, Nanjing Wally, Truly, EELY, Mutto, J-Touch… 60+ suppliers
    •  Status
      • Analog resistive is shrinking in units and revenue to Pcap
      • Analog resistive is still significant in commercial application (Especially POS and industrial-control terminal)
    • Types
      • 4-wire(low cost, short life) is common in mobile devices
      • 5-wire(higher cost, long life) is common in stationary devices
      • 6-wire & 7-wire = obsolete 5-wire; 8-wire = replacement only

    Analog Multi-Touch Resistive(AMR, MARS, Hybrid Analog-resistive)

    • Working principle
      •  Matrix of square 4-wire analog touchscreens of 10-20mm
    • Size range
      • 1” to ~24” (>20” is rare)
    • Controllers
      • AD Semi & others; some home-grown (e.g., Touch International)
    • Suppliers
      • eTurboTouch, Touch International, Mildex, Mutto, EETI…
    • Advantages
      • Multi-touch (but without two touches on the same square)
      • Simple & familiar resistive technology
      • Lower cost than p-cap
    • Disadvantages
      • Poor durability (PET top surface)
      • Poor optical performance
      • Non-zero touch force
    • Applications
      • Industrial & other commercial
    • Status
      • Emerging in mobile and consumer stationary markets

    Digital Multi-Touch Resistive - Stantum’s product (iVSM)

    • Working principle
      • "Interpolated Voltage-Sensing Matrix": a layer of horizontal stripes and a vertical one. Together they form a mechanical contact switch
      • Fine pitch results in a much higher number of connections than AMR (400+ on a 10”
        tablet screen) - 250-290 I/O per controller
    • Controllers
      • ST Micro is currently the only one
      • Number of touch points is controller-dependent (2-10)
    • Advantages
      • Multi-touch
      • Simple & familiar resistive technology
      • Lower cost than p-cap
    • Disadvantages
      • Poor durability (PET top surface)
      • Poor optical performance
      • Non-zero touch force
    • Applications
      • Commercial mobile applications such as education 
    • Status
      • Emerging in mobile markets 

    Acoustic Touch Technologies

    Surface Acoustic Wave

    • Working principle
      • Soundwaves are sent through the glass surface, which allows receivers to detect any 'contamination' on the glass. The contaminant can be any able to absorb acoustic energy
    • Size range
      • 6” to 52” (but some integrators won’t use it above 32”)
    • Advantages
      • Clear substrate (high optical performance)
      • Finger, gloved hand & soft-stylus activation
      • Very durable; can be vandal-proofed with tempered or CS glass
    • Disadvantages
      • Very sensitive to any surface contamination, including water
      • Relatively high activation force (50-80g typical)
      • Requires “soft” (sound-absorbing) touch object
      • Can be challenging to seal
    • Applications
      • Kiosks
      • Gaming
    • Suppliers
      • Elo Touch Solutions and General Touch have >90% share
      • <10 suppliers
    • Status
      • Two-touch and zero-bezel SAW should help reduce loss of
      • share to p-cap in commercial applications
      • SAW will continue to grow moderately through 2017

    Acoustic Pulse Recognition

    • Working principle
      • Each contact point (touch) causes a wave bending the glass in all direction (like the rings of after a drop in still water). These vibrations are registered by piezoelectric in each corner
      • Table look-up of bending wave samples (“acoustic touch signatures”)
    • Size range
      • “Stationary APR” from 10” to 52” with controller board
      • “Mobile APR” from 2.8” to 10” with controller ASIC
    • Advantages
      • Works with finger, stylus or any other touch object
      • Very durable & transparent touch sensor
      • Very simple sensor (plain glass + 4 piezoelectric transducers)
      • Resistant to surface contamination; works with scratches
      • Totally flush top surface (“Zero-Bezel”)
    •  Disadvantages
      • No “touch & hold”; no multi-touch 
      • Requires enough touch-object velocity (a tap) to generate waves
      • Control of mounting method in bezel is critical
    • Status
      • Unsuitable for many applications -> low chance of viability
      • Scarce development on the subject

    Dispersive Signal Technology

    • Working principle
      • Each contact point (touch) causes a wave bending the glass in all direction (like the rings of after a drop in still water). These vibrations are registered by piezoelectric in each corner
      • Real-time analysis of bending waves in the glass (“time of flight” calculation)
    • Size range
      • 32” to 55” (available only on displays sold by 3M-trained integrators)
    • Advantages
      • Works with finger, stylus or any other touch object
      • Very durable & transparent touch sensor
      • Very simple sensor (plain glass + 4 piezoelectric transducers)
      • Operates with static objects orscratches on the touch surface
      • Fast response; highly repeatable touch accuracy; light touch
    • Disadvantages
      • No “touch & hold”; no multi-touch
      • Control of mounting method in bezel is critical
    • Applications
      • Interactive digital signage; point-of-information (POI)
    • Status
      • 3M has discontinued all new development

    Sentons Novatouch

    Comparison to other technologies

    To be considered or subjective product promotion?

    Optical Touch Technologies

    Traditional Infrared

    • Working principle
      •  A grid of infrared beams is generated
      • Interupting these beams is detected by photoreceptors, which results in a location
    • Size range
      • 8” to 150”
    • Controllers
      • Mostly proprietary, except IRTouch (China)
    • Advantages
      • Scalable to very large sizes
      • Multi-touch capable (only 2 touches, and with some “ghost” points)
      • Can be activated with any IR-opaque object
      • High durability, optical performance and sealability
      • Doesn’t require a substrate
    • Disadvantages
      • Profile height (IR transceivers project above touch surface)
      • Bezel must be designed to include IR-transparent window
      • Sunlight immunity can be a problem in extreme environments
      • Surface obstruction or hover can cause a false touch
      • Multi-touch in traditional infrared
        • Limited to 2 not-so-good touches
        • “Ghost” points are the problem, and there’s no good solution
      • Low resolution
      • High cost
    • Applications
      • Large displays (digital signage)
      • POS (limited)
      • Kiosks
    • Suppliers
      • IRTouch Systems, Minato, Nexio, OneTouch, SMK, Neonode…
      • 10+ suppliers

    Waveguide Infrared

    • Working principle
      • Reduce IR touchscreen cost by replacing multiple IR-emitters with a  single LED and using optical waveguides to distribute the light and  to channel it to a line-scan CMOS pixel array
    • Applications
      • none where it's at its best
    • Status
      • Lack of applications caused failure of the technology

    Multi-touch infrared

    • Working principle
      • Some arrangement of IR emitters and receivers, generates several 'shadow-images' of the touch situation.
      • Controller does a lot of processing to determine the touch situation from these images
    • Size range
      • PQ Labs
        • 6 to 32 touches
        • 32” to 103"
      • PulseIR
        • 2 to 40 touches
        • 5” to 103”
    • Variations
      • Number of touch points: 2 to 48 (determined by the controller)
      • Architecture: 3 different ways of organizing the IR emitters and receivers (so far)
      • PQ Labs is licensing; others may be also
    • Controller
      • Proprietary; generally requires a large amount of processing
    • Advantages
      • High number of multi-touch points
      • Object-size recognition
      • Controller maintains position & size data for all touching objects
      • Similar advantages to those of traditional infrared
      • Works with a finger, stylus or any other IR-opaque touch object
      • Scalable to very large sizes (at some cost)
      • High durability and sealability
    • Disadvantages
      • Relatively low resolution (can get stair-stepping in lines)
      • Increased processing load as sizeand number of touches goes up
      • Different minimum-object-size spec for stationary & moving objects
      • Large objects close to emitters can decrease performance
      • As with any traditional IR system, pre-touch (or “pen-up”) is mostly a big problem that gets worse as the screen size increases
      • Most can’t meet Win8 Logo due to pre-touch and accuracy
    • Applications
      • Multi-player games on large horizontal displays
      • Multi-user interactive digital signage
      • 3D design and interaction; data visualization for business
      • NOT interactive “whiteboard” displays due to pre-touch/pen-up 

    Projected Infrared Touch(Multi-touch IR variation)

    • Size range
      • 15” to 42” size range standard; over 42” is custom
      • First sizes to launch in 2Q-2013 are 21.5” & 23” (for AiO)
    • Advantages
      • 2-touch for lowest cost; 5-touch for Win8; 10-touch for high-end (Only the controller changes)
      • Entire surface is touch-active, including the 20 mm (MS) border
        • Active icons can be silk-screened in the border’s black matrix
      • Pre-touch meets the Win8 spec of 0.5 mm
        • Exceptionally low for any infrared touchscreen
      • Touch surface can be any material that meets surface flatness spec
      • Can be sealed to IP65

     Camera-Based Optical


      Large scale touch technologies

      Large scale: SAW - DST - Optical Camera

       Based on this 3M published article (biased!)

      SAW:
      • SHORT: Soundwaves are sent through the glass surface, which allows receivers to detect any 'contamination' on the glass. The contaminant can be any able to absorb acoustic energy
      • PRO: fast response time (10ms, others: +20ms)
      • CON:
        • liquids and substances that absorb acoustic energy can easily disturb the normal behavior
        • only gestures
      DST(3M)
      • SHORT: Each contact point (touch) causes a wave bending the glass in all direction (like the rings of after a drop in still water). These vibrations are registered by piezoelectric in each corner
      • PRO:
        • low impact of on-screen contaminants
        • flat front surface possible
        • limited borders around glass surface
        • most accurate
        • stylus independent
        • free orientation
      • CON:
        • size limitations (current 32-47")
        • only gestures
      Optical Camera
      • SHORT: 2 infrared cameras in the top corners scan the screen surface for touch points. Sometimes the the screen is flooded with infrared light to enhance performance.
      • PRO:
        • substrate independent
        • two point touch and gestures
      • CON: 
        • much direct light can cripple performance
        • other contaminants can create a shadow and cause the camera to detect less touch points.

      Monday, 3 March 2014

      Touch orientation in Linux


      UPDD Software (windows / linux)

      After installing the software, 'tbutils' can be run in prompt/terminal. Commands for configuration are shown.

      Performing a calibration in the updd console will also orient the panel correctly.


      Projected Capacitive Touch (PCT / PCAP)

      Touch panel & controller suppliers

      TODO: Atmel suppliers
      (among which known MSC supplier)

      Suppliers source folder

      Distributors

      Suppliers per type

      • Modules
      • Sensors (only)
        • Laibao
        • Cando (now part of TPK)
        • CSG
        • HannsTouch
        • Nissha
      • Controllers (only)
        • Atmel
        • Cypress
        • Synaptics
        • Maxim
        • Avago
        • Pixcir
        • Sitronix
        • EETI
        • SIS
        • Melfas
        • MasTouch (now park of TPK)
        • Focal Tech
        • TI
        • AD Semi
        • AMT
        • Azoteq
        • Cirque
        • EMC
        • FocalTech
        • Ilitek
        • Melfas
        • M-Star
        • Pixcir
        • Raydium
        • Renasas
        • Samsung
        • Sentelic
        • Silicon Labs
        • ST Micro
        • Weltrend

      European suppliers

      International suppliers

      •  China
        • Guangzhou Quanchutong
          • website
          • product info
          • product specs
            • Dimensions: 15 - 21.5"" (+ custom 3 - 32")
            • Multi Touch: 2-10 points
          • contact
            • mail: carl.jianzi@gmail.com
            • phone: /
          • CON:
            • Chinese only website
          • PRO:
            • Linux support
        • KingTouch Technology Group
          • website
          • product info
          • product specs (8" Sample: $41/p 50-100: $25/p)
            • Dimensions: 3.5 - 52" (+ custom)
            • Multi Touch: 2-10 points 
            • Also resistive, SAW, IR, Surface Capacitive
          • contact
            • mail: info@kingtouchgroup.com
            • phone: +86-01536 1011 772
        • Nanjing Dianmian Photoelectricity
          • website
          • product info
          • contact
            • mail: liujun@langguang.com
            • phone: 025-52729888
          • CON:
            • Limited info
        • Touchkit
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: 7 - 22" (+ custom)
              •  Also resistive, SAW
            • Controllers
              • USB & RS232
              • MacOS, Linux & windows support
              • EETI
                •  Multi Touch: 2-4 points
              • SIS
                • Multi Touch: 2-10 points  
                • Max 2mm glass
          • contact
            • mail: viptouchkit@gmail.com / lois@touchkit.com
            • phone: +86-20-34720571
          • PRO:
        •  Nodka Industrial
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: 4.3 - 42" (+ custom)
              •  Also resistive, SAW, infrared
            • Controllers
              • USB & I²C
              • Linux & windows support
          • contact
            • mail: sales@nodkaindustrial.com
            • phone: +86-21-6494 2222
          • PRO:
            • Free sample available
          • CON:
            • Very limited info
        • Vtouch Technology Group
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: 2.4 - 16" (+ custom)
              • Custom: $2000 tooling charge (refunded after $15000 order)
              • Also resistive, surface capacitive
              • P+G/G+G/OSG structure
              • Glass cover plate or without
            • Controllers
              • Multi Touch: 2-10 points
          • contact
            • mail: zy@v-touch.cn
            • phone: +86-28-69927402
          • PRO:
            • MOQ: 100
            • Free samples ($80 for shipping of 7" pct + controller + usb cable)
      • Hongkong
        • Asiapro
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: 2.8 - 23" (+ custom)
              • Also resistive
              • Structure: GG, GF, GFF, PF, OGS
              • available without cover glass
            • Controllers
              • Multi Touch: 2-10 point
              • Windows, Android, Linux support
              • I²C, USB for +10.1"
          • contact
            • mail: jackie@asiapro.com.hk
            • phone: (852)2440 1154
          • CON:
            • 1-10K MOQ
        •  
        • EELY
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: ? 
              • Also resistive, surface capacitive
            • Controllers
              • Only windows?
          • contact
            • mail: gee@eelyecw.com.cn
            • phone: +86 20 83918000
          • CON:
            • Very limited info
        •  Top Standard Industrial
          • website
          • product info
          • product specs 
            • Sensors
              • Dimensions: 3.5 - 10.2"
              • Also resistive
            • Controllers
              • Some USB / some I²C
          • contact
            • mail: info@topstdhk.com
            • phone: (852) 2408 8893
          • CON:
            • Very limited info
      • Japan
        • DMC
          • website
          • product info
            • Sensors
              • Dimensions: 5.7 - 32" (+ custom)
              • Mesh-wire up to 70"
              • Several series with different properties
              • Also resistive
            • Controllers
              • Multi Touch: 2-10 point
              • Windows, MAC, Android, Linux support
              • USB & UART
          • contact
            • mail: sales-europe@dmccoltd.com
            • phone: +81-3-6721-6736
          • PRO:
            • Many cover glass/film options
            • Benelux distributor
      •  Taiwan
        • Abontouch  
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: 5 - 15.6"
              • Also resistive touch
            • Controllers
              • Multi Touch: 2-10 point
              • Windows & linux support
              • USB & RS-232
          • contact
            • mail: info@abontouch.com.tw
            • phone: +886-2-8978-1086
        • Higgstec
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: 7 - 21.5"
              • Also resistive, surface capacitive
            • Controllers
              • Multi Touch: ??
              • USB & RS-23
              • Windows, MAC, Android, Linux support
          • contact
            • mail: peter.chen@higgstec.com.tw
            • phone: 886-2-8209-9696
        • Suntai International
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: 7 - 32" (+ custom)
              • Also resistive touch
            • Controllers
              • Multi Touch: 2-10 point
          • contact
            • mail: suntai@sun-tai.com.tw
            • phone: +886 (2) 2278 4166
          • CON:
            • Only LCD + touch
        • TPK
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: ??
            • Controllers
              • Multi Touch: ??
          • contact
            • mail: ??
            • phone: ??
          • PRO:
            • Lamination capabilities
            • Biggest touch module manufacturer
        • Wintek
          • website
          • product info
          • product specs
            • Sensors
              • Dimensions: all custom
              • OGS
              • flexible sensors
            • Controllers
              • Multi Touch: Atmel, Synaptic, Cypress, Foxaltech etc
          • contact
            • mail: frank.doecke@wintek-euro.de
            • phone: +49 89 41424250 (gsm: +49 1736893432)
          • PRO:
            • Free samples
            • Optical bonding capabilities 
            • Sensor coatings
            • Metal mesh development
            • Branche in Germany 
          • CON:
            • Limited website
      • USA
        • Ocular
        • Touch International
          • website 
          • product info
          • product specs
            • Sensors
              • Dimensions: 1 - 60" (+ custom)
              • Also surface capacitive, resistive 
              • PCAP Plus: Improved for on-screen contaminants & water
            • Controllers
              • Multi Touch: 2-10 points
              • Windows & linux support
              • Atmel controllers 
              • USB or serial
          • contact
            • mail: rrobinson@touchintl.com
            • phone:  512.646.0309
          • PRO
            • Glass AND flexible film touch panels
            • Optical film options
            • 10y waranty
            • Developers kits ($750 - sensor/controller/display/video card)