8位电子智能抢答器(单片机)

2019-04-15 12:05

郑州轻工业学院民族职业学院

单片机课程设计报告

8位电子智能抢答器(单片机)

姓名 学号 专业班级 指导老师

2009年12月22日

目 录

引言??????????????????????????3 1 单片机的应用技术……………………………………?…??3 2 系统设计要点…………………………………………?????3 3 抢答器的硬件设计要求…………………………………?????3 2.2 计分器系统的软件流程?????????????……???3 2.3 计分器的硬件设计要求????????????????5 2.4 人机交互程序设计……………………………………………?????5 2.4.1计分器系统的软件键盘扫描程序流程图???????????.6 2.5 抢答器系统软件的流程图??????????????????7 2.6 抢答数码显示软件程序设计????????????????8 2.7 音乐音频输出程系流程图??????????????????9 3 各模块方案选择和论证…………………………???????10 3.1 抢答器显示模块??????????????????10 3.2 控制器模块????????????????????10 3.3 电源方案的选择????????????????????11 3.4 枪答器键盘的选择??????????????????11 3.5 计分器显示模块????????????????????13 3.6 计分器键盘的选择????????????????????14 4 模块的最终方案……………………………………………………14 5 电子智能抢答器系统的硬件电路设计???????????14 5.1计分器的电路设计……………………………………………………14 5.1.1计分器系统的硬件电路????????????????14 5.1.2计分显示模块???????????????????16 5.2抢答器的电路设计????????????????????16 5.2.1抢答电路模块?????????????????????16 5.2.2抢答按键模块的设计????????????????17 6 单片机干扰防护????????????????????18 6.1 采用隔离技术????????????????????18 6.2 正确的接地措施????????????????????19 结论…………………………………………………………………….19

谢 辞?????????????????????????.19 参考文献??????????????????????…20 计分器显示程序(附1)??????????????????21 抢答器软件程序(附2)??????????????????26

摘 要

随着电子技术的飞速发展,基于单片机的控制系统已广泛应用于工业、农业、电力、电子、智能楼宇等行业,微型计算机作为嵌入式控制系统的主体与核心,代替了传统的控制系统的常规电子线路。同时楼宇智能化的发展与成熟,也为基于单片机的照明控制系统的普及与应用奠定了坚实的基础。

电子智能抢答计分器在抢答过程中,为了知道哪一组或哪一位选手先答题,必须要设计一个系统来完成这个任务。如果在抢答中,靠视觉是很难判断出哪组先答题。利用单片机系统来设计抢答器,使以上问题得以解决,即使两组的抢答时间相差几微秒,也可分辨出哪组优先答题。抢答组数可以在八组以内任意使用,本系统设计为模块形式采用九针插头进行连接,系统工作原理本系统采用AT89S51单片机作为核心。控制系统的五个模块分别为:单片机最小系统(六位并行数码显示、4*4矩阵式键盘)、显示模块、显示驱动模块、抢答开关模块、音乐音频输出模块。

关键词:单片机;矩阵式键盘;显示;驱动;抢答

Abstract

With the rapid development of electronic technology, the control system based on SCM has been widely used in industry, agriculture, electricity, electronics, intelligent buildings, industry, micro-computers embedded control system as the main and core, instead of the traditional control System of conventional electronic circuits. At the same time the development of intelligent buildings and maturity, but also based on the lighting control system MCU and popularity of application laid a solid foundation. Points for electronic smart Qiangda Qiangda in the process, in order to know which group or which one player to answer, we must design a system to complete this task. If the Qiangda, rely on the visual is very difficult to determine which group to answer. SCM system used to design Qiangda, bringing the above problems are resolved, even

if the two groups Qiangda the difference in time a few microseconds, which can also be distinguished group of priority answer. Qiangda group of eight can within the arbitrary use of the system designed to be modular form of a nine-pin plugs to connect the system working principle of the system used AT89S51 SCM as a core. Control system of the five modules are: MCU minimum system (six parallel digital display, 4 x 4 matrix keyboard), modules, display driver module, Qiangda switch modules, music, audio output module.

Key words: SCM,modules, display driver module, Qiangda switch modules


8位电子智能抢答器(单片机).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:2013年浙江中考科学实验探究题汇总 - 图文

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: