Objective
In this lab, you will change the detect hysteresis of a button and analyze its impact. To explore this feature, you will tune the detect hysteresis value of the touch button and monitor the behavior.
This tutorial builds on the Intro to PTC and Analyze Touch Data Using QTouch® Analyzer projects. Make sure you've completed those before continuing with this hands-on exercise.
Materials
Hardware Tools
Tool | About | Purchase |
---|---|---|
| |
Software Tools
Tool | About | Installers |
Installation
Instructions |
||
---|---|---|---|---|---|
Windows | Linux | Mac OSX | |||
Atmel® Studio
Integrated Development Environment |
| | | | |
Procedure
1
Stop Reading
If you've just completed the Detect Threshold Project you should click on Stop Reading.
3
Change Button Settings
Select 'Button0' and click on the Settings icon.
In the 'Button0' settings, set the detect hysteresis to HYST_50.
Note that the Detect Threshold is 75. We changed it from the original value during the Detect Threshold Project.
7
Detect State
Move a finger towards the sensor. When delta crosses the detect threshold (75), the sensor will go into the detect state.
Results
In this project, you observed that the touch button turns ON when the touch delta crosses the detect threshold, but it does not turn off until the touch delta falls below the detect threshold by the percentage value set in the Detect Hysteresis parameter.