基于RTC芯片的多功能万年历的设计

以下是资料介绍,如需要完整的请充值下载. 本资料已审核过,确保内容和网页里介绍一致.  
无需注册登录,支付后按照提示操作即可获取该资料.
资料介绍:

基于RTC芯片的多功能万年历的设计(论文12000字)
摘要
万年历在人们日常生活中非常常见,应用也十分广泛。随着现代科学技术的日新月异,人们对于万年历的要求也在不断地提高,而传统的万年历,多数只能显示年、月、日等信息,功能单一,而且大都采用LED数码管作为显示器件,功耗大,不能令使用者满意。
本设计以单片机STC89C52为控制核心,DS1302为实时控制芯片,以LCD1602液晶显示器作为显示部件,采用ISD4004语音集成芯片作为语音录放实现部分,利用键盘作为控制部分,以DS18B20数字温度传感器测试环境温度,设计一个多功能万年历,详细叙述了系统硬件、软件的具体实现过程。论文重点阐述时钟系统硬件中键盘模块,时钟模块、语音模块、液晶显示模块的模块化设计与制作;软件中同样采用模块化的设计,包括键盘模块、时钟模块、语音模块、时间调整及定时模块设计,并采用简单流通性强的C语言编程实现。
本次设计的万年历实现了显示年、月、日、小时、分钟、秒、星期、温度的功能,按键调整时间的功能,能整点播报当前时间。该系统功能实用,实现方法简单,工作稳定、使用方便,可以广泛应用于人们日常生活中。
关键词: DS1302  STC89C52  ISD4004  万年历  整点语音报时
 
Perpetual Calendar based on RTC chip
ABSTRACT
The calendar is very common in people's daily life, the application is very extensive. With the development of modern science and technology change rapidly, the calendar of the requirements are constantly improved, while the traditional calendar, most can display hours, minutes and other information, single function, and most of them are used as the LED digital display, power consumption is big, cannot make the consumer satisfaction.
The design of the single chip STC89C52 as the control core, DS1302 as the real-time control chip, LCD1602 LCD as display components, using ISD4004 voice chip as the phonetic realization part, using the keyboard as the control part, DS18B20 digital temperature sensor test environment temperature, the design of a multifunction calendar, described in detail the specific implementation process of the system hardware, software. This paper focuses on the keyboard clock system hardware module, clock module, voice module, liquid crystal display module design and production module; modular design using the same software, including the keyboard module, clock module, voice module, time adjust and timing module design, and the use of C language programming simple and strong liquidity to achieve.
Design and implementation of the display year, month, day, hour, minute, second, week, temperature function, adjustment function of time, can the whole demand at the current time. The system is practical, simple implementation method, has the advantages of stable operation, easy to use, and can be widely used in the daily life of people.
Keywords: DS1302 ;STC89C52;ISD4004 ;Calendar
 

基于RTC芯片的多功能万年历的设计


目录
摘要    I
ABSTRACT    II
第一章  绪  论    1
1.1 课题的背景    1
1.2 课题的意义    1
1.3 国内外研究现状及发展趋势    2
1.4 论文主要工作    2
第二章 系统总体设计    3
2.1设计系统基本方案选择与论证    3
2.1.1单片机芯片的选取    3
2.1.2时钟芯片的选取方案与论证    3
2.1.3显示模块的选取与论证    3
2.1.4语音模块的选取与论证    4
2.1.5按键的选取与论证    4
2.2 电路设计方案的确定    4
2.3 芯片的原理与说明    5
2.3.1 DS1302的工作原理与说明    5
2.3.2 LCD1602的工作原理与说明    5
2.3.3 DS18B20的原理与说明    7
2.4 语音录放芯片ISD4004简介    9
2.5 SPI(串行外设接口)介绍    9
第三章 系统硬件电路设计与实现    11
3.1电路设计框图    11
3.2系统硬件的概述    11
3.3各模块电路设计与原理图    12
3.3.1单片机控制电路    12
3.3.2电源电路    12
3.3.3按键电路    13
3.3.4 温度采集电路    14
3.3.5 复位电路    14
3.3.6 晶振电路    15
3.3.7 液晶显示电路    16
3.3.8 DS1302时钟电路    17
3.3.9语音播放电路    18
第四章 多功能万年历的软件设计    19
4.1软件设计概述    19
4.2程序流程框图    19
4.3 子程序的设计    20
4.3.1DS18B20子程序流程图    20
4.3.2 DS1302子程序流程图    21
4.3.3 键程序流程图    22
4.3.4 LCD1602按键子程序流程图    23
4.3.5语音子程序流程图    23
4.4程序仿真    24
第五章 系统测试    27
5.1 软硬件调试与测试    27
5.1.1、调试主程序      27
 5.1.2、调试子程序      27
5.1.3硬件调试      27
5.1.4 测试结果    28
5.2 测试结果分析    30
第六章 总结与展望    31
参考文献    32
致谢    34