基于AT89S51单片机的数字电子钟设计要点.doc

基于AT89S51单片机的数字电子钟设计要点.doc

  1. 1、本文档共43页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业论文(设计) 题目基于AT89S51单片机的数字电子钟设计 学生姓名 张 明 学号 班 级 100114 专 业 嵌入式系统工程 分 院 信息技术 指导教师 于 薇 2013年 4月 1 日 目 录 目 录 II 摘 要 III Abstract IV 绪 论 1 第1章 整体设计方案 3 1.1 单片机的选择 3 1.2 单片机的基本结构 5 1.3 本章小结 6 第2章 数字钟的硬件设计 7 2.1 最小系统设计 7 2.2 数字钟的外围电路设计 9 2.2.1 时钟电路 9 3.2.2 LCD显示电路 11 2.2.3 语音录放电路 13 2.2.4 电源电路 13 2.2.5 相关控制电路 14 2.3 本章小结 16 第3章 数字钟的软件设计 17 3.1 系统软件设计内容 17 3.2 主程序 18 3.3 时钟设置子程序 21 3.4 中断子程序 25 3.5 LCD显示子程序 26 3.6 本章小结 26 第4章 调试与功能说明 27 4.1 硬件调试 27 4.2 系统性能测试与功能说明 29 4.2.1 系统时钟误差分析 29 4.2.2 软件调试问题及解决 31 4.3 系统PCB图 32 4.4 本章小节 32 结 论 34 致 谢 35 参考文献 36 附录1:设计所用到器件清单 37 附录2:设计实物图 38 摘 要 本文介绍了一款基于AT89S51单片机数字钟的设计,通过多功能数字钟的设计思路,详细叙述了系统硬件、软件的具体实现过程。论文重点阐述了数字钟硬件中MCU模块、语音模块、时钟模块和相关控制模块等的模块化设计与制作;软件同样采用模块化的设计,包括中断模块、闹钟模块、语音模块、时间调整模块设计,并采用简单流通性强的C语言编写实现。本设计实现了时间与闹钟的修改功能、语音播报功能、年、月、日和星期的显示功能。并且通过对比实际的时钟,查找出了误差的来源,确定了调整误差的方法,尽可能的减少误差,使得系统可以达到实际数字钟的允许误差范围内。 关键词:AT89S51单片机;数字钟;语音播报 Abstract This paper introduced the design of digital clock based on SCM of AT89S51, the specific process of how the system hardware and software achieved were detailed description through the design of multifunction digital clock. The modular design and production, which consisted of MCU module, voice module,clock module and the associated control module, were mainly recounted;As well as hardware designing,software design use the same method, consists suspension module,alarm clock module, voice module, time adjust module, and that use the C language to achieve because of its simple and strong negotiability. In this design the functions of time and alarm clock run and change, voice broadcast,functions of the year, month, day and week display have been achieved. And by comparing the actual clock, find out the source of the error and determined the method of adjusting error, reduce errors as much as possibly, so this system can achieve a

您可能关注的文档

文档评论(0)

三四五 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档