ATAVRQTOUCHX Atmel, ATAVRQTOUCHX Datasheet - Page 59

BOARD EVAL CAPACITIVE TOUCH

ATAVRQTOUCHX

Manufacturer Part Number
ATAVRQTOUCHX
Description
BOARD EVAL CAPACITIVE TOUCH
Manufacturer
Atmel
Series
QTouch™r
Datasheets

Specifications of ATAVRQTOUCHX

Sensor Type
Touch, Capacitive
Sensing Range
1 Slider, 1 Wheel, 2 Buttons
Interface
USB
Voltage - Supply
5V, USB
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
AT90USB1287, ATxmega128A1
Silicon Manufacturer
Atmel
Silicon Family Name
ATxmega
Kit Contents
Board
Svhc
No SVHC (15-Dec-2010)
Core Architecture
AVR
Core Sub-architecture
AVR19
Kit Features
One Slider, One Wheel And 2
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Sensitivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATAVRQTOUCHX
Manufacturer:
Atmel
Quantity:
135
Step 4:
Filling Arrays in the main.c file
According to the pin availability for the touch sensing, initialize the arrays in the main.c file as
below:
x_line_info_t x_line_info[NUM_X_LINES]= {
};
y_line_info_t ya_line_info[NUM_Y_LINES]= {
};
y_line_info_t yb_line_info[NUM_Y_LINES]= {
};
Note:
Step 5:
Usage of libraries
Now, you can use the touch API’s to create, initialize and perform touch sensing. Please refer to
the sample applications in section 5.6.11.3 for reference. These sample applications illustrate the
usage of the API’s and the sequence of operation
5.6.10.3.2 Resources used by QMatrix acquisition method libraries
The following additional resources are used by the QMatrix acquisition method libraries.
2. The above definitions should be placed before including “touch_api.h” in your files.
3. These can also be modified in the touch_qm_config.h, after defining the _QMATRIX_ in
4. In case XMEGA device is used for QMatrix the symbol __ATXMEGA_ has to be included
1. This part of the snippet can be taken from the output of the Pin configurator tool from
FILL_OUT_X_LINE_INFO(
FILL_OUT_X_LINE_INFO(
FILL_OUT_X_LINE_INFO(
FILL_OUT_YA_LINE_INFO(
FILL_OUT_YA_LINE_INFO(
FILL_OUT_YB_LINE_INFO(
FILL_OUT_YB_LINE_INFO(
Alternatively, you can define these in your IDE’s project options or have them defined in a
separate header.
the project space.
in the Project space along with the symbols mentioned above.
QTouch Studio.
One Analog Comparator
One internal Timer ( Usually Timer1 depending on the availability on particular
microcontroller)
One ADC Multiplexer( The critical section of the touch sensing library disables the use of
ADC as conversion unit and enables the same ADC as a multiplexer, but the user can
use the ADC for conversion in rest of his application code )
The ADCMUX is used by the library during the touch sensing acquisition, however it is
restored with the value from host application before exiting the qt_measure_sensors().
Such that the ADC is available to the host application for conversion.
1,0u ),
2,2u ),
1,7u ),
0u ),
5u ),
0u ),
5u ),
59

Related parts for ATAVRQTOUCHX