简易数字钟的设计

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

中文摘要

数字钟已经成为人们日常生活中不可缺少的必需品,广发应用于家庭及办公室等公共场所,给人们的生活、学习、工作及娱乐带来了极大的方便。由于数字集成电路技术的发展和采用了先进的石英技术,使得数字钟具有走时准确、性能稳定、携带方便等优点,它还用于计时、自动报时及自动控制等各个领域。尽管目前市场上已有现成的数字钟集成电路芯片出售,价格便宜、使用方便,但鉴于单片机的定时器功能也可以完成数字钟的设计,因此进行数字的设计是必要的。在这里我们将已学过的比较零散的数字电路的知识有机的、系统的联系起来用于实际,来培养我们的综合分析和设计电路,写程序、调试电路的能力。

单片机具有体积小、功能强、可靠性高、价格低廉等一系列优点,不仅已成为工业测控领域普遍采用的智能化控制工具,而且已渗入到人们工作和生活的各个角落,有力地推动了各行各业的技术改造和产品的更新换代,应用前景广阔。

本次做的数字钟是以单片机(AT89C51)为核心,结合相关的元器件(共阴极LED 数码显示器等),再配以相应的软件,达到制作简易数字钟的目的。硬件部分采用了单片机原理实验室的实验箱进行合理接线调试;软件部分通过keil进行了C程序的修改编译,protues软件仿真等。最终在实验箱上实现了与仿真结果相同的实际效果。

关键词单片机定时功能、AT89C51、共阴LED、Keil、Protues软件。

Abstract

Microelectronics and computer technology along with the rapid development and progress, making the design of electronic systems and applications have entered a new era. The traditional manual design process is being advanced electronic design automation technology to replace. And is currently supporting modern technology has become the universal platform for electronic design, and step by step to support the development of system-level design. Only to hardware description language and logic synthesis-based top-down design methodology to meet the increasingly complex needs of digital system design. The progressive development of the taxi industry, the taxi meter is getting higher and higher requirements, the user requires not only the performance of the stability of billing, billing and accurate anti-cheat functions; and as a result of the instability in oil prices, billing system the need for regular adjustment of the meter so that users can request not to change the hardware to facilitate the billing system modifications.

The system is the use of language, it can make use of digital circuits and system description, simulation and automatic design, and software as a development platform designed billing system procedures taxi and carried out a simulation program. To the achievement of pre-billing and simulation, as well as car to start, stop, pause and other functions, and dynamic scan shows the number of fares.

Key Words Microcontroller\、AT89C51、7SEG-MPX6-CC-RED 、Keil、Proteus

目录

中文摘要.................................................................................................................................... I Abstract .......................................................................................................................................... II 目录......................................................................................................................................... I II 1设计任务描述.. (1)

1.1设计题目:简易数字钟的设计 (1)

1.2 设计要求: (1)

1.2.1 设计目的 (1)

1.2.2 基本要求 (1)

2设计思路 (2)

3设计方框图 (3)

3.1数字钟硬件部分示意图 (3)

3.2数字钟软件部分组成框图 (4)

3.2.1时间调整的程序流程 (4)

3.2.2时钟显示程序流程 (5)

4各部分模块介绍 (6)

4.1单片机AT89C51芯片分析 (6)

4.2晶振电路模块 (7)

4.3复位电路模块 (7)

4.4显示模块 (8)

4.5时间校对按键模块 (9)

5简易数字钟源程序 (10)

5.1源程序 (10)

6数字钟源程序的仿真 (15)

6.1编译、连接 (15)

6.2仿真 (16)

6.2.1生成HEX文件 (16)

6.2.2仿真结果 (16)

7数字钟硬件原理图 (17)

7.1总原理图 (17)

8主要原器件清单 (18)

小结 (19)

致谢 (20)

参考文献 (21)

相关文档
最新文档