基于单片机数字秒表的设计 毕业设计

基于单片机数字秒表的设计 毕业设计

ID:326164

大小:457.00 KB

页数:28页

时间:2017-07-23

基于单片机数字秒表的设计  毕业设计_第1页
基于单片机数字秒表的设计  毕业设计_第2页
基于单片机数字秒表的设计  毕业设计_第3页
基于单片机数字秒表的设计  毕业设计_第4页
基于单片机数字秒表的设计  毕业设计_第5页
资源描述:

《基于单片机数字秒表的设计 毕业设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、基于单片机数字秒表的设计【摘要】近年来随着科技的飞速发展,单片机的应用正在不断的走向深入。本文阐述了基于单片机的数字电子秒表设计。本设计主要特点是计时精度达到0.01s,解决了传统的由于计时精度不够造成的误差和不公平性,是各种体育竞赛的必备设备之一。本设计的数字电子秒表系统采用8051单片机为中心器件,利用其定时器/计数器定时和记数的原理,结合显示电路、LED数码管以及外部中断电路来设计计时器。将软、硬件有机地结合起来,使得系统能够实现两位LED显示,显示时间为0~99.9秒,计时精度为0.1秒,能正确地进行计时,同时能记录一次时间,并在下一次计时后对上一次计时时间

2、进行查询。其中软件系统采用汇编语言编写程序,包括显示程序,定时中断服务,外部中断服务程序,延时程序等,并在WAVE中调试运行,硬件系统利用PROTEUS强大的功能来实现,简单切易于观察,在仿真中就可以观察到实际的工作状态。关键字:单片机;数字电子秒表;仿真2AbstractWiththerapiddevelopmentofscienceandtechnologyinrecentyears,SCMapplicationsareconstant-depthmanner.Inthispaper,basedonsinglechipdesignofdigitalelectro

3、nicstopwatch.Themaincharacteristicsofthisdesigntimingaccuracyof0.01s,tosolvethetraditionalresultofalackaccuracyduetotimingerrorsandunfair,andisavarietyofsportscompetitions,oneoftheessentialequipment.InadditionthehardwarepartofthesetViewbuttononthestopwatchcanbethelasttimetosavetimeforu

4、serqueries.Thedesignofthemulti-functionstopwatchsystemusesSTC89C52microcontrollerasthecentraldevice,anduseitstimer/countertimingandthecountprinciples,combinedwithdisplaycircuit,LEDdigitaltube,aswellastheexternalinterruptcircuittodesignatimer.Thesoftwareandhardwaretogetherorganically,al

5、lowingthesystemtoachievetwoLEDdisplayshowsthetimefrom0to99.99seconds,Timingaccuracyof0.01seconds,Beabletocorrectlytimeatthesametimetorecordatime,andthenexttimeafterthelasttimethetimetosearchautomaticallyaddedasecondinwhichsoftwaresystemsusingassemblylanguageprogramming,includingthedisp

6、layprogram,timing,interruptservice,externalinterruptserviceroutine,delayprocedures,keyconsumershakingprocedures,andWAVEinthecommissioning,operation,hardwaresystemusestoachievePROTEUSpowerful,simpleandeasytoobservethecutinthesimulationcanbeobservedontheactualworkingcondition.Keyword:LED

7、display;High-precisionstopwatch;805126目录绪论21引言31.1秒表及其发展现状31.2设计方案31.2.1设计内容31.2.2设计要求41.2.3系统方案42元器件的概述及选择52.1单片机的选择52.1.1AT89C51单片机介绍52.1.274LS164的介绍62.1.3两位LED数码管显示73数字秒表硬件设计93.1单片机硬件设计93.1.1数字秒表电路设计93.1.2电源电路103.1.3晶振电路的选择与设计103.1.4复位电路的选择与设计113.2系统总电路的设计124软件设计124.1程序设计思想124.1.1

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

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

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