您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 数码管电子钟的设计及实现
编号:201234140115本科毕业设计数码管电子钟的设计及实现院系:信息工程学院姓名:学号:0835140115专业:通信工程年级:2008级指导教师:职称:完成日期:2012年5月摘要II电子钟主要是利用电子技术将时钟电子化、数字化,拥有时钟精确、体积小、可拓展性能强等特点,被广泛用于生活和工作中去。本文主要为实现一款可正常显示时间、带有24h/12h制调整、带有AM/PM显示以及时间校准功能的一款基于单片机仿真的多功能电子钟。本文对设计要求的功能进行了分析和比较,确定了提供电源、界面显示、输入等方案。本设计采用AT80C51芯片作为核心,以时钟电路、复位电路为辅助电路,用Proteus软件自带的电子钟组件实现高度仿真的显示结果。软件部分主要采用简单且应用广泛的C51语言编写实现。这种仿真的电子钟具有电路简单、读取方便、显示直观、功能多样、时间精度较高、操作简单、编程容易、成本低廉等很多优点。设计主要是用Proteus电路软件实现电子管的仿真。经过改装,添加部分功能所生产出的产品即可应用于一般的生活和工作中,从而给人们的生活和生产带来便利,符合电子仪器仪表的发展趋势,具有广阔的市场前景。关键词:单片机;电子钟;控制器IIIAbstractElectronicclockistheuseofelectronictechnologytomakeclockelectronicanddigital.Withapreciseclock,smallsizeandcanbeabletodevelopstrongperformancecharacteristics,soarewidelyusedtoliveandwork.Inthispaper,toachieveanormaldisplaytimewith24h/12hsystemadjustments,withtheAM/PMdisplayandtimecalibrationfunctionofasimulationbasedonsinglechipmulti-functionelectronicclock.Inhispaperthedesignrequirementsofthefunctionareanalyzedandcompared,determinedtoprovidepower,interfacedisplay,inputprogram.ThisdesignadoptsAT80C51chipasthecore,withaclockcircuit,resetcircuit,usingProteusSoftwarecomeswiththeelectronicclockassemblytoachieveahighdegreeofsimulationresult.SoftwarepartmainlyusesawiderangeofC51language.Thissimulationelectronicclockhastheadvantagesofsimplecircuit,convenientreading,visualdisplay,multiplefunctions,highprecision,simpleoperation,timeprogrammingiseasy,lowcostandmanyotheradvantages.ThedesignismainlyuseProteussoftwaretorealizetheelectronictubesimulationcircuit.Aftermodification,addingsomefunctionstoproduceproductsthatcanbeappliedtopeople’slifeandproduction,inlinewiththedevelopmenttrendofelectronicinstrumentation,andhasbroadmarketprospects.Keywords:SCM;electronicclock;controllerIV目录1绪论......................................................................................................................................11.1数字电子钟的背景和意义...........................................................................................11.2本设计研究的主要内容...............................................................................................22系统总体设计及方案论证..................................................................................................32.1提供方案.......................................................................................................................32.2显示界面方案...............................................................................................................32.3输入方案.......................................................................................................................43系统硬件设计及实现..........................................................................................................53.1整体方案设计...............................................................................................................53.2单片机的基本结构.......................................................................................................63.3其它电路设计...............................................................................................................83.3.1时钟电路................................................................................................................83.3.2复位电路................................................................................................................93.3.3数码管显示电路..................................................................................................104系统软件设计及实现........................................................................................................144.1主程序流程图.............................................................................................................144.2时间调整程序流程图.................................................................................................155Proteus软件仿真................................................................................................................175.1Proteus软件简介.........................................................................................................175.2仿真步骤.....................................................................................................................175.3仿真过程中出现的错误及解决措施.........................................................................175.4仿真结果.....................................................................................................................18总结........................................................................................................................................20参考文献................................................................................................................................21V致谢........................................................................................................................................22附录........................................................................................................................................23绪论11绪论1.1数字电子钟的背景和意义20世纪末电子技术获得了飞速的发展,在其推动下,现代电子产品几乎渗透了社会的各个领域,有力地推动了社会生产力的发展和社会信息化程度的提高,同时也使现代电子产品性能进一步提高,产品更新换代的节奏也越来越
本文标题:数码管电子钟的设计及实现
链接地址:https://www.777doc.com/doc-71434 .html