基于89C52单片机上的时钟设计 电子万年历 毕业设计 毕业论文及文献综述.doc
文本预览下载声明
摘 要
在电子技术迅速发展的今天,尤其是随大规模集成电路出现,给人类生活带来了根本性的改变。特别是单片机领域中的应用产品已经走进了大部分人的家庭。电子万年历的出现给人们的生活带来的诸多方便。
本设计首先描述系统总体模块工作原理,并附以系统结构框图加以说明,着重介绍了本系统所应用的各硬件接口技术和各个接口模块的功能及工作过程,其次,详细阐述了程序的各个模块和实现过程。本设计以数字集成电路技术为基础,单片机技术为核心。本文编写的主导思想是软硬件相结合,以硬件为基础,重点介绍了用软件来进行各功能模块。
本系统以单片机的进行软件设计,增加了程序的可读性和可移植性,为了便于扩展和更改,软件的设计采用模块化结构,使程序设计的逻辑关系更加简洁明了。系统通过LED显示数据,所以具有人性化的操作和美观的页面效果。可以显示时间、星期、温度、超温报警功能。
关键词:单片机AT89C52; 万年历; DS18B20温度传感器; 时钟芯片DS12C887
ABSTRACT
Along with the technical and quick development in electronics, appear with the large-scale integrated circuit especially, give mankind the life brought the changes of the root. The coal gas reports to the police the system publishes, scribing the electronics measure the instrument walked into the arithmetic figure turns the ages ts function is strong, the function is well-found, technique forerunner, will quickly technical development in science.
This text discusses to report to the police the design of the system primarily with realizes. Make use of the electric potential machine replace the air spreads to feel machine, change its electric resistance value to change electric voltage, again with solid hour input of the air density proceeds the comparison, distinguishing the light that produce the harmony controls the different reaction controls, notify the each customer unit.[18]
The so-called water supply design handles the post-the waters according to the floor number, unit number, water supply type sum stanza the number display come out, and the amalgamation realizes water supply consumer of employment. Show time、date、temperature and the alarm function.
Key words:MCU; Calendar;DS18B20;DS12C887
目 录
摘 要 I
ABSTRACT II
绪 论 1
1.1 课题开发背景 1
1.2 设计的目的 1
1.3 设计的意义 1
1.4 论文结构 2
2.系统总体设计 3
2.1 单片机AT89C52功能介绍 3
2.2 时钟模块设计 4
2.3 温度采集模块 5
2.4 显示器接口模块 5
2.5 电源和键盘部分 6
2.6 报警模块 6
2.7 方案对比论证 6
2.7.1 编程语言的选择 6
2.7.2 数码管的扫描方式选择 7
3.软件设计 8
3.1 主程序流程图 8
3.2 时钟芯片初始化流程图及程序 9
3.2.1 DS12C887初始化方法 9
3.3.2 DS12C887的编程 11
3.3 读时钟DS12C887芯片子程序
显示全部