- 24
- 0
- 约2.81万字
- 约 42页
- 2021-05-16 发布于湖北
- 举报
摘 要
在当今社会飞速发展的格局下,越来越多的流水线上的产品和各种商业场合的人员需要进行计数。基于单片机构成的计数器有直观和计数精确等优点,目前已在各种行业中普遍使用。计数器是一个用以实现计数功能的时序部件,它不仅可用来计数,还常用作数字系统的定时、分频和执行数字运算以及其它特定的逻辑功能。本设计采用AT89C52单片机为核心,阐述了系统工作原理,给出了软件流程。
关键词:计数器;单片机;工作原理;流程
Abstract
In todays society under the pattern of rapid development, more and more on the lines of products and various business settings need to automatically count. MCU-based products pose a direct and automatic counters have the advantage of accurate count, is already in the Species commonly used in industry.
To counter is a function of the temporal component count, it not only can be used to count, also used as digital system, frequency and execution timing digital computing, and other special logic function. Have designed that the monolithic machine is core originally adopt AT89C51.
Keywords: Counting; SCM;Working principle;Technological process
目 录
TOC \o 1-3 \h \z \u 摘 要 I
Abstract II
第1章 绪论 1
1.1 课题背景及目的和意义 1
1.1.1 课题背景 1
1.1.2 课题的目的和意义 1
1.2 数字单片机技术的发展 2
1.2.1 内部结构的进步 2
1.2.2 功耗、封装及电源电压的进步 2
1.2.3 工艺上的进步 3
1.3 课题研究的主要工作 3
第2章 89C51单片机及芯片介绍 4
2.1 MCS-51系列单片机简介 4
2.2 单片机组成 5
2.2.1 运算器(ALU)的主要功能 5
2.2.2 控制器 5
2.2.3 存储器 6
2.3 单片机指令系统 6
2.4 单片机定时系统 7
2.5 时钟电路与复位电路 7
2.5.1 时钟电路 7
2.5.2 基本时序单位 8
2.5.3 复位电路 8
2.6 单片机中断系统 8
2.7 AT24C02芯片介绍 9
2.7.1 管脚配置 9
2.7.2 功能描述 9
2.7.3 管脚描述 10
2.7.4 存储结构与寻址 11
本章小结 11
第3章 89C51单片机及芯片介绍 12
3.1 最小系统设计 12
3.2 LED显示电路 15
3.3 电路总图 17
本章小结 18
第4章 计数器的软件设计 19
4.1 系统软件流程图设计 19
4.2 程序设计 20
本章小结 27
第5章 软件介绍 28
5.1 keil软件介绍 28
5.2 protel软件简介 29
本章小结 30
结 论 31
致 谢 32
参考文献 33
附录1 译文 34
附录2 英文参考资料 36
第1章 绪论
1.1 课题背景及目的和意义
1.1.1 课题背景
随着计数器技术的不断发展与进步,计数器的种类越来越多,应用的范围越来越广,随之而来的竞争也越来越激烈。过硬的技术也成为众多生产厂商竞争的焦点之一,厂商为了在竞争中处于不败之地,从而不断地改进技术,增加产品的种类。
现计数器的种类以增加到:电磁计数
原创力文档

文档评论(0)