77范文网 - 专业文章范例文档资料分享平台

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

来源:网络收集 时间:2019-04-15 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

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

单片机课程设计报告

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

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库8位电子智能抢答器(单片机)在线全文阅读。

8位电子智能抢答器(单片机).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/596393.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: