单片机的课程设计范文(四路抢答器的课程设计)资料.doc
文本预览下载声明
《单片机技术》课程设计说明书
抢答器
院 、 部: 电气与信息工程学院
学生姓名: 蔡双
指导教师: 王韧 职称 副教授
专 业: 电子信息工程
班 级: 电子1002班
完成时间: 2012-12-23
摘 要
随着现代娱乐节目及其它游戏环节的需要,也为了完善节目的紧张气氛和观众的互动,就出现了多路抢答器。很多人都抢答器作为一种工具,已广泛应用于各种智力和知识竞赛场合。本设计是以路抢答为基本理念。考虑到依需设定限时回答的功能,利用AT89单片机及外围接口实现的抢答系统,利用单片机的定时器/计数器定时和数的原理,将软、硬件有机地结合起来使得系统能够正确地进行计时,同时使数码管能够正确地显示时间。使得系统能够正确地进行计时,同时使数码管能够正确地显示时间。Many people are scare-answering device as a tool, has been widely applied in all kinds of intelligence and knowledge competition situation.The emergence of the vies to answer first people brings great convenience .It can accurate from several of participating in the first vies to answer first determine.And have a show,sound effects and other functions.
This design is 4 vies for basic ideas. Considering according to need to set limit to answer function, using AT89S52 and periphery interface implementation of scare-answering system, of the micro controller timer/counter timing and numeration principle, software and hardware organically, and makes the system can correctly to the time, at the same time making digital tube can properly shows the time.It is the realization of the function of the host key to control the main switch, the press switch player began to vies to answer first, the digital tube began to count, and the players must be within the prescribed time vies to answer first, if more than the time havent vies to answer first then vies to answer first failure, if in a within the time prescribed by the vies to answer first success is the rest of the players can no longer vies to answer first, in the digital tube will display station number, a buzzer sound, other vies to answer first button is invalid.
Key words scare-answering device;AT89S52
目 录
1 抢答器总体设计 1
1.1 设计任务 1
1.2 功能要求说明 1
1.3 设计总体方案及工作原理说明 1
2 硬件电路设计 2
2.1 单元电路设计 2
2.2 电路原理图 2
2.3 PCB图及元器件布局图 3
2.4 元器件清单 3
3 软件电路设计 4
3.1 使用单片机资源的情况 4
3.2 各模块功能简要介绍 4
3.3 程序流程框图 4
3.4 程序清单 9
显示全部