基于单片机的电子钟的设计.doc

  1. 1、本文档共45页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
XXXXXXX 毕业设计 题 目 xxx 姓 名 xxx 学 号 xxx 专业班级 xxx 分 院 xxx 指导教师 xxx xxxx年xxx月xxx日 基于单片机的电子时钟的设计 摘 要 传统的数字电子时钟采用了较多的分立元器件,不仅占用了很大的空间而且利用率也比很低,随着系统设计复杂度的不断提高,用传统时钟系统设计方法很难满足设计需求。 单片机是集CPU、RAM、ROM、定时器/计数器和多种接口于一体的微控制器。它体积小、成本低、功能强,广泛应用于智能产品和工业自动化上。而51系列的单片机是各单片机中最为典型和最有代表性的一种。本文设计的电子时钟是基于51单片机,同时使用汇编语言为程序设计语言,从而克服传统电子时钟的弊端。 本设计拟实现的基本功能为单片机计时显示功能。能够体现单片机电子时钟的可扩展优越性,加入时间调整程序,使用按钮,调整年月日及时间;加入阴历显示功能。 关键词:单片机,电子时钟,汇编语言 ABSTRACT ? Traditional digital electronic clock with a greater amount of discrete components, not only takes up a lot of space and utilization than low, as the system design complexity continues to improve, the clock system design using traditional methods are difficult to meet the design requirements . Microcontroller is a CPU, RAM, ROM, timer / counter and a variety of interfaces in one of the micro-controller. Its small size, low cost, powerful, widely used in smart products and industrial automation. And 51 of the microcontroller MCU is the most typical and most representative one. This design is based on 51 single-chip electronic clock, using both assembly language for the programming language, to overcome the drawbacks of conventional electronic clock. The design of the basic functions to be achieved for the microcontroller timer display. SCM can reflect the scalability advantages of electronic clock, add time to adjust, the use of buttons, adjust the date and time of year, month; to join the lunar calendar display. Keywords: microcontroller, electronic clock, assembly language 目 录 摘 要 1 ABSTRACT 2 目 录 4 第 一 章 绪 论 5 1.1单片机的定义 5 1.2 单片机分类 5 1.3 单片机的特点 6 1.4单片机的应用领域 6 1.5电子时钟的特点及应用领域 7 第二章 MCS-51单片机简介 8 2.1 单片机的结构 8 2.2 单片机的存储器 10 第三章 数码管的简介 14 3.1 数码管的分类 14 3.2 数码管的应用 15 第四章 电子时钟的设计 16 4.1 可实现的功能 16 4.2 软件设计流程 16 4.3 电子时钟设计的部分主要流程 20 第五章 电子时钟的仿真 21 5.1 单片机调试仿真软件 21 5.2 电子时钟的仿真 22 5.3 整机的仿真及调试 25 结束语 28 致 谢 29 参考文献 30 第 一 章 绪 论 1.1单片机的定义 单片机是指一个集成在一块芯片

您可能关注的文档

文档评论(0)

晓风迷梦 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档