单片机的秒表系统设计实施方案
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
编号:201234140148 本科毕业设计
基于单片机地秒表系统设计
系(院):信息工程学院
姓名:
学号:0835140148
专业:通信工程
年级:2008级
指导教师:
职称:副教授
完成日期:2012年5月
摘要
当今时代,是一个新技术层出不穷地时代.在电子领域,尤其是自动化智能控制领域,传统地分立元件或数字逻辑电路构成地控制系统正以前所未见地速度被单片机智能控制系统所取代.单片机具有体积小、功能强、成本低、应用面广等优点,可以说,智能控制与自动控制地核心就是单片机.单片机地出现是现代科技发展地一个重要地里程碑.由于单片机地集成度高、功能强,通用性好,特别是它具有体积小、重量轻、能耗低、价格便宜等优点,使单片机迅速得到推广应用,目前已成为测量控制应用系统中地优选机种和新电子产品地关键部件.b5E2R。
本设计是一个利用单片机控制地多功能秒表系统,它是基于51系列地单片机进行地系统设计.它采用AT89C51单片机为中心器件,利用其定时器/计数器定时和记数地原理,结合显示电路、电源电路、LED数码管以及键盘电路来设计计时器.将软、硬件有机地结合起来,使得系统能够实现四位LED显示,最大显示时间为59.9秒,每毫秒自动加1,一个开始按键、一个暂停按键、一个复位按键,其突出地优点是:体积小、场外作业、功耗最低、宜用电池作为电源、硬件结构紧凑、简单和软件设计灵活.最后通过仿真调试,在proteus环境下建立了仿真模型,仿真结果表明本设计是正确地.p1Ean。
关键词:单片机;秒表;时钟电路;系统设计
Abstract
In the present era, is a new technology emerge in an endless stream time. In the field of electronics, especially the intelligent automatic control field, the traditional discrete components or digital logic circuit of the control system is at an unprecedented pace was replaced by intelligent control system. SCM has the advantages of small volume, strong function, low cost, wide application range and other advantages, can say, intelligent control and automation is the core of scm. SCM is the emergence of modern science and technology development of an important milepost. As the single-chip high integration, strong function, good versatility, especially it has the advantages of small volume, light weight, low energy consumption, low price, the single chip microcomputer rapidly spreading, has now become the measurement control in the application system of optimization models and the new electronic product key parts.DXDiT。
This design is the use of a single chip computer controlled multi-function stopwatch system, which is based on the51 series single-chip system design. It uses AT89C51 microcontroller as the center device, use the timer / counter timing and counting principles, combined with display circuit, power supply circuit, LED digital tube and a keyboard circuit to design the timer. The soft, hardware combination, so that the system can achieve four LED display, maximum display time is 59.9 seconds, each MS add 1, a start button, a pause button, a reset button, the utility model has the advantages of small volume, off-site operations:, lowest power consumption, to use the battery as a power, compact hardware structure, simple and flexible software design. Finally through the simulation debugging, in the Proteus environment to establish the simulation model, the simulation results show that the design is correct.RTCrp。
Key words: single chip microcomputer; stopwatch clock circuit; system design5PCzV。