Analyze Touch Data using QTouch Analyzer

 Objective

QTouch® Analyzer, which is part of QTouch Composer, provides near real-time visualization of QTouch measurement data. QTouch Analyzer can be used throughout the different phases of a development cycle. Using the basic touch sensor debugging information provided by QTouch Analyzer, it is possible to analyze sensor signal and touch delta. This debugging information can be used to appropriately tune sensor parameters such as Gain, Filter Level, Detect Threshold, and global parameters such as Drift Rates.

Basic Touch Sensor Debugging Information

The basic touch sensor debugging information is categorized into Signal, Reference, and Delta.

  • Signal: Raw measurement value of a channel. This value increases with touch as shown.
Signal.png
  • Reference: Long term average measurement on a channel.
    • Initial value obtained from calibration process
Reference.png
  • (Touch) Delta: Signal - Reference
    • Difference between Signal and Reference
    • Delta increases with touch
Delta.png

 Materials

Hardware Tools

Tool About Purchase
ATmega328PB-XplainedMini-50px.png
ATmega328PB Xplained Mini
Evaluation Kit

Software Tools

Tool About Installers
Installation
Instructions
Windows Linux Mac OSX
swtool-28px.png
Atmel® Studio
Integrated Development Environment

 Procedure

This tutorial builds on the Intro to PTC project. Make sure you've completed that before continuing with this project.

1

QTouch Start Page

Go to the QTouch Start Page by clicking on the following icon:

QTouchStartPage.png

2

Connected Kits

The ATmega328PB Xplained Kit connected through QDebug can be seen in the Connected Kits pane.

ConnectedKits.png

3

Analyze Touch Data

Right click on the connected kit and select 'Analyze Touch Data.'

AnalyzeTouchData.png

The QTouch Analyzer window can also be opened by clicking on the QTouch Analyzer icon:

LaunchAnalyzer.png

4

Connect

In the QTouch Analyzer window, click 'Connect.'

Connect.png

If the project ID of this QTouch project matches an existing project, a pop-up window appears, requesting confirmation to load the layout. Click YES.

ExistingProject.png

5

Verify Connection

To verify that your board is now connected, you can check the bottom left corner of the QTouch Analyzer window.

Connected.png

6

Signal Selection

Click on 'Signal Selection' and select Signal, Delta, and Reference for Button0.

SignalSelection.png

7

Start Reading

Click on 'Start Reading.'

StartReading.png

8

Touch Signal

Touch the sensor and observe the change in Signal and Delta.

Samples.png

By default, QTouch Analyzer displays the Graph View. It also provides a Tabular View for numerical visualization of touch data. You can access it by clicking on 'Tabular View.'

TabularView.png

After completing this lab, click on 'Stop Reading.' This will prevent QTouch Analyzer from collecting touch data over a long period of time, which might slow down your computer.

StopReading.png

 Results

The kit is connected to QTouch Analyzer and displays sensor signal, delta, and reference values.

© 2018 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.