文档详情

基于AT89S52的四路抢答器设计文档.doc

发布:2018-01-17约1.8万字共26页下载文档
文本预览下载声明
摘 要 随着现代娱乐节目及其它游戏环节的需要,也为了完善节目的紧张气氛和观众的互动,就出现了多路抢答器。很多人都抢答器作为一种工具,已广泛应用于各种智力和知识竞赛场合。抢答器的出现给人们带来极大的方便,它能准确无误的从若干名参赛选手中确定出最先抢答者,并且有显示,生效等功能。 本设计是以四路抢答为基本理念。考虑到依需设定限时回答的功能,利 用AT89S52单片机及外围接口实现的抢答系统,利用单片机的定时器/计数器定时和计数的原理,将软、硬件有机地结合起来,使得系统能够正确地进行计时,同时使数码管能够正确地显示时间。 关键词:抢答器;AT89S52 ABSTRACT With modern entertainment programs and other game loop,also need in order to improve the program of tension and the audience interaction.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 microcontroller 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. Key words:scare-answering device;AT89S52 目 录 1 设计课题任务、功能要求说明及方案介绍 ……………………………… 1 1.1 设计课题任务………………………………………………………… 1 1.2 功能要求说明………………………………………………………… 1 1.3 设计总体方案介绍及原理说明……………………………………… 1 2 硬件系统的设计 …………………………………………………………… 3 2.1 硬件系统各模块功能简要介绍……………………………………… 3 2.2 元器件清单…………………………………………………………… 3 3 软件系统的设计 …………………………………………………………… 5 3.1 使用单片机资源的情况……………………………………………… 5 3.2 软件系统各模块功能简要介绍……………………………………… 5 3.3 软件系统程序流程框图……………………………………………… 5 3.4 软件系统程序清单…………………………………………………… 9 4 设计结论、实际结果、误差分析、教学建议 ……………………………20 4.1 设计结论………………………………………………………………20 4.2 设计实物使用说明……………………………………………………20 4.3 设计课题的误差分析…………………………………………………20 4.4 设计体会………………………………………………………………20 4.5 教学建议………………………………………………………………21 结束语……………………………………………………………………………22 致谢……
显示全部
相似文档