参数资料
型号: ATAVRQTOUCHX
厂商: Atmel
文件页数: 48/185页
文件大小: 0K
描述: BOARD EVAL CAPACITIVE TOUCH
产品培训模块: Touch Interface Solutions
Qtouch- Create your own Touch Application
megaAVR Introduction
特色产品: ATAVRXPLAIN Evaluation & Demonstration Kit
标准包装: 1
系列: QTouch™
传感器类型: 触摸,电容式
传感范围: 1 个滑块,1 个转轮,2 个按钮
接口: USB
电源电压: 5V,USB
嵌入式: 是,MCU,8 位
已供物品:
已用 IC / 零件: AT90USB1287,ATxmega128A1
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页当前第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页
Channel3 is formed by PA6 and PA7 pin with signal count 150
In the above case, the no of times interrupts disabled will be 300 (maximum signal count) as all
four channels burst together in case of intraport.
4 channel interport case:
Channel0 is formed by PA0 and PB0 pin with signal count 300.
Channel1 is formed by PA1 and PB1 pin with signal count 200.
Channel2 is formed by PA2 and PB2 pin with signal count 250
Channel3 is formed by PA3 and PB3 pin with signal count 150
In the above case, as bursting happens in odd and even pairs, so maximum signal counts in case
of both even and odd channels will be taken. Maximum signal count out of even channels
channel0 and channel2 is 300 and maximum signal count out of odd channels channel1 and
channel3 is 250.So total number of times interrupts disabled will be (300 + 250 = 550).
The recommended maximum ISR execution time is 1msec.If ISR time exceeds 1 ms then it may
result in charge leakage which will further lead to rise in signal value. Noise observed in the signal
value will increase. The 1msec ISR limit applies to the total time spent in an ISR during one
acquisition period, and applies only to QTouch and QMatrix. One acquisition period is the time to
complete one burst sequence. This will be the time required to do the 300 pulses situation in the
first example above. In the second example above the 1msec limitation applies to the 300 and
then the 250 pulses; 1msec of total ISR can occur during the 300 and another 1msec ISR can
occur during the 250. This is all about self discharge happening while doing a burst. In the
example below it would be perfectly OK to have a 1msec ISR happening every 5 msec.
If the ISR load is constant and synced with the acquisition (meaning the ISR takes a constant
amount of time and executes in the same amount of time during each burst sequence), the signal
will not suffer at all since the self discharge will be the same every time the acquisition is run. If
there is a strong variation in the total ISR execution time during acquisition this will appear as
noise in the signal due to the variable self discharge of the sample cap.
The time to execute one measurement will depend on various parameters like sampling
capacitor, operating voltage, and different software parameters like QT_DELAY_CYCLES, CPU
frequency.
For single button with below parameters
Sampling Capacitor = 10 nf
CPU Freq= 4 MHZ
VCC= 5V
QT_DELAY_CYCLES=1
Qtouch takes around 2.6 msec for one channel.
Please note that none of the API functions should be called from a user interrupt.
5.6.10 Integrating QTouch libraries in your application
This section illustrates the key steps required in integrating the QTouch library in your application.
5.6.10.1 Directory structure of the library files
The QTouch library directory structure is as listed below
What
Root
installation
Header file
Where
Default directory is
C:\Program
Files\Atmel\Atmel_QTouch_Libraries_5.x\Generic_QTouch_Libraries
..\include
Comments
This is the default
directory path but the user
can install the directory in
desired location.
touch_api.h is located in
this
48
8207L-AT42-05/12
相关PDF资料
PDF描述
REC3-0512DRW/H6/C CONV DC/DC 3W 4.5-9VIN +/-12VOUT
IR2135SPBF IC DRIVER BRIDGE 3PHASE 28SOIC
IR2114SSPBF IC DRIVER HALF-BRIDGE 24-SSOP
RBC10DCMN CONN EDGECARD 20POS .100 WW
REC3-0512DRW/H6/A CONV DC/DC 3W 4.5-9VIN +/-12VOUT
相关代理商/技术参数
参数描述
ATAVRRAVEN 功能描述:开发板和工具包 - 无线 2.4 GHZ RAVEN BOARD RoHS:否 制造商:Arduino 产品:Evaluation Boards 工具用于评估:AT32UC3L 核心:AVR32 频率: 接口类型:USB 工作电源电压:5 V
ATAVRRTOS 功能描述:开发软件 AVR RTOS Kit w/book & Source code RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
ATAVRRZ200 功能描述:Zigbee/802.15.4开发工具 Demo kit enables dev debug & demo RoHS:否 制造商:Silicon Labs 产品:Development Kits 工具用于评估:EM35x 频率:2.4 GHz 接口类型:USB 工作电源电压:
ATAVRRZ201 功能描述:Zigbee/802.15.4开发工具 AVR Z-LINK 2.4 GHZ RCB KIT RoHS:否 制造商:Silicon Labs 产品:Development Kits 工具用于评估:EM35x 频率:2.4 GHz 接口类型:USB 工作电源电压:
ATAVRRZ502 功能描述:Zigbee/802.15.4开发工具 Access. kit f/pt-pt dev debug & demo RoHS:否 制造商:Silicon Labs 产品:Development Kits 工具用于评估:EM35x 频率:2.4 GHz 接口类型:USB 工作电源电压: