JIMI 发表于 20:50

由AT89S51单片机控制实现的电子计时器系统

论文编号:DZXX329  论文字数:9135,页数:29
摘  要
 目前,随着单片机应用技术的快速发展,以单片机为核心的嵌入式系统已经广泛的应用于各个领域。本文就单片机应用于计时测量和计时控制,设计了一种由AT89S51单片机控制实现的电子计时器系统。
 本文主要介绍了利用单片机实现计时器系统的方法,从软件、硬件两方面着手,对设计、调试等方面进行了论述,并在结论部分对该设计所完成的功能作出了评价。本设计不仅可以很好地实现开启、暂停、复位功能,而且可以精确到10毫秒。因此在时间精度方面还是比较有优势的。最后通过实际应用证明该计时器系统运行可靠,能产生一定的经济价值。
 
关键词:单片机,电子计时器,毫秒 
ABSTRACT
 At present, with the rapid development of the MCU applications,the embedded systems as the core of microcontroller have been widely used in various fields. this paper is refer to the application of time and time measurement control, and developed a timer system which is base on AT89S51 SCM control.  This paper mainly describes the use of MCU timer system, from the beginning of the designing of software, hardware, discussed both proceed to the design, testing and other aspects. Also made the evaluation in the the part of the completion of the function of the design conclusions. The design not only can achieve good opening, pause, reseting functions, and also can be accurate to 10 milliseconds. Therefore, there are more advantages in the time for precision. Finally through the practical application we proved its a reliable timer operation system, can produce a certain economic value.
Key words:  MCU ,Electronic timer ,millisecond
目 录
摘  要 I
ABSTRACT II
第一章 引  言 1
1.1 背景 1
1.2问题的提出 1
1.3主要研究内容 1
第二章  系统硬件设计及分析 3
2.1系统总体结构 3
2.2各功能模块介绍 3
2.2.1 AT89S51芯片 3
2.2.2 显示模块 5
2.2.3 复位模块 6
2.2.4 开关模块 7
2.2.5 振荡电路模块 8
2.3设计电路及连线 9
第三章  软件设计 11
3.1流程图设计 11
3.2程序设计介绍 11
3.3功能子程序 12
3.3.1初始化子程序 12
3.3.2定时器0中断子程序 14
3.3.3动态显示子程序 15
3.3.4 外部中断1子程序 16
3.4检测与调试 17
3.4.1 硬件调试 17
3.4.2 软件调试 17
结论 19
致谢 20
参考文献 21
附录 源代码 22
页: [1]
查看完整版本: 由AT89S51单片机控制实现的电子计时器系统