ATAVRQTOUCHX Atmel, ATAVRQTOUCHX Datasheet - Page 24

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
Values
RECAL_100
RECAL_50
RECAL_25
RECAL_12_5
RECAL_6_25
5.6.4
This section lists the data structures that hold sensor status, settings, and diagnostics information
5.6.4.1
Structure
Input / Output
Use
Fields
sensor_states[]
rotor_slider_values[]
The macro that can get the sensor state when the sensor number is provided can be something
as below:
#define
(1 << (SENSOR_NUMBER % 8))
The host application can use this macro to act accordingly, the following example shows how to
toggle a IO pin (PD2) based on the sensor0 state.( Set PD2 if sensor0 is in detect, and clear PD2
if sensor0 is not in detect)
Ex:
24
Data structures
qt_measure_data.qt_touch_status.sensor_states[(SENSOR_NUMBER/8)] &
/*Set pin PD2 direction as output*/
DDRD |= (1u << PORTD2);
if (GET_SENSOR_STATE(0) !=0)
{
}
else {
}
qt_touch_status_t
Comment
100% recalibration threshold
50% recalibration threshold
25% recalibration threshold
12.5% recalibration threshold
6.25% recalibration threshold
GET_SENSOR_STATE(SENSOR_NUMBER)
PORTD |= (1u << PORTD2); /* Set PORTD2 */
PORTD &= ~(1u << PORTD2); /* Clear PORTD2 */
qt_touch_status_t
Output from the Library
Holds the status ( On/ Off ) of the sensors and the linear and angular positions
of sliders and rotors respectively
For Sensor, the sensor_states. Bit “n” = state of nth sensor :
Bit Value 0 - indicates the sensor is not in detect
Bit Value 1 - indicates the sensor is in detect
values are valid when sensor states shows that the corresponding rotor or
slider is in detect
Comment
Rotors angles or slider positions if rotors and sliders are used. These
8207J-AT42-02/11

Related parts for ATAVRQTOUCHX