- 1、本文档共26页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
定时器的设计论文定时器的设计论文
数字定时器的设计
姓名:李龙飞、王磊、卢韦华
专业:电子与通信工程
指导老师:徐大成
日期:2013.9.25
摘要
本次论文是数字定时器的设计。随着时代的进步,电子行业的发展,定时器的应用也越来越广泛。比如,本文设计了一种基于单片机控制的数字定时器,是用LED数码管显示的,以AT89C2051为核心,在LED数码管上显示两段时间。用两个中断按键来设置需要定时是时间,计数开始时,继电器开始工作,定时时间结束,继电器停止工作。该数字定时器方便用户操作,可以自由设置需要的定时时间,来达到控制其他器件的目的。
传统的定时器都是使用发条驱动式、电机传动式或电钟式等机械定时器。电子定时器相对机械定时器来说,体积小、重量轻、造价低、精度高、寿命长、而且安全可靠、调整方便、适于频繁使用。本篇论文讨论了简单的单片机的定时器的设计,对于倒计时的二位LED数码管来说,为了简化线路、降低成本,采用以软件为主的接口方法,即不使用专门的硬件译码器,而采用软件程序进行译码。
关键字:数字定时器 AT89C2051 LED数码管 中断按键 继电器
Abstract
This paper is the design of the digital timer. With the progress of era, the development of electronic industry, the application of the timer is becoming more and more widely. For example, this paper designs a digital timer based on single chip microcomputer control, is made of LED digital tube display, AT89C2051 as the core, in the LED digital tube display two period of time. Use two timer interrupt button to set the need time, at the start of the count, relay began to work, as timer time end, relay stop working. The digital timer, easy to use need timing can be set free time, to achieve the goal of control other devices.
The traditional timer are using spring motor type, motor drive type or clock type mechanical timer, etc. Relative mechanical timer, electronic timer, small volume, light weight, low cost, high precision, long life, and safe and reliable, convenient adjustment, suitable for frequent use. This paper discussed the design, simple microcontroller timer for the countdown two LED digital tube, in order to simplify the circuit and reduce cost, use is given priority to with software interface method, namely do not use specialized hardware decoder, and using software program to decode.
Key words: AT89C2051 LED digital tube digital timer interrupt button relay
1.概述
1.1课程设计的目的和意义
在我们
文档评论(0)