ATAVRTS2080B Atmel, ATAVRTS2080B Datasheet - Page 42
ATAVRTS2080B
Manufacturer Part Number
ATAVRTS2080B
Description
BOARD EVAL FOR ATTINY88 LIBRARY
Manufacturer
Atmel
Series
QTouch™r
Specifications of ATAVRTS2080B
Sensor Type
Touch, Capacitive
Sensing Range
1 Rotor, 1 Slider, and 2 Buttons/Keys
Interface
Application Programming Interface (API)
Voltage - Supply
1.8 V ~ 5.5 V
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATtiny88
Tool Type
Development Kit
Cpu Core
AVR 8 / 32
Data Bus Width
8 bit
Core Architecture
AVR
Silicon Manufacturer
Atmel
Silicon Core Number
ATtiny88
Silicon Family Name
AVR
Kit Contents
Board CD Docs
Development Tool Type
Hardware / Software - Eval/Demo Board
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Sensitivity
-
Lead Free Status / Rohs Status
Details
Other names
Q4359953
- Current page: 42 of 178
- Download datasheet (4Mb)
2. Add a filter function prototype to the main module:
The signal values processed by the ATMEL QTouch Library are now the mean of the last four
actual signal values.
5.6.6.4
The GPIO pins within a port that are not used for QTouch or QMatrix acquisition methods can be
used for user application. The usage of pins for QTouch is based on the channels that are being
configured while enabling the sensors (keys/rotors/sliders).
The example below configuring 4 keys, a rotor and a slider shows how the pin configurability is
achieved by configuring the sensor channels. The code snippet configures a specific 10 channels
of a 16 channel library based on the GPIO port pins available for QTouch™.
Port Configuration:
Channel/Pin Configuration:
42
3. When configuring the ATMEL QTouch library, set the callback function pointer:
4. Add the filter function:
#define SNSK1
#define SNS1
#define SNSK2
#define SNS2
/* enable a key on channel 0
qt_enable_key( CHANNEL_0, AKS_GROUP_2, 10u, HYST_6_25 );
/* filter for channel signals */
static uint16_t filter[QT_NUM_CHANNELS][4];
/* example signal filtering function */
static void filter_data_mean_4( void );
/* set callback function */
qt_filter_callback = filter_data_mean_4;
void filter_data_mean_4( void )
{
uint8_t i;
/*
* Shift previously stored channel signal data.
* Store new channel signal data.
* Set library channel signal data = mean of last 4 values.
*/
for( i = 0u; i < QT_NUM_CHANNELS; i++ )
}
Allocating unused Port Pins for User Application
{
filter[i][0] = filter[i][1];
filter[i][1] = filter[i][2];
filter[i][2] = filter[i][3];
filter[i][3] = qt_measure_data.channel_signals[i];
qt_measure_data.channel_signals[i] = ( (
filter[i][1] +
filter[i][2] +
filter[i][3] ) / 4u );
}
C
D
A
B
*/
filter[i][0] +
8207J-AT42-02/11
Related parts for ATAVRTS2080B
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: