课程设计 多功能秒表报告

课程设计 多功能秒表报告

ID:18539651

大小:387.00 KB

页数:33页

时间:2018-09-18

课程设计 多功能秒表报告_第1页
课程设计 多功能秒表报告_第2页
课程设计 多功能秒表报告_第3页
课程设计 多功能秒表报告_第4页
课程设计 多功能秒表报告_第5页
资源描述:

《课程设计 多功能秒表报告》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、武夷学院课程设计(论文)基于单片机的多功能秒表设计院系:电子工程系专业(班级):09电信(一)班姓名:鞠建龙学号:20094081009指导教师:邵海龙职称:助教完成日期:2011年12月1日武夷学院教务处制摘要近年来随着科技的飞速发展,单片机的应用正在不断的走向深入。本文阐述了基于单片机的多功能电子秒表设计。本设计主要特点是具有倒计时功能,还可以按圈计时,而且误差在0.01,,是各种体育竞赛的必备设备之一,另外硬件部分设置了查看按键。本设计的数字电子秒表系统采用AT89C52单片机为中心器件,利用其定时器/计数器定时和记数的原理,结合显示电路、数码管以

2、及外部中断电路来设计计时器。将软、硬件有机地结合起来,使得系统能够实现8位LED显示,显示时间24小时内,计时精度为0.01秒,能正确地进行计时,同时能记录一次时间,并在下一次计时后对上一次计时时间进行查询。其中软件系统采用C语言编写程序,包括显示程序,定时中断服务延时程序等,并在KEIL中调试运行,硬件系统利用PROTEUS强大的功能来实现,简单切易于观察,在仿真中就可以观察到实际的工作状态。关键字:单片机;数字电子秒表;仿真AbstractWiththerapiddevelopmentofscienceandtechnologyinrecentyea

3、rs,SCMapplicationsareconstant-depthmanner.Inthispaper,basedonsinglechipdesignofdigitalelectronicstopwatch.Themaincharacteristicsofthisdesigntimingaccuracyof0.01s,tosolvethetraditionalresultofalackaccuracyduetotimingerrorsandunfair,andisavarietyofsportscompetitions,oneoftheessenti

4、alequipment.InadditionthehardwarepartofthesetViewbuttononthestopwatchcanbethelasttimetosavetimeforuserqueries.Thedesignofthemulti-functionstopwatchsystemusesSTC89C52microcontrollerasthecentraldevice,anduseitstimer/countertimingandthecountprinciples,combinedwithdisplaycircuit,LEDd

5、igitaltube,aswellastheexternalinterruptcircuittodesignatimer.Thesoftwareandhardwaretogetherorganically,allowingthesystemtoachievetwoLEDdisplayshowsthetimewithin24hours,Timingaccuracyof0.01seconds,Beabletocorrectlytimeatthesametimetorecordatime,andthenexttimeafterthelasttimethetim

6、etosearch.automaticallyaddedasecondinwhichsoftwaresystemsusingassemblylanguageprogramming,includingthedisplayprogram,timing,interruptservice,externalinterruptserviceroutine,delayprocedures,keyconsumershakingprocedures,andWAVEinthecommissioning,operation,hardwaresystemusestoachiev

7、ePROTEUSpowerful,simpleandeasytoobservethecutinthesimulationcanbeobservedontheactualworkingcondition.Keyword:LEDdisplay;High-precisionstopwatch;STC89C52目录1硬件设计71.1总体方案的设计71.2单片机的选择81.3显示电路的选择与设计101.4按键电路的选择与设计101.5时钟电路的选择与设计111.6系统总电路的设计122软件设计122.1程序设计思想132.2主程序设计132.3中断程序设计143电

8、子秒表的安装与调试153.1软件的仿真与调试153.2硬件的安装与调试15致谢1

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。