文档详情

单片机课程设计位抢答器设计论文资料.doc

发布:2016-04-03约8.62千字共25页下载文档
文本预览下载声明
单片机课程设计报告 项目名称 基于单片机的抢答器设计 专业班级 通信111班 学生姓名 #### 指导教师 ###### 2013年月日制 Abstract This design use TC89C52as the core control element is presented to design a simple responder, this scheme is STC89C52 single chip microcomputer as control core, light-emitting diode, digital tube, buzzer and so on four road vies to answer first device, using the single chip microcomputer button reset circuit, clock circuit, timing/interrupt circuit, design of vies to answer first appliance has the characteristic of real-time display vies to answer first contestants number, and reset circuit, to start a new round of the answer and, at the same time also use of C language programming, make it implements some basic functionality. The design of the system is practical, accurate judgment, simple operation, strong extended functionality. Its function realization is the match began, and the host to read the topic after press the main switch, the digital tube display initial condition 0, until there is a contestant vies to answer first, the corresponding in the contestants serial number is shown on the digital tube, light-emitting diodes, flicker status at the same time, the buzzer will sound, to remind someone vies to answer first ontology, host press the reset button, the signal can be the answer. Keywords: STC89C52 microcomputer; Dynamic display; Interrupt; The key control 目 录 I Abstract II 第1章 绪论 1 1 1.2 单片机抢答器的意义 1 1.3 抢答器的应用 1 第2章 系统硬件部分的设计 2 2.1 设计要求 2 2.2 总体设计方案 2 2.3 单元模块设计 3 2.3.1 单片机简介 3 2.3.2 最小系统的设计 5 2.3.3 数码管显示电路 6 2.3.4 按键模块设计 6 第章 系统的软件设计 8 8 3.2 流程图 8 3.3 KEIL软件简介 9 第章 11 4.1 软件的仿真与调试 11 4.2 硬件的安装与调试 11 4.2.1晶振电路的测试 12 4.2.2复位电路的测试 12 4.2.3显示电路的测试 12 总结 13 参考文献 14 15 附录2 元件清单 17 附录3 仿真图 18 附录4 实物照片展示 19 致谢 20 绪论 第2章 系统硬件部分的设计 2.1 设计要求 (1)总共6个按键,两个供主持人用于“开始抢答”和“复位”操作,四个供四个选手用作“抢答”操作。 (2)用1个发光二极管用作开始抢答的指示灯,用4个发光二极管分别显示4个选手的抢答状态。 (3)开始抢答后,哪个选手抢答键最先按下,抢答指示灯点亮,蜂鸣器报警,数码管显
显示全部
相似文档