1 / 55
文档名称:

电子万年历毕业设计.pdf

格式:pdf   大小:1,718KB   页数:55页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

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

分享

预览

电子万年历毕业设计.pdf

上传人:allap 2021/9/22 文件大小:1.68 MB

下载得到文件列表

电子万年历毕业设计.pdf

相关文档

文档介绍

文档介绍:本 科 毕 业 设 计( 论 文)
目题 电 子 万 年 历 的 设 计
学生姓名
教学院系 电气信息学院
专业年级 电气信息学院
指导教师 职 称 副教授
单 位 西南石油大学
辅导教师 职 称
单 位
摘 要
在当代繁忙的工作与生活中,时间与每一个人都有非常密切的关系,每个人都受
到时间的影响,电子万年历的出现给人们的工作与生活带来了福音。电子万年历是实
现对阳历的日期和时间以及阴历的日期显示的计时装置。随着科技的发展,电子万年
西南石油大学本科毕业设计(论文)
历也有了巨大的进步和发展,目前已经广泛应用于家庭、车站、码头、办公室以及银
行等各种场所。已经成为人们日常生活和工作中必不可少的电子产品,具有广阔的发
展空间和市场前景。
本文介绍了基于单片机 AT89C52 的电子万年历的设计,该设计结合时钟芯 片
DS1302 以及显示器件 LCD12864,能够直观的显示阳历年、月、日、星期、时、分、
秒,以及通过程序算法转换阳历的日期,得到阴历的年、月、日。在显示阴历时间时,
能标明是否为闰年、闰月,同时完成对它们的自动校正,全部信息均受单片机 AT89C52
的控制,并由液晶显示器件 LCD12864 显示。人机口由 4 个按键来实现,通过这四个
按键可对时间、日期进行人为的自由调整。
本设计采用单片机为核心器件,软硬件结合,使硬件部分大为简化,提高了系统
稳定性,设计出的电子万年历可以显示阳历的日期和时间以及阴历的日期。其软硬件
设计简单,时间记录准确,有较强的实用性。
关键词:万年历;AT89C52;DS1302;LCD12864
2
Abstract
In contemporary busy work and life, time and every one has a very close relationship,
everyone is the influence of the time, the emergence of electronic calendar to people's
work and life bring the Gospel. Electronic calendar is the realization of the solar calendar
date and time and date of the display of the timing device. With the development of science
and technology, electronic calendar also had great progress and development, now has
been used widely in the family, station, wharf, office and of the bank and other various
places. Has become people daily life and work necessary in electronic products, have wide
development space and the market prospect.
This paper introduces the AT89C52single chip microcomputer based on the electronic
calendar design, the design with the clock chip DS1302 and display devices LCD12864,
can intuitive shows YangLiNian, mon