毕设-多功能数字钟设计

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

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

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

资源描述

本科毕业设计论文1摘要数字钟已经成为我们生活中不可或缺的必需品,人们需要随时了解时间来安排自己的工作、学习等生活作息。设计一款电子钟对于电子信息专业学生也是一次很好的理论结合实际的锻炼。本论文设计采用AT89S52单片机作为控制核心,功耗小,能在3V的低压工作,电压可选用3~5V电压供电。时钟电路采用了美国DALLAS公司推出的具有涓细电流充电能的低功耗实时时钟电路DS1302。它可以对年、月、日、周日、时、分、秒进行计时,还具有闰年补偿等多种功能,而且DS1302的使用寿命长,误差小。本设计对于数字钟显示采用了LCD液晶显示屏,LCD液晶显示屏,液晶显示屏的显示功能强大,可显示大量文字,图形,显示多样,清晰可见,省了很多麻烦。本设计还增加了温度测量功能和闹铃功能。此次设计与制做数字钟就是为了了解数字钟的原理,从而学会制作数字钟.而且通过数字钟的制作进一步的了解各种在制作中用到的中小规模集成电路的作用及实用方法.且由于数字钟包括组合逻辑电路和时序电路.通过它可以进一步学习与掌握各种组合逻辑电路与时序电路的原理与使用方法.本论文设计的电子钟具有读取方便、显示直观、功能多样、电路简洁多优点。关键词:时间,数字钟,单片机,逻辑电路,时序电路本科毕业设计论文2AbstractAdigitalclockhasbecomeourlifeessentials,peopleneedtounderstandtimetoarrangetheirwork,tudylifeandrest.DesignaedigitalclockforstudentsofelectronicinformationisagoodexerciseofcombiningtheorywithpracticeThispaperadoptsAT89S52SCMcontroldesignasthecore,powerconsumptionissmall,canworkinthelowvoltage3V,canchoose3~5Vvoltagepowersupply.TheclockcircuitusestheDALLAScompanyhasJuanfinecurrentchargeoflow-powerreal-timeclockDS1302circuit.Itcanbeontimeforyear,month,day,week,,minutesandseconds,alsohasavarietyoffunctionssuchasaleapyearcompensation.DS1302andtheuseinglifeislong,smallerror.ThisdesignforadigitalclockshowsadoptedLCDdisplay,itcandisplayapowerfulfunction,suchastextgraphics,showdiversity,visible,savedalotoftrouble.Thisdesignhasincreasedtemperaturemeasurementfunctionandalarmfunction.Thedesignandmakingofdigitalclockistounderstandtheprinciple,thustomakeadigitalclock.Andthroughthedigitalclockmakefurtherunderstandingofvariousinproductioninsmallscaleintegratedcircuitandpracticalmethod.Andbecauseofadigitalclockincludingassemblylogiccircuitandsequentialcircuit.Throughitcanbefurthertolearnandmasteralltheassemblylogiccircuitandthesequentialcircuitsusingtheprincipleandmethod.Thispaperdesignsadigitalclockisconvenient,intuitiveandvariousfunctions,simplecircuitmoreadvantages.KEYWORDS:time,digitalclock,SCM,ogicalcircuit,sequentialcircuit本科毕业设计论文3目录第一章绪论...............................................................51.1课题背景.............................................................................................................................................51.2课题意义.............................................................................................................................................51.3本文的主要工作................................................................................................................................6第二章电路的硬件设计与实现................................................72.1电路方案的选取................................................................................................................................72.1.1单片机芯片的选择方案...............................................72.1.2显示模块选择方案...................................................72.1.3电路设计最终方案决定...............................................72.2系统硬件介绍.........................................................82.2.1AT89C52单片机简介.................................................82.3主要单元电路的设计...................................................92.3.1单片机主控制模块的设计.............................................92.3.2时钟电路模块的设计................................................102.3.3电路原理及说明....................................................112.3.4温度测量模块的设计................................................132.3.5显示模块的设计....................................................162.3.6闹铃模块电路设计..................................................16第三章电路的软件设计.....................................................173.1程序流程框图........................................................173.2子程序流程图........................................................18第四章数字钟功能仿真.....................................................194.1Proteus软件简介....................................................194.1.1进入ProteusISIS.................................................194.1.2工作界面..........................................................204.1.3基本操作..........................................................204.2Protues运行........................................................264.3按键功能介绍:......................................................264.3.1主界面按键功能由上而下依次为:....................................264.4仿真结果显示........................................................274.4.1上电后后LED显示..................................................274.4.2调节分钟..........................................................274.4.3调节小时..........................................................28本科毕业设计论文44.4.4调节日期..........................................................284.4.5调节月份..........................................................294.4.6调节年份..........................................................294.4.7点击闹铃关闭键显示................................................30参考文献..................................................................31致谢........................................................................32毕业设计总结................................................................33附录一:系统电路图..........................................................34附录二:仿真程序.................................................

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

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

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

×
保存成功