您好,欢迎访问三七文档
学号201225110207中州大学毕业设计(论文)题目电子万年历的设计学院工程技术学院专业应用电子技术年级12班级2学生姓名xxx指导教师孙建延职称副教授时间2014年12月4日电子万年历的设计[摘要]:随着电子技术的迅速发展,特别是随着大规模集成电路的出现,给人类生活带来根本性的改变。尤其是单片机技术的应用产品已走进千家万户。电子万年历的出现给人们的生活带来了诸多方便。电子万年历是一种非常广泛的日常计时工具,在现代社会越来越流行。它可以对年、月、日、周日、时、分、秒进行计时,还具有闰年补偿等多种功能,而且DS1302的使用寿命长,误差小。对于电子万年历采用直观的1602液晶显示,可以同时显示年、月、日、周日、时、分、秒和温度等信息,还具有时间校准等功能。该电路采用AT89S52单片机作为核心,功耗小,能在3V的低压工作,电压可选用3~5V电压供电。在设计的同时对单片机的理论基础和外围扩展知识进行了比较全面准备。在硬件与软件设计时,没有良好的基础知识和实践经验会受到很大限制,每项功能实现时需要那种硬件,程序该如何编写,算法如何实现等,没有一定的基础就不可能很好的实现。在编写程序过程中发现以现有的相关知识要独自完成编写任务困难重重,在老师和同学的帮助下才完成了程序部分的编写。本万年历的设计采用C语言,根据功能需求进行程序的编写与调试,保证软硬件正常工作,具有结构简单,成本低廉,显示清晰,稳定可靠等优点。并且可进行扩充,加入闹钟的功能,更加方便于你使用。[关键词]:单片机DS18B20DS13021602液晶PCBTheDesignOfElectronicCalendarAbstract:Withtherapiddevelopmentofelectronictechnology,especiallyalongwithlargescaleintegratedcircuit,theappearanceofhumanlifetobringfundamentalchange.Especiallytheapplicationofsinglechipmicrocomputerproductshavealreadywalkedintothecountry.Theemergenceofelectroniccalendartothelifeofpeoplebroughtmanyconvenient.Electroniccalendarisaverywiderangeofdailytimingtool,inmodernsocietyismoreandmorepopular.Itcanbetoyear,month,day,Sunday,whentheclock,minutesandseconds,alsohasaleapyearcompensation,etcDuoZhongfunction,andtheDS1302longservicelifeandsmallerror.Forelectroniccalendarbyusingobject1602LCDdisplay,canalsoshowsthatyear,month,day,Sunday,when,minutesandsecondsandtemperature,information,butalsohastimecalibrationetc.Function.ThiscircuitAT89S52SCMasthecore,lowconsumption,in3Voflow-pressurework,voltagecanchoose3~5Vvoltagepowersupply.InthedesignatthesametimetheSCMtheoreticalbasisandperipheralexpansionknowledgeiscomparedtooverall.Inthehardwareandsoftwaredesign,nogoodbasicknowledgeandpracticalexperienceisverylimited,everyfunctiontoaneedthatkindofhardware,andtheprogramthishowtowrite,howtorealizethealgorithm,notafoundationwillnotbeverygoodimplementation.Intheprocessofprogramfoundthatbytheexistingknowledgetofinishwritingtaskalonedifficulties,theteachersandstudentsofhelptofinishtheprogram,andthewritingofthepart.ThedesignofthiscalendarusingClanguage,accordingtothefunctionrequirementsoftheprocedurestowriteanddebugging,ensuresoftwareandhardwarenormalwork,thestructureissimple,thecostislowandtheshowclear,stableandreliable.Andcanbeextended,jointhealarmclockfunction,itismoreconvenienttouseyou.Keywords:DS18B20DS13021602LCDPCBSCM目录第一章绪论............................................................................................................61.1本课题的研究的背景以及现实意义..............................................................61.2本课题对于专业知识的综合应用情况..........................................................61.3课题论述总体结构安排..................................................................................7第二章电子万年历的工作概述以及原理分析......................................82.1电子万年历的工作概述..................................................................................82.2确保电子万年历的工作性能稳定的相关措施..............................................82.3系统硬件电路总体结构框图..........................................................................82.4电子万年历总体电路原理图..........................................................................92.5各部分单元电路介绍......................................................................................92.5.1DS18B20温度传感器电路介绍............................................................92.5.2DS1302电路........................................................................................102.5.3单片机最小系统电路..........................................................................102.5.41602液晶显示电路.............................................................................10第三章应用Protel实现电路原理图的绘制及PCB设计.............123.1Protel简介......................................................................................................123.2绘制电路原理图的主要步骤........................................................................123.3PCB人工布局、人工布线设计....................................................................13第四章电子万年历C程序的编写与实现.............................................154.1程序流程框图................................................................................................154.2电子万年历C语言程序...............................................................................174.2.1键盘扫描部分程序..............................................................................174.2.2DS18B20部分程序..............................................................................274.2.3DS1302部分程序................................................................................304.2.41602液晶显示部分程序......................................................................32第五章总结..........................................................................................................365.1设计功能分析................................................................................................365.2心得体会.......................................................................................................36参考文献.................................................................................................................37致谢.......
本文标题:电子万年历的设计
链接地址:https://www.777doc.com/doc-4379697 .html