资源描述:
《篮球比赛计时器设计(20180526020732)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、YIBINUNIVERSITY本科毕业论文(设计)题i:篮球比赛计时器设计专业:电子信息工程学生姓名:伍海学生学号:100304007院系:物理与电子信息工程学院年级、班:2010级4班指导教师:邓凯2014年4月150摘要自从第二十世纪七十年代单片机的发明来,随着关注率非常高,所以被广泛的应用,发展速度十分快。因为是单片机的集成度很高,功效十分强大,通用性强,由于它具备体积很小、重量很轻、能耗相对低、价格也便宜、可靠性强、抗干扰本领强和使用方便等特有的优势,使单片机迅猛得被推广应用。目前己经成为首选模型的测量和控制应用系统和新的
2、电子产品的重耍组成部分,许多芯片控制的篮球计时计分系统也应运而生,如:用单片机控制液晶显示(LCD)计时器,用单片机控制LED七段显示器计时器等。而篮球比赛计时计分器是以单片机为主要核心,由计时器、综合控制器等构成。本设计使用模块化设计,其主体分为倒计时显示模块、定时报警模块、按键控制键盘模块。每一个模块的程序结构很简单明了、所完成的任务清楚,容易编写、调试和修正。程序可读性好,程序可以修改一部分,另一部分可以保持。编程后使用Keil软件进行编译,再将编成的hex文件置入芯片当中,使用Proteus软件仿真,检查它的功能是否能够正
3、常实现。然后用Protel99绘制硬件电路阁。此设计中系统硬件电路主耍由几部分构成:单片机AT89C51、倒计时显示电路、报警电路和按键。关键词:单片机,计时器,显示器,接口ABSTRACTSCMsincethe1970s,withextremelyhighcostperformancebypeople'sattentionandconcern,soapplicationisverywide,developingveryquickly.Asaresultofthehighlevelofintegration,thefunction
4、ofthesinglechipmicrocomputerisstrong,goodgenerality,inparticular,ithassmallvolume,lightweight,lowenergyconsumption,lowprice,highreliability,stronganti-interferenceabilityandeasytouseandotheruniqueadvantages,makeSCMquicklygotthepopularizationandapplication.Nowhasbecome
5、measurementtocontroltheoptimalselectionmodelofapplicationsystemandthekeypartsofthenewelectronicproducts,manywithsingle-chipmicrocomputercontrolgametimescoringsystemalsoarisesatthehistoricmoment,suchas:usingsingle-chipmicrocomputercontrolliquidcrystaldisplay(LCD)timer,
6、MCUcontrolLEDeven-segmentdisplaytimer,etc.Basketballtiming14-year-oldwithsingle-chipmicrocomputerasthecore,bythetimer,integratedcontroller,etc.Systemadoptsmodulardesign,mainbodyisdividedintotimingdisplaymodule,timingalarm,buttons,controlthekeyboardmodule.Eachmoduleoft
7、heprogramstructureissimple,taskclear,easytowrite,debug,andmodify.Programgoodreadability,theprogramcanbemodifiedlocally,otherpartcanremainthesame.AfterusingtheKeilC51programmingsoftwaretocompile,thenthegeneratedHEXfileintothechip,theProteussoftwaresimulation,testfuncti
8、onwillbenormal,thencanuseProtel99drawthehardwarecircuitdiagram.Thissysteminthedesignofhardwarecircuitmainlyconsistsofthefoll