电子万年历的设计与仿真

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

摘要

单片机技术发展迅速,由于他的微小、易用、多功能在智能仪器、家用电器、电子通信、工业控制等方面应用广泛。单片机是集CPU ,RAM ,ROM,定时,计数和多种接口于一体的微控制器,它体积小、成本低、功能强,而51系列单片机是各单片机中最为典型和最有代表性的一种。这次毕业设计通过对它的学习、应用从而达到学习、设计、开发软、硬的能力。

电子万年历主要采用AT89S52单片机作为主控核心,由DS1302时钟芯片提供时钟、LED动态扫描显示屏显示。AT89S52单片机功耗小、电压可选用2.0~6V电压供电;DS1302时钟芯片是美国DALLAS公司推出的具有涓细电流充电功能的低功耗实时时钟芯片,它可以对年、月、日、星期、时、分、秒进行计时;数字显示是采用的LCD液晶显示屏来显示,可以同时显示年、月、日、星期、时、分、秒和温度等信息。

关键词:万年历;AT89S52单片机;1602液晶显示屏;DS1302时钟芯片;温度。

ABSTRACT

Single chip microcomputer development is rapid, because of his tiny, is easy to use,and multi-function in intelligent instrument, home appliances, electronic communication, industry control, wide application. SCM is set for the CPU, RAM, ROM, time, count and a variety of interface in one of the micro controller. Its small size, low cost, the function is strong, and 51 series microcontroller is the most typical of single chip microcomputer and the most representative of a kind. The graduation design through to its study, application, so as to study, design, and develop the ability of soft and hard.

The electronic calendar mainly USES the AT89S52 SCM as the master its core, and the DS1302 clock chip provide clock, LED dynamic scanning display shows. AT89S52 SCM power consumption is small, voltage can choose 2.0 ~ 6 V voltage power supply; DS1302 clock chip is the United States out Juan DALLAS has fine current charge function of low power consumption real time clock chip, it can be to year, month, day, week, when, minutes and seconds for timing; Digital display is USES LED LCD screen to display, can also shows that year, month, day, week, when, minutes and seconds and temperature and other information.

KEY WORDS Calendar;AT89S52 SCM;1602 LCD; DS1302 clock chip;temperature

目录

摘要 ............................................................................................................................ 错误!未定义书签。Abstract ....................................................................................................................... 错误!未定义书签。第1章绪论 (1)

1.1引言 (1)

1.2选题背景及其研究的目的与意义 (3)

1.2.1设计的目的 (9)

1.2.2设计的意义 (9)

1.3研究内容 (4)

1.4国内外课题研究概况 (4)

第2章设计要求与方案论证 (6)

2.1设计要求 (6)

2.2系统基本方案的选择和论证 (6)

2.1.1单片机芯片的选择和论证方案 (13)

2.1.2显示模块选择方案和论证 (14)

2.1.3时钟芯片的选择方案和论证 (14)

3.1.4温度传感器的选择方案和论证 (15)

2.3系统总体方案 (9)

2.4本章小结 (11)

第3章系统的硬件设计 (11)

3.1本系统的硬件设计概述 (12)

3.2单片机的选择及分析 (13)

3.2.1单片机的定义和特点 (13)

3.2.2单片机的发展概况 (14)

3.2.3本系统单片机的选择 (14)

3.3DS1302时钟电路 (15)

3.2.1DS1302的介绍 (13)

3.2.2时钟电路连接 (14)

3.4温度采集模块设计 (17)

3.5显示模块介绍 (17)

3.6本章小结 (17)

第4章系统软件设计 ..................................................................................................................................

4.1程序流程图 (18)

4.1.1系统整体程序流程图 (13)

4.2.2按键调整程序流程图 (14)

4.本章小结 (25)

相关文档
最新文档