1 / 28
文档名称:

【毕业设计】基于51单片机的时钟电路的设计与开发(整理版).doc

格式:doc   页数:28
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

【毕业设计】基于51单片机的时钟电路的设计与开发(整理版).doc

上传人:3099984911 2015/2/28 文件大小:0 KB

下载得到文件列表

【毕业设计】基于51单片机的时钟电路的设计与开发(整理版).doc

文档介绍

文档介绍:中文摘要
随着单片机技术的飞速发展,在其推动下,现代的电子产品几乎渗透到了社会的各个领域,有力地推动了社会生产力的发展和社会信息化程度的提高,同时也使现代电子产品性能进一步提高。
时间对于人们来说总是那么的宝贵,可以说时间和金钱是划上了等号。准确的掌握时间和分配时间对人们来说至关重要。因此采用单片机为主的数码管为显示器的电子时钟就体现出了很大的优势。电子钟的设计方法有很多种,但利用单片机制作的电子时钟更具有编程灵活、便于电子功能的扩充、精确度高、便于携带、显示直观等特点。
通过利用MCS-51单片机内部的定时器/计数器功能来实现电子时钟的计时方法。主要由AT89S51芯片和LED数码显示管为核心,构成了一个单片机电子时钟。
关键词:单片机,AT89S51,电子时钟,LED
Abstract
With the rapid development of puter technology in its promotion, modern electronics into almost all areas of society, a strong impetus to the development of social productive forces and social improvement in the level of information, but also to further improve the performance of modern electronic products.
Time is always so valuable for people who can say that time and money is the equal sign. Accurate grasp of time and allocation of time is crucial to people. Therefore, the digital control based on puter-based electronic clock on the display reflects a great advantage. Clock Design There are many ways, however, produced by single chip electronic clock is more flexible programming, and easy expansion of electronic capabilities, high accuracy, easy to carry, display visual and so on.
In this paper, through the use of MCS-51 microcontroller's internal timer / counter function to implement the electronic clock timing method. Mainly by the AT89S51 chip and LED digital display tube as the core, forming a single chip electronic clock.
Key word: Monolithic integrated circuit,AT89S51,Electronic clock,LED
目录
第一章、前言 5
概述 5
研究目的 5
第二章、电路涉及单片机概述 6
单片机的概念 6
单片机的发展史和发展趋势 6
单片机的发展历史 6
单片机的发展趋势 6
单片机的特点 7
MCS-51单片机的基本结构 7
MCS-51单片机的基本组成 7
AT89S51单片机的引脚 8
第三章、系统设计 10
设计方法及原理 10
设计方法 9
电子时钟原理 9
数码管显示原理 9
总体设计 10
系统说明 10
系统框图 10
模块设计 11
电源部分 11
复位电路 11
数码管的连接电路 12
控制部分 13
第四章、软件设计 15
程序流程图 15
源程序 17
中断入口程序 17
主程序 18
1秒计时程序 18
闪动调时程序 20
加1子程序 2