|
论文编号ZXX201 论文字数:9810,页数:32
摘要
本设计主要是利用AT89C51单片机设计电子时钟,能实现24小时制时钟功能,能进行时,分,秒的显示,并具有定时功能。
本文介绍了AT89C51系列单片机应用中的数据转换显示,数码管显示原理,单片机的定时中断原理。硬件电路主要由AT89C51 单片机,LED数码管,按键,二极管,复位电路等部分构成。软件部分采用汇编语言。
本系统结构简单,使用方便,应用范围广泛。
关键词:AT89C51,LED数码管,时钟显示,定时
ABSTRACT
This design is the Electronic clock that makes use of a Single-chip of the AT89C51 design, It can realize 24-hour clock function and Can be hours, minutes and seconds display, and has timing function.
This article introduce the AT89C51 series a Single-chip an application in detail in of the data conversion manifestation, the figures tube manifestation principle, single slice the machine breaks off principle in fixed time. Hardware circuit by AT89C51 single-chip, LED digital tubes, buttons, diodes, and other parts reset circuit. Software using assembly language.
The system structure is simple and easy to use, and it is a wide range of applications.
Key words: AT89C51, LED digital tube, Clock display, Timing
目录
摘要 I
ABSTRACT II
第1章 引言 1
1.1 背景 1
1.2设计目标 1
第2章 系统方案分析 2
2.1 基本要求 2
2.2 硬件方案 2
2.2.1 显示原理 2
2.2.2 键盘及读数原理 2
2.2.3 AT89C51简介 3
2.2.4 LED数码管简介 5
2.2.5电路原理图 7
2.3 软件方案 7
2.3.1 程序流程图 9
第3章 系统的设计 11
3.1 系统硬件设计 11
3.1.1单片机系统设计 11
3.1.2按键电路的设计 11
3.1.3复位电路的设计 12
3.1.4显示电路的设计 13
3.2 系统软件设计 14
3.2.1功能模块软件设计 14
3.2.2整个系统软件设计 15
第4章 系统的调试和系统分析 16
4.1输入按键调试 16
4.1.1输入按键的调试 16
4.1.2复位电路的调试 16
4.1.3显示电路的调试 16
4.2系统的性能分析 16
结束语 17
致谢 18
参考文献 19
附录一 实物图 20
附录二 电路原理图 21
附录三 部分源代码 22 |
|