网站大量收购独家精品文档,联系QQ:2885784924

毕业论文:基于AT89C51单片机数字时钟的设计(终稿).doc

毕业论文:基于AT89C51单片机数字时钟的设计(终稿).doc

  1. 1、本文档共38页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘要 本文介绍了一款基于AT89C51单片机数字时钟的设计,阐述了多功能数字时钟的设计思路,详细叙述了系统硬件、软件设计的具体过程。本设计用AT89C51作为主控器件,用DS1302作为时间的计数,用LED—12864为显示器件。通过DS1302直接读取时间、日期,进行数据转换,该器件的物理化学性稳定,线性度较好,能自动计算年、月、日、时、分、秒、和星期,能自动计算闰年。该器件可直接向单片机传送数字信号,便于单片机控制和处理。而LCD—12864是常用的液晶显示器件,其显示的分辨率为128*64,可以显示8*4行16*16点阵的汉字,也可以完成图形显示,低电压功耗是其又一个显著特点。在设计中还采用了单片机常用的汇编语言进行编写。在实际的仿真调试过程中,通过与实际时钟进行对比,查找误差的根源,确定调整误差的方法,尽量减少误差。使系统可以达到与实际时间一致的高精度准确性。 关键词:数字时钟,AT89C51,DSAbstract This paper introduces a digital clock based on AT89C51 design, this paper expounds the multi-function digital clock design ideas, and this paper describes the system hardware and software design of the specific process. This design is use AT89C51 for Master control device, use DS1302 for times count and use LED-12864 for shows. Through the DS1302 directly read time, date, carries on the data transfer, this device of physical chemical stability, linearity is good, can automatically calculate date and time, minutes and seconds, and week, can automatically calculate a leap year. This device can be sent directly to the single chip microcomputer digital signal, facilitate single-chip microcomputer control and processing. And LCD-12864 is commonly used liquid crystal display device, its the resolution of the display for 128 * 64, can display 8 * 4 line 16 * 16 dot matrix characters, also can be finished graphic display, low voltage power consumption is its and a notable features. In the design of the single chip computer is also used in the assembly languages used to write. In the actual simulation debugging process, through comparing with actual clock, find the source of the error, determine the arithmetic and try to minimize the error. The system can be achieved with the actual time consistent high precision accuracy. Keyword: Digital clock, AT89C51, DS1302, LED-12864 摘要 I Abstract II 第一章 诸论 1 1.1设计背景 1 1.2 数字时钟设计方案论证 1 1.2.1 方案一 1 1.2.2 方案二 1 1.3 方案二的总体设计框图 2 第二章 主要元器件介绍 3 2.1 AT89C51的性能介绍 3 2.2 DS1302概述 6 2.2.1 DS1302的基本情况 6 2.2.2 DS1302的结构及工作原理 6 2.2.3 引脚

您可能关注的文档

文档评论(0)

14576 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档