您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 基于51单片机和lcd1602的万年历设计
基于51单片机和lcd1602的万年历设计常熟理工学院毕业设计(论文)I基于单片机的万年历设计摘要古人依靠日冕、漏刻记录时间,而随着科技的发展,电子万年历已经成为日渐流行的日常计时工具。本文研究的万年历系统拟用STC89C52单片机控制,以DS1302时钟芯片计时、DS18B20采集温度、1602液晶屏显示。系统主要由温度传感器电路,单片机控制电路,显示电路以及校正电路四个模块组成。本文阐述了系统的硬件工作原理,所应用的各个接口模块的功能以及其工作过程,论证了设计方案理论的可行性。系统程序采用C语言编写,经Keil软件进行调试后在Proteus软件中进行仿真,可以显示年、月、日、星期、时、分、秒和温度并具有校准功能和与即时时间同步的功能。实验结果表明此万年历实现后具有读取方便、显示直观、功能多样、电路简洁等诸多优点,符合电子仪器仪表的发展趋势,具有广阔的市场前景。关键词:万年历单片机仿真常熟理工学院毕业设计(论文)IITheCalendarofDesignbasedonSingleChipAbstractAncientrelyoncorona,Loukerecordingtime.Theelectroniccalendarhasbecomethepopulartoolforthedailytiming.asthedevelopmentoftechnology.Inthecalendarsystem,theSTC89C52isusedtocontrol,withtheDS1302clockchiptiming,DS18B20collectingtemperature,1602LCDDisplaying.Thesystemiscomposedoffourmodules:thetemperaturesensorcircuit,theMCUcontrolcircuit,thedisplaycircuitandthecorrectioncircuit.Thispaperdescribesthehardwareworks,thefunctionsofeachinterfacemoduleanditsworkingprocess,demonstratesdesigntheoryisFeasibility..Clanguageisusedtoprogram,afterdebuggingintheKeilsoftware,thensimulatingintheProteus.Theelectroniccalendarcandisplayyear,month,day,week,hours,minutes,seconds,temperature,andhascalibrationfeaturesandfunctionalitywithrealtimesynchronization.Theresultsshowthatthiscalendariseasytoread,intuitivedisplay,versatile,simplecircuits,andmanyotheradvantages,Thedesignmeetsthedevelopmenttrendofelectronicinstrumentsandmeters,andhasbroadmarketprospects.Keywords:Calendar;MCU;simulation常熟理工学院毕业设计(论文)III目录第一章绪论...............................................................................................................................11.1课题研究的意义...................................................................................................................11.2本课题主要的研究工作.......................................................................................................11.2.1研究内容.........................................................................................................................11.2.2论文章节安排.................................................................................................................21.3本章小结...............................................................................................................................2第二章单片机的概述.............................................................................................................32.1单片机的定义和特点...........................................................................................................32.1.1单片机的定义.................................................................................................................32.1.2单片机的特点.................................................................................................................32.2单片机的发展现状和趋势...................................................................................................42.2.1单片机的发展现状.........................................................................................................42.2.2单片机的发展趋势.........................................................................................................52.3编程语言的选择...................................................................................................................52.4本章小结...............................................................................................................................6第三章设计要求和方案论证...............................................................................................73.1设计要求...............................................................................................................................73.2单片机芯片的选择方案和论证...........................................................................................73.3显示模块选择方案和论证...................................................................................................73.4时钟芯片的选择方案和论证...............................................................................................83.5温度传感器的选择方案与论证...........................................................................................83.6电路设计最终方案决定.......................................................................................................93.7本章小结...............................................................................................................................9第四章系统的硬件设计与实现........................................................................................104.1电路设计框图.....................................................................................................................104.2系统硬件概述.....................................................................................................................10常熟理工学院毕业设计(论文)IV4.3主要单元电路的设计.........................................................................................................114.3.1STC89C52单片机简介................................................................................................114.3.2单片机主控制模块的设计...........................................................................................134.3.3时钟电路模块的设计.........
本文标题:基于51单片机和lcd1602的万年历设计
链接地址:https://www.777doc.com/doc-5044003 .html