基于ds18b20_ds1302多功能_液晶显示万年历系统毕业论文_附完整c程序_和硬件电路图.doc
基于ds18b20_ds1302多功能_液晶显示万年历系统毕业论文_附完整c程序_和硬件电路图,基于ds18b20_ds1302多功能_液晶显示万年历系统毕业论文_附完整c程序_和硬件电路图目 录摘要--------------------------------------------------------------------------------------------3引言-------------...
内容介绍
此文档由会员 bshhty 发布基于DS18B20_DS1302多功能_液晶显示万年历系统毕业论文_附完整C程序_和硬件电路图
目 录
摘要--------------------------------------------------------------------------------------------3
引言--------------------------------------------------------------------------------------------5
第1章 系统电路设计
1.1 系统总体设计思路------------------------------------------------------------------6
1.2 设计方案选择------------------------------------------------------------------------6
1.3 功能介绍------------------------------------------------------------------------------7
1.4 工作原理------------------------------------------------------------------------------7
第2章 单元电路设计
2.1 单片机电路设计---------------------------------------------------------------------8
2.2 时钟电路设计-----------------------------------------------------------------------11
2.3 复位电路设计-----------------------------------------------------------------------11
2.4 温度传感器电路设计--------------------------------------------------------------12
2.5 实时时钟电路设计-----------------------------------------------------------------14
2.6 显示电路设计-----------------------------------------------------------------------16
第3章 程序流程图
3.1 中断时钟流程图--------------------------------------------------------------------21
3.2 温度子程序流程图-----------------------------------------------------------------22
3.3 万年历流程图-----------------------------------------------------------------------23
第4章 操作与调试
4.1 Keil uVision3简介--------------------------------------------------------24
4.1.1 8051开发工具----------------------------------------------------------------24
4.1.2 uVision3集成开发环境---------------------------------------------------24
4.2 Proteus简介-----------------------------------------------------------------------24
4.2.1进入Proteus ISIS------------------------------------------------------------25
4.2.2工作界面-------------------------------------------------------------------------26
4.3 软件调试----------------------------------------------------------------------------27
结束语-----------------------------------------------------------------------------------------28
致谢--------------------------------------------------------------------------------------------29
参考文献--------------------------------------------------------------------------------------30
附录1 仿真电路图及部分电路图--------------------------------------------------------31
附录2 程序清单----------------------------------------------------------------------------32
题目: 电子实时时钟/万年历系统
摘 要
随着电子技术的迅速发展,特别是随大规模集成电路出现,给人类生活带来了根本性的改变。由其是单片机技术的应用产品已经走进了千家万户。电子万年历的出现给人们的生活带来的诸多方便。
本文首先描述系统硬件工作原理,并附以系统结构框图加以说明,着重介绍了本系统所应用的各硬件接口技术和各个接口模块的功能及工作过程,其次,详细阐述了程序的各个模块和实现过程。本设计以数字集成电路技术为基础,单片机技术为核心。本文编写的主导思想是软硬件相结合,以硬件为基础,来进行各功能模块的编写。
本系统以单片机的C语言进行软件设计,增加了程序的可读性和可移植性,为了便于扩展和更改,软件的设计采用模块化结构,使程序设计的逻辑关系更加简洁明了。系统通过点阵式液晶为载体显示数据,所以具有人性化的操作和美观的页面效果。可以显示年月日、星期、温度等
关键词 单片机;万年历;DS1302;LCM1602;DS18B20
Title Electronic real-time clock/ Calendar system
Abstract
Along with the rapid development of electronic technology, especially with large scale integrated circuit appear, give mankind living has brought the fundamental change. By its is the application of single-chip computer technology product has entered innumberable families. Electronic calendar appear to the life of people bring many convenient.
This paper firstly describes the system hardware working principle, each accompanied by a diagram of the system structure of the elucidation, introduces this system by the application of the hardware interface technology and the function of each interface module and the working process, and secondly, expounded the program modules and realization process. This design with digital integrated circuit technology as the foundation, microcontroller technology as the core. In this paper the compiling principle is combining software with hardware, based on the preparation of the functional modules.
The system takes microcontroller C language software design, increased the readability of our programs and portability, to facilitate the expansion and change, the design of software modular structure, make the program design of logical relationship more concise. System through dot-matrix LCD display data for carrier, so has the humanized operate and beautiful page effect. Can display the time, and lunar dates, week, temperature, solar term, tian gan earthly branches and the day sunrise sunset time, and has alarm and intelligent control household appliances function.
Keywords microcontroller; calendar; DS1302;LCM1602;DS18B20