基于单片机的竞赛抢答器系统设计

2019-06-11 11:13

毕业设计说明书

基于单片机的竞赛抢答器系统

设计

专业 自动化 学生姓名 班学级 号 B自动化 091060 指导教师 完成日期

盐城工学院本科生毕业设计说明书( 2013)

毕业设计说明书(毕业论文)

独创性声明

本人声明所呈交的毕业设计说明书(毕业论文)是本人在导师指导下进行的研究、设计工作后独立完成的。除了文中特别加以标注和致谢的地方外,说明书中不包含其他人己经发表或撰写过的研究成果。对本文的研究所做贡献集体和个人,均己在说明书中作了明确的说明并表示谢意。本人完全意识到本声明的法律后果由本人承担。

毕业设计说明书(毕业论文)作者签名(手写): 日期: 年 月 日

指导教师签名(手写): 日期: 年 月 日

盐城工学院本科生毕业设计说明书( 2013)

基于单片机的竞赛抢答器系统设计

摘 要:在现在的抢答比赛中需要高效准确的确定第一抢答者,那么一个功能完

善的抢答器可以准确公正直观的确定第一抢答者,所以对于基于单片机的竞赛抢答器系统设计的研究是有重要意义的。

设计需要了解数字电子技术、模拟电子技术,同时需要对单片机理论有相当的了解。目标是实现八路竞赛抢答器的设计。设计使用蜂鸣器报警、数码管显示、按钮输入,使用51系列单片机通过软件编程进行数据处理,从而实现八路抢答器的设计。硬件电路主要是进行模块化设计,最后连接成一个整体的硬件电路。软件设计是采用汇编语言编程。软件方面主要通过单片机的汇编程序进行数据的处理。抢答器的判定都是使用单片机进行处理的,从而杜绝了人为的作弊。本次设计的系统能实现抢答器基本功能,同时有报警和倒计时功能。本次设计的实物体积比较小巧,同时成本比较低廉,维护起来非常方便系统实用性强、判断精确、操作简单、扩展功能强。由于目前小型比赛较多,价格低廉容易转移的抢答器会有较大的市场。 关键词:八路抢答器;AT89C51;报警;计时

盐城工学院本科生毕业设计说明书( 2013)

Contest for microcontroller-based system design

Abstract: In today’s game first responder responder needs to determine the accurate and efficient, so a perfect function of the responder can determine the first answer accurately and fairly intuitive, so for the competition responder system design based on single chip microcomputer research has important significance.

This design need to understand the digital electronic technology, analog electronic technology, at the same time need to be knowledgeable of SCM theory. Goal is to realize the eight-way responder design competition. This design USES a buzzer alarm, digital tube display, buttons, input, using 51 series single-chip microcomputer by software programming for data processing, so as to realize eight-way responder design. Hardware circuit is mainly carries on the modular design, the hardware circuit connection into a whole. Software design is to use assembly language programming. Software mainly by MCU assembly program for data processing. Buzzer judgement is to use single chip microcomputer for processing, so as to put an end to cheating in the man-made. The basic function design of the system can realize the buzzer, alarm and count down function. This design in small physical volume, at the same time, the cost is low, it is very convenient to maintain the system, with strong practicality, judgment accuracy, simple operation, strong function. Cheap price, because of the small game is at present more easier to transfer the responder has the larger market. Key Words: Eight–way responder; AT89C51; Alarm; Time

盐城工学院本科生毕业设计说明书( 2013)

目 录

1 概 述 ........................................................................................................................ 1

1.1 选题背景及意义 .................................................................................................. 1 1.2 抢答器功能介绍 .................................................................................................. 1 2 系统硬件设计 ................................................................................................................ 3

2.1 总体方案设计 ...................................................................................................... 3 2.2 单片机介绍 .......................................................................................................... 4 2.3 键盘扫描电路 ...................................................................................................... 6 2.4 报警电路 .............................................................................................................. 7 2.5 显示电路 .............................................................................................................. 8 3 系统程序设计 .............................................................................................................. 10

3.1 主程序 ................................................................................................................ 10 3.2 正常抢答 ............................................................................................................ 12 3.3 犯规抢答 ............................................................................................................ 13 3.4 显示程序 ............................................................................................................ 14 3.5 报警程序 ............................................................................................................ 14 3.6 抢答时间调整子程序 ........................................................................................ 14 4 系统仿真调试 .............................................................................................................. 16

4.1 Keil uVision2软件调试 ...................................................................................... 16 4.2 Proteus仿真 ........................................................................................................ 16 5 实物电路制作以及调试 .............................................................................................. 19 6 结束语 .......................................................................................................................... 21 参 考 文 献 .................................................................................................................... 22 致 谢 .......................................................................................................................... 23 附 录 .......................................................................................................................... 24

附录1: 程序清单 ..................................................................................................... 24 附录2: 设计图纸 ..................................................................................................... 32 附录3: 元器件目录表 ............................................................................................. 36


基于单片机的竞赛抢答器系统设计.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:电机及拖动基础题库及详解第一章

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

马上注册会员

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