基于Proteus的多功能万年历的设计.doc
文本预览下载声明
基于Proteus的多功能万年历的设计
摘要:在当代繁忙的工作与生活中,时间与每一个人都有非常密切的关系,每个人都受到时间的影响,电子万年历的出现给人们的工作与生活带来了福音。电子万年历是实现对阳历的日期和时间以及阴历的日期显示的计时装置。本文介绍了基于单片机AT89C52的电子万年历的设计,该设计结合时钟芯片DS1302以及显示器件LCD12864,能够直观的显示阳历年、月、日、星期、时、分、秒,以及通过程序算法转换阳历的日期,得到阴历的年、月、日。全部信息均受单片机AT89C52的控制,并由液晶显示器件LCD12864显示。
关键词:Proteus,单片机,万年历,仿真
The design of the multifunctional calendar based on Proteus
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 peoples 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. This paper introduces the AT89C52 single chip microcomputer based on the electronic calendar design, the design with the clock chip DS1302 and display devices LCD12864, can intuitive shows YangLiNian, month, day, week, when, minutes and seconds, and through the process of converting solar calendar date algorithm, get the lunar calendar year, month, day. In the display lunar calendar time, can indicate whether for a leap year, intercalary moon, finish at the same time to their automatic adjustment, all information by AT89C52 single chip microcomputer control of both, and the liquid crystal display device LCD12864 display.
Keywords: Proteus,MCU,Perpetual Calendar,Simulatio
目 录
TOC \o 1-3 \h \z \u 1.前 言 1
1.1 本设计的研究背景和研究意义 1
2. 系统总体方案设计 3
2.1 方案论证与比较 3
2.1.1 方案一 基于AT89C52的电子万年历的设计 3
2.1.2 方案二 基于PLD的电子万年历的设计 4
2.1.3 方案三 基于凌阳单片机的电子万年历的设计 4
2.2 本设计方案选择 5
3.系统硬件设计 6
3.1控制电路的设计 6
3.1.1 元器件的选型 6
3.1.2 电路选择 8
3.2 时钟电路的设计 8
3.2.1 元器件的选型 8
3.2.2电路选择 10
3.3 显示电路的设计 10
3.3.1 元器件的选型 10
3.3.2电路选择 11
3.4 传感电路的设计 12
3.4.1芯片的选择及电路绘制 12
4.系统软件设计 13
4.1 软件设计流程图 13
4.2 阳历程序设计及功能实现 14
4.3 时间调整程序设计及功能实现 15
4.4 阴历程序设计及功能实现 17
5.系统调试及分析 21
5.1 硬件调试及功能分析 21
5.1.1编程环境Proteus 21
5.1.2用Proteus ISIS对电子万年历的硬件电路设计 21
5.2 软件调试及功能分析
显示全部