现代计算机(普及版)2015,Issue(10) :65-69.DOI:10.3969/j.issn.1007-1423.2015.28.016

多按键与指示灯混编系统设计与实现

Design and ImplementatI/On of Hybrid System Composed of Many Buttons and Lights

曹振华 吴健 刘靖阳
现代计算机(普及版)2015,Issue(10) :65-69.DOI:10.3969/j.issn.1007-1423.2015.28.016

多按键与指示灯混编系统设计与实现

Design and ImplementatI/On of Hybrid System Composed of Many Buttons and Lights

曹振华 1吴健 1刘靖阳1
扫码查看

作者信息

  • 1. 苏州经贸职业技术学院机电与信息技术学院,苏州 215009
  • 折叠

摘要

在嵌入式领域内经常用到按键和指示灯,如果数量较少,可以直接用单片机的I/O口驱动,编程容易,但需要充足的I/O;如果使用数量较多,单片机的I/O口不够用,则需要用矩阵扫描驱动,此种方法编程复杂,需要及时扫描刷新,占用单片机资源较多;如果使用数量很多,上述常规方法已经不能胜任,采用天徽公司生产的TM系列芯片,设计实现一个126个LED指示灯+63个按键的混编显示控制面板。

Abstract

Buttons and lights are often used in embedded system, if the quantity is less, can be directly driven by microcontroller I/O port ,the pro-gramming is relatively easy in this condition, but need more I/O port. If uses more number of buttons and lights and microcontroller I/O port is not enough, we need drive it by the scanning matrix, although it needs complex programming, timely scanning refresh, more system resource occupancy is used in this way. If uses a large number of buttons and lights, those conventional methods can't be competent, uses a chip of TM, designs a 126 lights and 63 keys mixed display panel.

关键词

多按键/多指示灯/TM1638/矩阵扫描

Key words

Many Keys/Many Lights/TM1638/Scanning Matrix

引用本文复制引用

基金项目

2015年大学生实践创新训练计划项目(201512685002Y)

出版年

2015
现代计算机(普及版)
中山大学

现代计算机(普及版)

影响因子:0.202
ISSN:1007-1423
参考文献量1
段落导航相关论文