基于单片机控制倒计时器..doc

  1. 1、本文档共32页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
自动化专业课程设计 目: 邵国梁 学 号: 专业班级: 自动化班 周志刚 2012年12月21日 倒 计 时 器 摘 要 4 关键词 4 Abstract 5 第一章 概述 6 第二章 单片机原理介绍 7 2.1 单片机发展概况 7 2.2 MCS-51单片机内部结构 7 三 软件介绍 11 3.1 PROTEL99SE 介绍 11 3.2单片机编译软件Keil介绍 11 4 硬件设计 12 图4-1单片机最小系统图 12 4.1 LED显示部分 12 4.2复位电路部分 16 4.3按键部分: 16 4.4蜂鸣器控制部分 17 5 软件设计 18 总结 20 参考文献 21 附录 22 附录1:原理图 22 附录3:源程序: 24 摘 要 本文介绍了一种利用单片机AT89C2051 设计的秒倒计时器, 具体介绍了硬件的电路设计、接口技术和软件的设计方法。该方案具有一定的实用性和使用上的方便性。倒计时器是由单片机为核心的器件组成的一个倒计时系统。系统显示器是由7位数字型数码管组成,分别显示时间值的分、秒和0.1秒,它能够通过小键盘阵列设定倒计时时间。当倒计时到,有蜂鸣器发出警报。   倒计时器是基于定时而设计的实现及时报警的装置。它由键盘扫描、动态LED显示电路、报警三大部分构成,以实现对计时时间的控制。同时装置还用一个由电平控制的报警装置,用以实现倒计时时间到时进行声音提示。 倒计时器的实时性强,可操作性好,能应对不同要求进行过相应的调整以适应不同环境。 关键词: 单片机; AT89S52; 秒倒计时 Abstract This paper introduces a design of second countdown timer by using micro - controller AT89C2501 as well as the methods of designing its hardware circuit , connector and software circuit. Countdown timer is composed of a single chip computer as the core device consisting of a countdown system. System monitor is composed of 7 digit word digital tube, respectively, show time value is divided, and 0.1 seconds, it can through the small keyboard array set the countdown time. When the countdown reaches, a buzzer alarm. Countdown timer is based on timing and designed to achieve timely alarming device. It consists of keyboard scan, dynamic LED display circuit, an alarm is composed of three parts, in order to achieve timing control. At the same time device with a level control alarm device, to achieve the countdown time when the voice prompt. Countdown timer real-time, good maneuverability, can respond to the different requirements for the corresponding adjustment in order to adapt to different environments. Key words :  micro - controller , AT89S52 ; second countdown timer 第一章 概述 在很多重要比赛中,要用到时间的长短来衡量比赛的结果,如蓝球比赛中,进攻方控球的时间不能超过24s ,即进攻方必须在24s 内必须投蓝出手,否则违例;知识比赛中必须在规定的时间内回答完所提出的问题等等。为了使参加比赛队员和裁判能够准确地掌握好时间,在比赛场地竖立起一个秒倒计时器,让比赛队员都能够清楚地看到时间是一个最

文档评论(0)

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

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

1亿VIP精品文档

相关文档