毕业设计丁丹 (1)

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

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

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

资源描述

西安航空职业技术学院毕业设计(论文)论文题目:所属系部:电子工程系指导老师:职称:学生姓名:班级、学号:专业:西安航空职业技术学院制年月日2西安航空职业技术学院毕业设计(论文)任务书题目:任务与要求:时间:年月日至年月日共周所属系部:学生姓名:学号:专业:指导单位或教研室:指导教师:职称:西安航空职业技术学院制年月日毕业设计(论文)进度计划表3日期工作内容执行情况指导教师签字教师对进度计划实施情况总评签名年月日本表作评定学生平时成绩的依据之一。基于单片机数字秒表的设计【摘要】4近年来随着科技的飞速发展,单片机的应用正在不断的走向深入。本文阐述了基于单片机的数字电子秒表设计。本设计主要特点是计时精度达到0.01s,解决了传统的由于计时精度不够造成的误差和不公平性,是各种体育竞赛的必备设备之一。本设计的数字电子秒表系统采用8051单片机为中心器件,利用其定时器/计数器定时和记数的原理,结合显示电路、LED数码管以及外部中断电路来设计计时器。将软、硬件有机地结合起来,使得系统能够实现两位LED显示,显示时间为0~99.9秒,计时精度为0.1秒,能正确地进行计时,同时能记录一次时间,并在下一次计时后对上一次计时时间进行查询。其中软件系统采用汇编语言编写程序,包括显示程序,定时中断服务,外部中断服务程序,延时程序等,并在WAVE中调试运行,硬件系统利用PROTEUS强大的功能来实现,简单切易于观察,在仿真中就可以观察到实际的工作状态。关键字:单片机;数字电子秒表;仿真IAbstractWiththerapiddevelopmentofscienceandtechnologyinrecentyears,SCMapplicationsareconstant-depthmanner.Inthispaper,basedonsinglechipdesignofdigitalelectronicstopwatch.Themaincharacteristicsofthisdesigntimingaccuracyof0.01s,tosolvethetraditionalresultofalackaccuracyduetotimingerrorsandunfair,andisavarietyofsportscompetitions,oneoftheessentialequipment.InadditionthehardwarepartofthesetViewbuttononthestopwatchcanbethelasttimetosavetimeforuserqueries.Thedesignofthemulti-functionstopwatchsystemusesSTC89C52microcontrollerasthecentraldevice,anduseitstimer/countertimingandthecountprinciples,combinedwithdisplaycircuit,LEDdigitaltube,aswellastheexternalinterruptcircuittodesignatimer.Thesoftwareandhardwaretogetherorganically,allowingthesystemtoachievetwoLEDdisplayshowsthetimefrom0to99.99seconds,Timingaccuracyof0.01seconds,Beabletocorrectlytimeatthesametimetorecordatime,andthenexttimeafterthelasttimethetimetosearchautomaticallyaddedasecondinwhichsoftwaresystemsusingassemblylanguageprogramming,includingthedisplayprogram,timing,interruptservice,externalinterruptserviceroutine,delayprocedures,keyconsumershakingprocedures,andWAVEinthecommissioning,operation,hardwaresystemusestoachievePROTEUSpowerful,simpleandeasytoobservethecutinthesimulationcanbeobservedontheactualworkingcondition.Keyword:LEDdisplay;High-precisionstopwatch;80511目录绪论......................................................................................................................................................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数码管显示...........................................................................................................83数字秒表硬件设计............................................................................................................................103.1单片机硬件设计.........................................................................................................................103.1.1数字秒表电路设计...............................................................................................................103.1.2电源电路..............................................................................................................................113.1.3晶振电路的选择与设计.......................................................................................................113.1.4复位电路的选择与设计.......................................................................................................123.2系统总电路的设计.....................................................................................................................134软件设计..........................................................................................................................................134.1程序设计思想...........................................................................................................................134.1.1程序设计流程图..................................................................................................................144.1.2数字秒表主程序设计..................................................

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

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

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

×
保存成功