基于单片机数字钟设计资料.doc

  1. 1、本文档共88页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机数字钟设计资料

基于单片机的数字钟设计 The design of digital clock based on signal-chip computer 摘 要 基于单片机的定时和控制装置在许多行业有着广泛的应用,而数字钟是其中最基本的,也是最具有代表性的一个例子。 在基于单片机系统的数字钟电路中,除了基本的单片机系统和外围电路外,还需要外部的控制和显示装置。本电路主要以单片机AT89S52为核心而设计的,通过单片机对信息的分析与处理,控制外围设备。系统由复位模块、时钟模块、温度模块、音乐模块、光识模块及显示模块共六个模块组成,后来在时钟模块的基础上又加载了日历、星期的模块。 本设计以单片机AT89入,通过使用AT8952的内部的可编程定时器/计数器,结合对外接晶振的调节来确定一个合适的振荡周期,从而确定出内部的机器周期。再通过对内部中断程序的设置来设计出时钟程序,即设计出了电子时钟的核心。ABSTRACT The timer equipment using micro controller unit is applied in many trades, the digital clock is the most fundamental example among them, and it is also a most typical example. In digital clock circuit based micro controller unit system, there are the external controlling and display device besides the fundamental monolithic machine system and the outer-ring circuit. The key of the circuit in this design is AT89S52, using the micro control system to process information to control the outer-ring circuit. The system is made up of circuit, clock circuit, music circuit, temperature circuit, and shine circuit. Date and week modul is the external part. This design focuses on monolithic integrated circuit AT89S52. Using AT89S52, which has the interior programmable timer/counter, the union foreign meets the crystal oscillator the adjustment to determine an appropriate duration of oscillation, thus determines theinterior the cycle of the system. And designing the internal interrupt procedure establishment to design the clock procedure, namely designed the core of electronic clock. Then design the expanded electric circuit to let this design more practical. Key Words:Micro control unit; LED shows; Sensor of temperature 目 录 1. 引言 1 2. 关于单片机 2 2.1单片机的发展 2 2.2 单片机的开发背景 4 2.2 单片机的开发背景 5 2.3 AT89S52单片机 6 2.3.1 AT89S52单片机引脚功能 7 2.3.2 AT89S52单片机硬件结构的特点 8 2.3.3 AT89S52单片机的硬件原理 10 3. 方案设计与论证 12 4. 系统总体结构框图 13 5. 系统的硬件设计 14 5.1 显示部分电路的设计 14 5.1.1 LED数码显示管的基本原理 14 5.1.2 数码管显示模块分析 14 5.1.3 LED显示电路 15 5.2 控制部分电路的设计 15 5.2.1 时钟模块 15 5.2.2 温度模块 16 5.2.3 音乐模块 16 5.2.4 复位模块 16 5.2.5 光识模块 17

您可能关注的文档

文档评论(0)

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

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

1亿VIP精品文档

相关文档