C语言单片机 基于片机的多功能时钟设计
编号
#####################
毕业论文
题 目基于单片机的多功能时钟设计与实现
学生姓名####学 号@@@@@@@系 部电子工程系专 业应用电子技术班 级####指导教师####顾问教师####
二〇一〇年六月
摘 要
随着生活节奏的加快,人们时间观念的加强,时钟已经成为人们日常生活中不可或缺的一部分,而如何在时钟的基础上,根据人们生活的需要增加相应的功能以及方便于人们的生活,成为时钟设计方面的重点。单片机以其强大的功能,低廉的价格成为许多多功能电子产品的首选。本文探讨了一种带数字温度计的语音时钟的实现方案。介绍了以AT89C52单片机为核心,控制实时时钟芯片DS1302,数字温度芯片DS18B20,语音芯片ISD4003-4和液晶显示模块OCM12864-1,实现时间和闹钟的显示与调整,温度显示和语音报时。整个系统的软件设计在Keil环境下以C语言实现
关键词:实时时钟;语音报时;液晶显示;数字温度芯片
Abstract
With the quickening pace of life, it enhanced sense of time, the clock has become an indispensable part of daily life. How the clock basis, according to people's live need to increase accordingly, function to facilitate people's lives, become the focus of the clock design. Microcontroller with its powerful features, low price to become the first choice for many multi-functional electronic products. The paper discusses a kind of realization of speech chronopher with digital thermometer. It introduces realizing displaying and adjusting time and alarm-time, displaying temperature and giving time by speech with AT89C52 MCU as the core, controlling RTC Chip DS1302, DTS Chip DS18B20, ChipCorder ISD4003-4, and LCD module. All the software design of the system is took out under the environment of Keil with C Language.
Keywords: RTC; speech chronopher; LCD; DTS
目 录
摘 要I
AbstractII
第一章 绪论1
1.1 发展现状、目的及意义1
1.2 设计内容1
第二章 系统硬件设计3
2.1 整体框架概述3
2.2 主控器AT89C523
2.2.1 概述3
2.2.2 主要性能4
2.2.3 功能性描述4
2.3 实时时钟芯片DS13026
2.3.1 概述6
2.3.2 主要功能6
2.3.3 功能性描述6
2.4 温度传感器DS18B207
2.4.1 概述7
2.4.2 功能性描述7
2.5 液晶显示模块128647
2.5.1 概述7
2.5.2 最大工作范围7
2.6 语音芯片及功放8
2.6.1 概述8
2.6.2 芯片内部框图以及电路图8
2.6.3 芯片管脚9
2.6.4 ISD4003-4指令表11
第三章 系统软件设计13
3.1 主程序设计13
3.2 DS130214
3.3 温度芯片DS18B2014
3.4 OCM12864液晶显示16
3.5 语音芯片ISD400316
3.6 源程序17
第四章 系统调试25
4.1 Proteus软件介绍25
4.2 本设计调试25
4.2.1 硬件调试25
4.2.2 软件调试26
第五章 结论与展望27
5.1结论27
5.2 展望27
致谢28
参考文献29
第一章 绪论
1.1 发展现状、目的及意义
单片机自20世纪70年代问世以来