1 / 47
文档名称:

基于单片机的万年历设计_毕业设计.doc

格式:doc   页数:47页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于单片机的万年历设计_毕业设计.doc

上传人:yzhqw888 2015/11/10 文件大小:0 KB

下载得到文件列表

基于单片机的万年历设计_毕业设计.doc

相关文档

文档介绍

文档介绍:摘要
现代电子万年历在家庭居室、学校、车站和广场使用的越来越广泛,给人们的生活、学****工作带来了极大的方便。针对以往的电子万年历断电后的需要重新调整时间与日期,并且计时误有差现象。本系统设计采用了实时芯片(DS1302)作为计时器件,该芯片内部自带晶振荡器,这样就有效的保证了计时的精确性,并且内部自带电池使得在断电的情况下能够继续的更新时间信息。本设计采用了AT89C51作为主要控制器,为了提高电路的使用性加入了报时和闹钟功能。
电子万年历是一种非常广泛日常计时工具,对现代社会越来越流行。它可以对年、月、日、周日、时、分、秒进行计时,还具有闰年补偿等多种功能,而且DS1302的使用寿命长,误差小。对于数字电子万年历采用直观的数字显示,可以同时显示年、月、日、周日、时、分、秒和温度等信息,还具有时间校准等功能。该电路采用AT89C51单片机作为核心,功耗小,能在3V的低压工作,电压可选用3~5V电压供电。
本设计是基于51系列的单片机进行的电子万年历设计,可以显示年月日时分秒及周信息,具有可调整日期和时间功能。在设计的同时对单片机的理论基础和外围扩展知识进行了比较全面准备。在硬件与软件设计时,没有良好的基础知识和实践经验会受到很大限制,每项功能实现时需要那种硬件,程序该如何编写,算法如何实现等,没有一定的基础就不可能很好的实现。在编写程序过程中发现以现有的相关知识要独自完成编写任务困难重重,在老师和同学的帮助下才完成了程序部分的编写。
万年历的设计过程在硬件与软件方面进行同步设计。硬件部分主要由AT89C51单片机,LCD显示电路,以及调时按键电路等组成。在单片机的选择上本人使用了AT89C51单片机,该单片机适合于许多较为复杂控制应用场合。最后总在老师同学的帮助以及自己的努力下完成了此次电子万年历的设计。
Abstract
E-calendar-bedroom at home,schools,stations and more extensive use of plaza for people’s lives,study,work great calendar for the past need to re-adjust after power-off time and date,and time is a big error,Designed the system using real-time clock chip(DS1302)
as a time parts,the es with an internal crystal oscillator,so that effectively guarantee the accuracy of the time and hang own internal battery power makes the situation will continue to update the time design uses AT89C51 as the main controller,in order to improve the practicality of the cricuit add temperature measurement circuit ,timekeeping and alarm funtinons.
E-calendar day time is a very wide range of tools, increasingly popular in modern society. It can be year, month, day, Sunday, hours, minutes, seconds for time, but also has a leap pensation to a variety of functions, and the DS1302's long life, small error. For the digital electronic calendar using an intuitive digital display can simultaneously display year, month, day, Sunday, hours, minutes, seconds, and temperature and other information, but also a time-calibration and other functions. The circuit uses AT89C51 microcontroller as the