【最新修订版】单片机数字频率计设计_本科毕业论文设计40论文41.doc
文本预览下载声明
(此文档为word格式,下载后您可任意编辑修改!)
本科毕业设计(论文)
题目: 数字频率计设计
教学单位: 机电工程系
专 业: 自动化
2013年 5月
摘 要
设计以AT89C51单片机为核心,被测的矩形波或者方波整形为脉冲后输入单片机。利用单片机的计数器和定时器的功能对被测信号进行计数。编写相应的程序可以使单片机自动调节测量的量程,并把测出的频率数据送到显示电路显示。
本设计的目的是通过对单片机原理及应用的学习,以及查阅相关资料,培养自学与动手能力,把学到的知识应用到日常生活当中。在设计的过程中,不断的补充不知道的知识、巩固所学、相互讨论,运用科学分析问题的方法解决设计中遇到的困难,掌握单片机系统一般的开发流程,学会对常见问题的处理方法,积累设计系统的经验,充分发挥教学与实践的结合。设计出符合要求的数字频率计。
关键词:单片机;数字频率计;设计;
Abstract
Design USES AT89C51 microcontroller as the core, measured in square wave or a square wave input microcontroller after plastic for pulse. Using single chip microcomputer counter and timer function to count the signal to be measured. Write the corresponding program can make the single chip microcomputer automatic adjust the range of measurement, and send the frequency of the measured data display circuit.
The purpose of this design is based on single chip microcomputer principle and application of learning, and access to relevant data, the cultivation of self-study and practical ability, the application of knowledge to the daily life. Supplement in the process of design, and constantly dont know knowledge, consolidate learning, mutual discussion, using the scientific method to analyze the problem to deal with the difficulties encountered in the design, master the single-chip microcomputer system development process, learn to deal with common methods, accumulate the experience of the design system, give full play to the combination of teaching and practice. Digital frequency meter designed to meet the requirements.
Key words: single chip microcomputer; Digital frequency meter; Design;
目 录
TOC \o 1-3 \h \z \u 第1章 前言 1
1.1 题目背景及研究意义 1
1.2 设计内容及参数要求 2
1.2.1 设计内容 2
1.2.2 参数要求 2
第2章 方案的设计与论证 3
2.1 测频原理 3
2.2 方案一 4
2.3 方案二 4
2.4 方案选择 5
第3章 硬件的设计 6
3.1 基本设计原理 6
3.2 系统硬件模块关系 6
3.2.1 系统总体 6
3.2.2 单片机管脚说明 7
3.2.3 单片机IO口分配表 10
3.2.4 频率显示电路 10
3.2.5 时钟电路 10
3.2.6 电源电路 11
3.2.7 复位按钮 11
3.2.8 数码管显示电路 12
3.2.9 输入信号的要求 14
3.3 最终的硬件电路图 15
第4章 软件的
显示全部