您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 机械/模具设计 > MCS-51单片机的数字钟设计
毕业设计(论文)题目:基于MCS-51单片机的数字钟设计系别:电子与信息工程系专业:电子信息工程班级:电子0204班学生姓名:导师姓名:__起止时间:3.21至6.10年6月5日I[摘要]..............................................................................................III[ABSTRACT]...................................................................................IV引言....................................................................................................11绪论.................................................................................................21.1集成电路.................................................................................21.2主要技术的背景....................................................................21.2.1发展历史..............................................................................21.2.2现状......................................................................................31.2.3发展趋势........................................................................32器件简介.........................................................................................42.1LED显示器............................................................................42.1.1LED显示器的结构.........................................................42.1.2LED的接线形式.............................................................52.2AT89C52简介...........................................................................52.2.1AT89C52主要性能参数:.............................................52.2.2AT89C52单片机的功能特性概述:.............................62.3DS1302芯片.............................................................................92.3.1DS1302的性能特性:...................................................92.3.2DS1302数据操作原理..................................................102.474LS164-八位移位寄存器................................................142.4.174LS64简介...................................................................142.4.274LS164逻辑介绍:...................................................153硬件电路.......................................................................................173.1线路的设计...........................................................................173.1.1电源转换模块..............................................................183.1.2主控制模块..................................................................183.1.3显示模块......................................................................193.1.4键盘接口设计..............................................................203.2电路图的绘制.........................................................................203.3电路板的焊接.......................................................................20II3.4打开电源前应注意的问题...................................................204软件设计部分...............................................................................214.1阳历程序的设计...................................................................214.2时间调整程序设计...............................................................214.3阴历程序设计.......................................................................235调试...............................................................................................286小结...............................................................................................297致谢...............................................................................................308参考文献.......................................................................................319附录...............................................................................................32III[摘要]该课题研究用经济的手段使人们能方便地得知当前的年历时间,以及安全生产累计天数,提高生产人员的警惕性,达到减少事故的目的。本文简要介绍了LED显示的发展状况和其所特有的优势,简述了该系统中一些重要芯片的基本工作原理,着重论述了硬件线路各个模块的设计思想和软件关键部分的实现方法。数码管与单片机的接口采用动态显示技术,利用了RTC芯片的系统自带电池功能来实现断电时保存一些重要数据,以便来电时正确显示信息的功能。模块化的设计和调试方法在整个课题研究过程中至关重要,事实上在任何设计中也同样关键和有效。[关键字]LED显示RTC芯片动态IV[Abstract]Thistopictriestoattainthepurposeofreducingtroublesbymakingiteasierforworkerstoknowrealtimeandthetotaldaysduringwhichinstrumentsareingearbycost-effectivemeans.ThispapergivesageneraldescriptionofdevelopmentsituationofLEDdisplayandadvantagesofLEDproductsasdisplay.Italsointroducesthebasicfunctionsofsomerelativevitalchipsbrieflyandemphasizesinclarifyingthedesignofrelativelyindependentmodules.Solutionsofthekeypartsarealsointroducedwithparticulardescription.DynamicdisplayinterfacebetweenLEDdisplayandMCUareused.Italsocansavesomeimportantdataatthemomentofpower-offbymakinguseofRTCchip'ssystemself-containedbatteryinordertomakesureaccurateinformationarepresentwheneverpower-on.Modularizeddesignanddebugaremostimportantinthewholecourseofthetopicresearch.Infact,itisaswellasvitalandeffectiveinanyotherdesigncourse.[Keywords]logicclockRTCChipDynamic1引言随着生活水平的提高,人们越来越追求人性化的事物,传统的时钟已不能满足人们的需求。现代的数字钟不仅需要数字电路技术而且需要模拟电路技术和单片机技术,增加了数字钟的功能。其电路可以由实时时钟模块、环境温度检测模块、人机接口模块、报警模块等部分组成。利用软件编程尽量做到硬件电路简单稳定,减小电磁干扰和其他环境干扰,充分发挥软件编程的优点,减小因元器件精度不够引起的误差,但是数字钟还是可以改进和提高如选用更精密的元器件。但与机械式时钟相比已经具有更高的准确性和直观性,且无机械装置,具有更长的使用寿命,因此得到了广泛的使用数字钟是采用数字电路实现对.时,分,秒.数字显示的计时装置,广泛用于个人家庭,车站,码头办公室等公共场所,成为人们日常生活中不可少的必需品,由于数字集成电路的发展和石英晶体振荡器的广泛应用,使得数字钟的精度,远远超过老式钟表,钟表的数字化给人们生产生活带来了极大的方便,而且大大地扩展了钟表原先的报时功能。诸如定时自动报警、按时自动打
本文标题:MCS-51单片机的数字钟设计
链接地址:https://www.777doc.com/doc-3175603 .html