汽车理论第六版清华大学余志生 主编
基于TTL对单片机矩阵键盘算法的改进
资料详细技术说明
文章针对目前单片机矩阵键盘模块的低实时性问题,设计了一种基于TTL去抖算法的单片机矩阵键盘算法。利用TTL去抖算法的间隔时间采样机制以及双循环扫描法的逐行逐列扫描机制,保证矩阵键盘模块响应按键的实时性以及识别按键的准确性。实验结果表明,该矩阵键盘算法识别按键准,响应时间低,能够识别组合键,通用性强。
Aiming at the low real time problem of MCU matrix keyboard module, a MCU matrix keyboard algorithm based on TTL filtering algorithm is designed. The interval sampling mechanism of TTL filtering algorithm and the row-and-column scanning mechanism of double-loop scanning method are used to ensure the real time response of the matrix keyboard module and the accuracy of the keystroke identification. The experiment shows that the matrix keyboard algorithm can recognize keys accurately with low response time. The algorithm can also recognize combination keys and has strong versatility.
相关技术资料推荐
下载与解压说明
下载积分规则
- 本资源下载仅需 2 积分
- 24 小时内重复下载免扣积分
- VIP 会员享专属免积分高速通道
文件解压指南
- 推荐使用 7-Zip 或新版 WinRAR 解压
- 原理图与 PCB 请使用对应 EDA 软件打开
- 压缩包内源码可直接在上方在线预览
免费获取积分
- 新用户注册即赠送 10 积分
- 上传分享工程资料可获得持续积分奖励
- 查看积分规则与会员权益 →