- 13
- 0
- 约4.28万字
- 约 61页
- 2019-01-18 发布于广西
- 举报
PAGE
l
西南科技大学本科生毕业论文
摘 要
本设计论文介绍了用AT89C2051单片机控制的数字钟的硬件结构与软件设计,给出了汇编语言源程序。此数字钟是一个将“时”、“分”、“秒”显示于人的视觉器官的计时装置。它的计时周期为12小时,显示满刻度为12时59分59秒99毫秒,另外应有校时功能。电路由时钟脉冲发生器、时钟计数器、译码驱动电路和数字显示电路以及时间调整电路组成。用晶体振荡器产生时间标准信号,这里采用石英晶体振荡器。根据60秒为1分、60分为1小时、24小时为1天的计数周期,分别组成两个60进制(秒、分)、一个12进制(时)的计数器。构成秒、分、时的计数,实现计时的功能。显示器件选用LED七段数码管。在译码显示电路输出的驱动下,显示出清晰、直观的数字符号。针对数字钟会产生走时误差的现象,在电路中就设计有有校准时间功能的电路。
关键词:单片机;AT89C2051;数字钟;计时
Abstract
The paper mainly presents the hardware and software design of the digital clock using AT89C2051. The source program using assemble Language is given. This digital clock is a time-device, which can display hour, minute, second. Its time period is 12 hours and the full scale of the display is 12 hours, 59 minutes, 59 seconds and 99 milliseconds and it has the function of time adjustment. The circuit consists of the clock pulse generator, the clock counter, decoding drive circuit, digital display circuit and the time adjustment circuit. It generates time standard signal using crystal oscillator, here is the quartz crystal oscillator. Because 60 seconds is 1 minute, 60 minutes is 1 hour and 24 hours is 1 day, we uses two counters of 60 parts and a counter of 12 part separately to constitute the count of percentage of second, second, minute, and hour. So it can realize time function. Display component selects seven-segment numerical tube LED. Driven by decoding output circuit, it can display showing clear and intuitive figures. Due to walking error of digital clock, we design time calibration circuit in the system.
Key words:Single-chip microcomputer; AT89C2051; Digital clock; Time
目 录
摘要? HYPERLINK \l _Toc169677624 II
TOC \o 1-3 \h \z \u HYPERLINK \l _Toc286252971 第一章 绪 论 PAGEREF _Toc286252971 \h 1
HYPERLINK \l _Toc286252972 1.1前言 PAGEREF _Toc286252972 \h 1
HYPERLINK \l _Toc286252973 1.2 设计的目的及意义 PAGEREF _Toc286252973 \h 1
HYPERLINK \l _Toc286252974 第二章 数字钟的功能实现与设计方案 PAGEREF _Toc286252974 \h 1
HYPERLINK \l _Toc286252975 2.1 数字钟的功能及设计要求 PAGEREF
您可能关注的文档
- 《灰色GM(1,N)模型在经济中的预测与应用》-毕业设计(论文).doc
- 《会计_资产减值会计探讨》-毕业设计(论文).doc
- 《会计电算化实践中遇到的问题及对策》-毕业设计(论文).doc
- 《会计电算化-新会计准则对企业纳税的影响》-毕业设计(论文).doc
- 《会计信息失真原因与对策分析》-毕业设计(论文).doc
- 《会展活动对城市发展的影响研究》-毕业设计(论文).doc
- 《会展专业-中博会产品会展策划》-毕业设计(论文).doc
- 《混凝剂的化学除磷》-毕业设计(论文).doc
- 《活性石灰竖窑安装工程施工组织设计》-毕业设计(论文).doc
- 《火电厂节能评价指标分析(锅炉、汽机专业指标)》-毕业设计(论文).doc
原创力文档

文档评论(0)