八路抢答器毕业设计说明书

2019-05-18 21:14

单位代码 01

学 号 1101020024

分 类 号 TN7

密 级

毕业设计说明书

抢答器设计

院(系)名称 专业名称

信息工程学院 电子信息工程

学生姓名 刘十飞 指导教师 郭 彬

2015年05月11日

黄河科技学院毕业设计说明书 第 I 页

抢答器设计

摘 要

当今社会上的竞争愈来愈多,也越来越激烈,评优评先,智力竞赛之类等活动也愈见频繁,因此抢答器的应用与需求也就越来越普遍。而现在市场上的一些抢答器不仅成本高、线路多、体型大,而且安装和使用起来都很复杂。比如普通抢答器,是由通用集成电路制成,价格高、功能单一、性价比较差,往往很容易受人为因素的影响,因此在知识竞赛活动中无法精确保证比赛的公平、公正、直观。考虑到需设定限时回答和锁定按钮等功能,本系统采用STC89C52单片机为控制核心。本文根据系统功能划分成五个模块,分别为:单片机最小系统模块、电源模块、按键输入模块、显示模块、报警模块。软件设计则采用C语言进行编程。该智能抢答器,通过软件编程控制能显示抢到题目的选手编号、违规抢答的选手编号、抢答时间以及答题时间的倒计时,降低了成本、简化了硬件结构,并且抢答公平、误差较小。该智能电路简单、反应快、实用性强等优点,具有较高的推广价值,目前,国内外开始普遍使用。

关键词:单片机STC89C52,抢答器,C语言

黄河科技学院毕业设计说明书 第 II 页

The Design of the Responder

Author: liu shi fei Tutor: Guo Bin

Abstract

Competition in today's society more and more, also more and more intense, with explicit PingXian, such as quiz activities also increasingly frequent, so the application of the buzzer and the demand is becoming more and more popular. Now on the market some of the buzzer is not only cost is high, the line more, large size, and is very complicated to install and use. Ordinary buzzer, for example, is made from common integrated circuit, high price, single function, cost performance is bad, often easily affected by man-made factors, in the knowledge competition, therefore, cannot accurately to ensure that the game fair and just, and intuitive. Considering the need to set the time to answer and lock button, and other functions, this system adopts the STC89C52 single-chip microcomputer as the control core. According to the system function is divided into five modules, respectively is: single chip microcomputer minimum system module, power module, key input module, display module, alarm module. The software design using C language for programming. The intelligent responder, through software programming control can show the players get the title number, violations of vies to answer first contestant number, vies to answer first time, and problem solving time countdown, reduces the cost, simplifies the hardware structure, and vies to answer first fair and smaller error. The smart circuit is simple, rapid response, strong practicability, etc, is of high popularization value. At present, began to widely used at home and abroad.

Key words: Microcontroller STC89C52, responder, c language

黄河科技学院毕业设计说明书 第 III 页

目 录

1 绪论 ........................................................................................................................................ 1

1.1 课题背景 ...................................................................................................................... 1 1.2 课题研究现状 .............................................................................................................. 1 1.3 目的与意义 .................................................................................................................. 2 1.4 基本的要求 .................................................................................................................. 2 2 总体设计方案论证 ................................................................................................................ 3 3 系统硬件设计 ........................................................................................................................ 4

3.1 系统概述 ...................................................................................................................... 4 3.2 设计总体框图 .............................................................................................................. 4 3.3 最小系统模块 .............................................................................................................. 4

3.3.1 单片机最小系统 ................................................................................................ 4 3.3.2 STC89C52简介 .................................................................................................. 5 3.4 键盘扫描电路 .............................................................................................................. 7 3.5 蜂鸣器报警电路 .......................................................................................................... 8 3.6 数码管显示 .................................................................................................................. 9 4系统软件设计 ....................................................................................................................... 10

4.1 总体程序设计 ............................................................................................................ 10 4.2 抢答/答题时间设置 ................................................................................................... 10 4.3 数码管动态扫描程序 ................................................................................................ 11 5 仿真与测试分析 .................................................................................................................. 13

5.1 用Keil进行程序编译结果 ....................................................................................... 13 5.2 Proteus仿真结果 ........................................................................................................ 13 6 电路板的制作与调试 .......................................................................................................... 16

黄河科技学院毕业设计说明书 第 IV 页

6.1 制作 ............................................................................................................................ 16 6.2 调试 ............................................................................................................................ 16 结论 .......................................................................................................................................... 18 致谢 .......................................................................................................................................... 19 参考文献 .................................................................................................................................. 20 附录 .......................................................................................................................................... 21

附录A ............................................................................................................................... 21 附录B ............................................................................................................................... 21


八路抢答器毕业设计说明书.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:村级卫生室建设项目协议书

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

马上注册会员

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