新闻| 论坛| 博客| 在线研讨会
触摸传感器QST108与PIC单片机的接口设计
lj_0522| 2008-07-17 00:45:29 阅读:1718 发布文章

5 软件设计

  软件部分包括PIC16F877A和QST108的初始化、触摸按键检测子程序、单片机的中断程序,以及根据按键检测的结果进行各种处理的程序等。限于篇幅,本文只给出了PIC16F877A读取按键状态的子程序。假设QST108的器件地址为0,程序如下:

  结 语

  本文着重介绍了电容式触摸传感器QST108的工作方式、主要操作命令以及QST108与PIC单片机的接口设计。QST108允许用户用普通或挠性印制电路板设计8键电容性触摸板,因此可将导电墨印刷在电路板上作为感应电极;基于QST108应用的外部组件需求很少,每个通道只需1个采样电容和1个电阻。由于具有这些特点,QST108非常适合应用在能够对用户触摸做出响应的智能控制界面中。

*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。

参与讨论
登录后参与讨论
Neal [ 匿名]  2008-11-26 07:58:17 

A single thread from everyone

Todd [ 匿名]  2008-11-26 06:29:11 

Eggs can

Casey [ 匿名]  2008-11-26 05:58:15 

Don

Benny [ 匿名]  2008-11-26 04:09:46 

Don

Carmelo [ 匿名]  2008-11-26 03:15:48 

A man shouldn

Ramiro [ 匿名]  2008-11-26 01:59:51 

Don

Skylar [ 匿名]  2008-11-26 00:44:50 

All aren

Leon [ 匿名]  2008-11-26 00:13:57 

Don

Cecil [ 匿名]  2008-11-26 00:00:26 

Eggs can

Cale [ 匿名]  2008-11-25 22:59:19 

All aren

James [ 匿名]  2008-11-25 17:30:01 

A raven won

Demetrius [ 匿名]  2008-11-25 11:16:20 

Don

Stan [ 匿名]  2008-11-25 08:50:48 

Don

Santos [ 匿名]  2008-11-25 08:21:40 

feather one

Nolan [ 匿名]  2008-11-25 07:51:11 

A raven won

Mark [ 匿名]  2008-11-25 07:22:00 

Don

Elvis [ 匿名]  2008-11-25 07:21:59 

A man shouldn

Jose [ 匿名]  2008-11-25 06:52:47 

feather one

Jeremey [ 匿名]  2008-11-25 06:23:34 

A fly won

Mike [ 匿名]  2008-11-25 05:23:38 

Don

Reinaldo [ 匿名]  2008-11-24 19:04:11 

All aren

Ashley [ 匿名]  2008-11-24 11:53:05 

If you can

Julius [ 匿名]  2008-11-24 00:09:58 

Can

Rex [ 匿名]  2008-11-23 17:55:07 

If you don

Edmund [ 匿名]  2008-11-23 17:09:16 

Don

Jeramy [ 匿名]  2008-11-23 12:40:49 

Don

Chauncey [ 匿名]  2008-11-23 11:25:34 

Don

Greg [ 匿名]  2008-11-23 03:26:12 

A man shouldn

Ignacio [ 匿名]  2008-11-23 03:11:21 

Can

Terrence [ 匿名]  2008-11-23 02:56:33 

feather one

Jamison [ 匿名]  2008-11-23 01:55:50 

Don

Henry [ 匿名]  2008-11-23 00:10:36 

have an ace up one

Bob [ 匿名]  2008-11-22 23:11:11 

Benjamin

Marc [ 匿名]  2008-11-22 21:55:30 

A single thread from everyone

Cornell [ 匿名]  2008-11-22 19:40:03 

Can

Brad [ 匿名]  2008-11-22 18:09:36 

If you don

Emmanuel [ 匿名]  2008-11-22 17:54:44 

If you don

Leonel [ 匿名]  2008-11-22 16:24:42 

a bird

Norberto [ 匿名]  2008-11-22 05:47:44 

If you can

George [ 匿名]  2008-11-22 04:15:06 

It

Moses [ 匿名]  2008-11-21 23:13:28 

A raven won

Jerod [ 匿名]  2008-11-21 12:39:02 

Good thongs don

Jarred [ 匿名]  2008-11-21 12:09:41 

A single thread from everyone

Wilfred [ 匿名]  2008-11-21 00:32:29 

It

Timmy [ 匿名]  2008-11-21 00:17:46 

A man can

推荐文章
最近访客