摘 要:随着科技的发展,万年历逐渐走进了人们的生活,通过调查发现,现在市场上的万年历都是使用外部时钟芯片,这增加了生产成本。本文设计了一款基于AT89C51内部时钟的万年历系统,系统用LED1602液晶做为显示器。这款万年历系统运用单片机的内部计数器/定时器中断产生秒单位时钟,根据秒,分,时,日,月,年的关系能够实现时钟和日历的同步更新,并且能够驱动LED1602液晶显示这些信息。本文还阐明了该装置进行设计与制作的具体过程及方法。这种万年历结构简单,可操作性强,应用广泛。本系统的实物已经通过验证,适应环境能力强,能够在-20C~50C进行工作,并且生产成本也降低了。该测试表明这套万年历系统的设计方案是可行的。54712

毕业论文关键词: 万年历,AT89C51,LED1602,内部时钟

Abstract: With the development of science and technology, calendar go into people's live graduallys, through the survey on the market now are the use of external clock calendar chip, this increases the cost of production. This paper designed a system based on the AT89C51 calendar clock, LCD as display system with LED1602. This calendar system using internal counter and timer interrupt generation second clock, according to the SEC,,, day, month, year relationship can realize synchronous update of the clock and calendar, and can drive LED1602 LCD display this information. This paper also expounds the concrete process and method of the device for the design and production of. This calendar has simple structure, strong operability, wide application. The system hardware has been validated, ability to adapt to the environment, able to work under -20C~50C, and the production cost is also reduced. The test shows that the design scheme of this calendar system is feasible.

Key words:   Permanent Calendar,AT89C51,LED1602,Internal Clocking

目录

1 前言 4

1.1 电子万年历设计背景 4

1.2 电子万年历设计意义 4

1.3 电子万年历设计任务 4

2 系统设计方案 5

2.1万年历系统设计思路 5

2.2 万年历系统方案 5

2.3 万年历硬件选取方案 6

3 系统硬件电路 7

3.1 电路综述 7

3.2 控制器部分 8

3.3晶振部分 11

3.4显示器部分 12

3.5 按键部分 16

4 系统软件程序 18

4.1 设计流程 18

4.2 时钟部分 19

4.3 日期部分 20

4.4 星期部分 21

4.5 LED1602部分 23

4.6按键部分 25

5 系统测试 26

5.1 硬件的仿真测试 26

5.2 软件的仿真测试 26

结 论 28

参考文献 29

致  谢 30

附录一:系统原理图 31

附录二:实物图

上一篇:AT89C51单片机的交通灯指挥控制系统设计+电路图+源程序
下一篇:基于Matlab的人脸识别系统设计与仿真

热环境对磁记忆信号的影响ANSYS有限元分析

单片机数字红外测距系统设计+电路图+程序

连续-离散型状态观测器设...

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

PLC物料自动分拣系统的设计+源程序

高校网球场馆运营管理初探【1805字】

中国古代秘书擅权的发展和恶变

国内外无刷直流电动机研究现状

《醉青春》导演作品阐述

浅谈传统人文精神茬大學...

谷度酒庄消费者回访调查问卷表

浅谈新形势下妇产科护理...

拉力采集上位机软件开发任务书

辩护律师的作证义务和保...

多元化刑事简易程序构建探讨【9365字】