万年历系统设计方案和对策

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

电子万年历系统设计

The design of Electronic calendar system 专业:电子信息科学与技术

学号:

姓名:

电子万年历系统设计

摘要:近年来随着计算机在社会领域的渗透和大规模集成电路的发展,单片机的应用正在不断地走向深入,由于它具有功能强,体积小,功耗低,价格便宜,工作可靠,使用方便等特点,因此特别适合于与控制有关的系统,并且给人类生活带来了根本性的改变。尤其是单片机技术的应用产品已经走进了千家万户。电子万年历的出现给人们的生活带来的诸多方便。虽然在日常生活中,各种信息处理终端如电脑、手机等给我们提供了准确的时间信息。但是在大多数场合却仅仅局限于个人的适用范围之内。在家居生活中,一款悬挂余居室墙壁上大方得体的电子钟不仅能为我们提供准确的时间显示,而且魅惑了环境,给单调的居室带来了现代化的气息,因而成为许多家庭的必备之选。

本文设计了一种基于八位串行输入-并行输出移位寄存器74HC164芯片,以STC89C52单片机为核心、数码显示的电子万年历,主要介绍了时钟芯片、温度传感器、仿真模块,以及万年历硬件和软件的设计,实现了准确显示,公历年、月、日、农历月、日、时、分、秒功能。

关键字:单片机;时钟芯片;温度传感器;仿真

The Design of Electronic Calendar System

Abtract:In recent years, with computer penetration in the social sphere and the development of large-scale integrated circuits, MCU applications are constantly deepening, as it has a function of strong, small size, low power consumption, cheap, reliable, easy to use , And other characteristics, and therefore particularly suited to control the system and to human life brought about fundamental changes. SCM is by the application of technology products have entered the tens of thousands of households. The emergence of electronic calendar to the lives of people of many convenience. While in everyday life, dealing with all kinds of information terminals such as computers, mobile phones has provided us with accurate time information. However, in most occasions is limited to individuals within the scope of the application. In home life, hoisted more than a generous living room walls of the appropriate electronic bell can not only provide us with accurate time, and tantalized by the environment, bring to the monotonous room a modern flavor, so many families must Of the election.

In this paper, a design based on eight serial input - output parallel shift register 74 HC164 chip to STC89C52 microcontroller as the core, digital display electronic calendar, mainly on the clock chip temperature sensor, simulation modules, hardware and calendar And software design, to achieve an accurate, the calendar year, month, day and the Lunar month, day, hours, minutes and seconds functions.

Key words:MCU;Clock chip;Temperature sensor;Simulation

目录

引言 (1)

1 单片机介绍 (2)

1.1 STC89C52简介 (2)

1.2 性能参数 (3)

2 应用系统设计 (5)

2.1系统功能说明 (5)

2.2应用系统设计 (6)

2.2.1系统方案设计 (6)

2.2.2 应用系统结构设计 (7)

2.2.3设备选型 (7)

2.2.4 控制面板设计 (8)

3 硬件设计 (10)

3.1 实时时钟电路设计 (12)

3.1.1 实时时钟芯片SD2303简介 (12)

3.1.2 SD2303的引脚设置 (13)

3.1.3 SD2303的内部寄存器 (14)

3.1.4 SD2303的数据传输 (23)

3.2 温度检测电路设计 (26)

3.2.1 温度传感器DS1722简介 (27)

3.2.2 DS1722的引脚配置 (28)

3.2.3 DS1722的内部寄存器 (29)

3.2.4 DS1722的数据传输过程 (30)

3.3 显示电路设计 (32)

3.4 键盘及闹铃电路设计 (33)

4 软件设计 (35)

4.1 软件结构设计 (35)

4.1.1 主程序 (35)

4.1.2 按键检测和处理程序 (36)

5 系统集成测试与仿真 (37)

5.1 系统集成测试 (37)

5.2 系统在线仿真 (38)

5.2.1 仿真软件介绍 (38)

5.2.2 Keil与proteus结合仿真 (39)

5.2.3 仿真结果 (40)

5.2.4 仿真结果分析 (42)

[参考文献] (43)

附录: (44)

致谢 (48)

相关文档
最新文档