您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 桂电单片机课程设计-数码管显示电子钟
课程设计(论文)说明书题目:数码管显示电子钟院(系):机电工程学院专业:机械设计制造及其自动化学生姓名:李长錦学号:1200110411姓名:恽志东职称:教授2015年12月15日桂林电子科技大学课程设计(论文)报告用纸摘要电子钟主要是利用电子技术将时钟电子化、数字化,拥有时钟精确、体积小、可拓展性能强等特点,被广泛用于生活和工作中去。本文阐述了系统的硬件工作原理,所应用的各个接口模块的功能以及其工作过程,论证了设计方案理论的可行性。主要为实现一款可正常显示时间、带有24h/12h制调整、带有AM/PM显示以及时间校准功能的一款基于单片机仿真的多功能电子钟。本文对设计要求的功能进行了分析和比较,确定了提供电源、界面显示、输入等方案。本设计采用AT89S52芯片作为核心,以时钟电路、复位电路为辅助电路,用Proteus软件自带的电子钟组件实现高度仿真的显示结果。软件部分主要采用简单且应用广泛的C51语言编写实现。这种仿真的电子钟具有电路简单、读取方便、显示直观、功能多样、时间精度较高、操作简单、编程容易、成本低廉等很多优点,符合电子仪器仪表的发展趋势,具有广阔的市场前景。关键词:单片机;电子钟;控制器;仿真AbstractElectronicclockistheuseofelectronictechnologytomakeclockelectronicanddigital.Withapreciseclock,smallsizeandcanbeabletodevelopstrongperformancecharacteristics,soarewidelyusedtoliveandwork.Thispaperdescribesthehardwareworks,thefunctionsofeachinterfacemoduleanditsworkingprocess,demonstratesdesigntheoryisFeasibility.Toachieveanormaldisplaytimewith24h/12hsystemadjustments,withtheAM/PMdisplayandtimecalibrationfunctionofasimulationbasedonsinglechipmulti-functionelectronicclock.Inhispaperthedesignrequirementsofthefunctionareanalyzedandcompared,determinedtoprovidepower,interfacedisplay,inputprogram.ThisdesignadoptsAT89S52chipasthecore,withaclockcircuit,resetcircuit,usingProteusSoftwarecomeswiththeelectronicclockassemblytoachieveahighdegreeofsimulationresult.SoftwarepartmainlyusesawiderangeofC51language.Thissimulationelectronicclockhastheadvantagesofsimplecircuit,convenientreading,visualdisplay,multiplefunctions,highprecision,simpleoperation,timeprogrammingiseasy,lowcostandmanyotheradvantages,inlinewiththedevelopmenttrendofelectronicinstrumentation,andhasbroadmarketprospects.Keywords:MCU;electronicclock;controller;simulation桂林电子科技大学课程设计(论文)报告用纸目录引言......................................................11设计任务................................................22总体方案选择及论证......................................22.1电源方案选择........................................................................................................................22.2显示方案选择........................................................................................................................22.3输入方案选择........................................................................................................................22.4最终方案确定........................................................................................................................23总体方案介绍及工作原理说明...............................33.1数字电子钟硬件与软件原理框图............................................................................................33.2工作原理介绍........................................................................................................................34系统硬件设计及实现......................................44.1整体方案设计........................................................................................................................44.2单片机的基本结构.................................................................................................................44.3时钟电路...............................................................................................................................74.4复位电路...............................................................................................................................74.5按键电路...............................................................................................................................84.6四位一体数码管显示电路......................................................................................................84.7元器件清单........................................................................................................................105系统软件设计及实现.....................................105.1主程序流程图.....................................................................................................................115.2时间显示流程图.................................................................................................................11桂林电子科技大学课程设计(论文)报告用纸5.3键盘扫描子程序框图..........................................................................................................125.4中断流程图........................................................................................................................125.5显示子程序框图.................................................................................................................146仿真...................................................146.1仿真步骤............................................................................................................................146.2仿真过程中出现的错误及解决措施.....................................................................................156.3系统仿真结果.....................................................................................................................157电路板制作和元件的焊接..................................167.1制作流程............................................................................................................................167.2电子钟实物图.................................................................................................
本文标题:桂电单片机课程设计-数码管显示电子钟
链接地址:https://www.777doc.com/doc-72093 .html