基于单片机的数字时钟电路.doc

  1. 1、本文档共21页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
陕西省教育学院毕业论文设计 题 目:基于单片机89S52的数字时钟电路 姓 名:白海燕 班 级:信息1031 指导老师:艾明祥 日 期:2012-9-10 目 录 摘要 1 设计目的及要求 2 1.1 设计目的 2 1.2 设计要求 2 2 设计方案选择 3 2.1 芯片简介 3 2.2 总体设计思路 3 2.3 单元电路设计 4 2.3.1 时钟模块 4 2.3.2 复位电路模块 4 2.3.3 控制模块 5 2.3.4 显示模块 5 3 软件设计 6 3.1整体程序设计思路 6 3.2 程序流图 6 3.3 主要程序代码 8 6 拓展 14 6.1 设计原理 14 6.2 主要程序清单 14 6.3 仿真实现 15 7 心得体会 16 参考文献 17 【中文摘要】 本设计基于单片机技术原理,以单片机芯片AT89C5作为核心控制器,通过硬件电路的制作以及软件程序的编制,设计多功能数字时钟系统。该时钟系统主要由时钟模块、环境温度检测模块、液晶显示模块键盘控制模块组成。系统具有简单清晰的操作界面,能在4V~7V直流电源下正常工作。能够准确显示时间(显示格式为时时:分分:秒秒,24小时制),可随时进行时间调整,具有闹钟时间设置、闹钟开/关、止闹功能,设计以硬件软件化为指导思想,充分发挥单片机功能,大部分功能通过软件编程来实现,电路简单明了,系统稳定性高。同时,该时钟系统还具有功耗小、成本低的特点,具有很强的实用性。由于系统所用元器件较少,单片机所被占用的I/O口不多,因此系统具有一定的可扩展性。Abstract 】 The design is based on the principles of microcomputer technology, based on microcontroller AT89C52 as the core controller, through the production of the hardware circuits and software programming, design of the multifunctional digital clock system. The clock system is mainly composed of a clock module, temperature detection module, LCD display module and the keyboard control module. The system is simple and clear user interface, can be in 4V ~7V DC power supply to work. Be able to accurately display the time ( HH: display format: seconds, 24 hours ), may at any time to time adjustment, has set the alarm time, the alarm on / off, stop alarm function, design of hardware and software as the guiding ideology, give full play to the function of the MCU, most of the functionality through software programming, circuit simple and clear, high system stability. At the same time, the clock system also has a small power consumption, low cost, strong practicability. Because the system uses few components, single-chip occupied by the I/O port is not much, so the system has a certain degree of scalability. 【Key word.】 LCD display chip 6 7 digital tube 分享到 翻译结果重试 抱歉,系统响应超时,请稍后再试 支持中英、中日在线互译 支持网页翻译,在输入框输入网页地址即可 提供一键清空、复制功能、支持双语对照查看,使您体验更加流畅 1 绪论 人类的生活和工作均离不开时钟。从古代的滴漏更鼓到近代的机械钟,从电子表到目前的数字时钟,为了准确的测量和记录时间,人们

文档评论(0)

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

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

1亿VIP精品文档

相关文档