基于单片机的抢答器设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

毕业设计报告(论文)题目:基于单片机的抢答器设计所属系电子工程系专业自动化学号01208429姓名陈凯凯指导教师陈刚起讫日期2012.3---2012.5设计地点东南大学成贤学院东南大学成贤学院毕业设计报告(论文)诚信承诺本人承诺所呈交的毕业设计报告(论文)及取得的成果是在导师指导下完成,引用他人成果的部分均已列出参考文献。如论文涉及任何知识产权纠纷,本人将承担一切责任。学生签名:陈凯凯日期:2012年5月9日星期三I摘要随着科学技术的发展和普及,各种各样的竞赛越来越多,其中抢答器的作用也就显而易见。目前很多抢答器基本上采用小规模数字集成电路设计,使用起来不够理想,因此设计一种更易于使用和区分度高的抢答器就成了非常迫切的任务。现在单片机已进入各个领域,以其功耗小、智能化而著称,所以若有单片机来设计抢答器,更使以上的问题得以解决,针对以上的情况,本文主要以AT89S52单片机为核心器件,设计实现了八路抢答器系统。利用C语言编程及单片机芯片与外围硬件电路来实现八路抢答、锁存、显示、定时、报警、清零和优先抢答等功能。工作时,用按键通过开关电路输入各路的抢答信号,经单片机的处理,输出控制信号,控制数码管和其它硬件工作。在数码管上显示优先答题组号以及答题之后的分数,从而实现整个抢答过程。关键词:单片机;AT89S52;数码管;八路抢答器IIAbstractWiththedevelopmentandpopularizationofscienceandtechnology,moreandmorevarietyintothecontest,whichwillcleartheroleofResponder.Responderbasicallypresent,manysmall-scaledigitalintegratedcircuitdesign,isnotidealtouse,sothedesigniseasiertouseanddistinguishbetweenahighofResponderhasbecomeaveryurgenttask.NowhaveaccesstoallareasofSCM,withitslowpowerconsumption,knownforintelligent,soifRespondermicrocontrollertodesign,moresothantheproblemsareresolved,fortheabove,thispapermainlyAT89S52microcontrollerasthecorecomponentdesignAchievedeightRespondersystem.UseofClanguageprogrammingandmicrocontrollerchipsandhardwaretoachievetheeightperipheralanswerin,latch,display,time,alarm,clearanswerinotherfunctionsandpriorities.Work,withthekeyswitchcircuitbytheanswerintheinputsignalsfromvariousquarters,theMCU'sprocessing,theoutputcontrolsignaltocontrolthedigitalpipesandotherhardwarework.Priorityinthedigitaldisplaygroupnumberandtheanswerafteranswerthescore,inordertoachievetheanswerintheprocess.Keywords:microcontroller;AT89S52;OctalLED;ResponderIII目录摘要...............................................................................................................................................................................IAbstract....................................................................................................................................................................II第一章绪论................................................................................................................................................................11.1单片机抢答器的背景..................................................................................................................................11.2单片机抢答器的意义..................................................................................................................................11.3抢答器的应用..............................................................................................................................................11.4方案设计......................................................................................................................................................21.4.1方案一用数字电路制作................................................................................................................21.4.2方案二用单片机制作抢答器........................................................................................................2第二章系统设计..........................................................................................................................................................32.1单片机的介绍...............................................................................................................................................32.1.1单片机AT89S52基本知识..............................................................................................................32.1.3单片机AT89S52的使用..................................................................................................................32.1.4单片机AT89S52的特性..................................................................................................................42.2.2LED数码管的引脚说明...................................................................................................................72.2.3数码管编码说明..............................................................................................................................9第三章硬件设计........................................................................................................................................................103.1单片机最小系统电路................................................................................................................................103.2报警电路....................................................................................................................................................113.3四位数码管显示电路................................................................................................................................123.4主持人按键电路........................................................................................................................................133.5选手抢答按键电路....................................................................................................................................143.6电路原材料清单......................................................................................................................................

1 / 34
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功