基于单片机的数字频率计的设计与制作

上传人:飞*** 文档编号:34954627 上传时间:2018-03-05 格式:DOC 页数:40 大小:2.04MB
返回 下载 相关 举报
基于单片机的数字频率计的设计与制作_第1页
第1页 / 共40页
基于单片机的数字频率计的设计与制作_第2页
第2页 / 共40页
基于单片机的数字频率计的设计与制作_第3页
第3页 / 共40页
基于单片机的数字频率计的设计与制作_第4页
第4页 / 共40页
基于单片机的数字频率计的设计与制作_第5页
第5页 / 共40页
点击查看更多>>
资源描述

《基于单片机的数字频率计的设计与制作》由会员分享,可在线阅读,更多相关《基于单片机的数字频率计的设计与制作(40页珍藏版)》请在金锄头文库上搜索。

1、摘要 摘 要 在电子技术领域中,频率是最基本的参数之一,并且与许多电参量的测量方案、 测量结果都有十分密切的关系,因此频率的测量就显得更为重要。本文设计的测量 频率计由硬件电路和软件设计两部分组成。硬件电路以AT89S52单片机最小系统为 核心,实现整个电路的测试信号控制、数据运算等功能,选用74LS160作为分频电 路,并通过LCD显示模块显示测量的数据。软件设计包括:单片机定时计数程序、 LCD显示程序等。该数字频率计可以对输入信号幅度为5V的正弦波信号、方波信号、 三角波信号进行测量,测量的频率范围为1Hz-10MHz。测量的相对误差为 1%。本 系统具有结构紧凑、体积小、可靠性高、测频

2、范围宽、使用方便等优点。 关键字: 数字频率计;信号;单片机数字频率计的设计 1 AbstractIn the electronics field, the frequency is one of the most basic parameters, and is very closely related to many electrical parameters measurement program, measurement results, so the measurement of frequency becomes even more important. The measureme

3、nt of frequency designed in this text consist of two parts: the hardware and software design .the hardware circuitry take AT89S52 microcomputer as the core, to achieve the functions of controlling of the entire circuit of the test signals, data operations and choose 74LS160 as a frequency divider ci

4、rcuits, and through LCD display module shows measured data. Software design includes: MCU timer counting procedures, LCD display procedures and so on. The digital frequency meter can measure amplitude sine wave signal, square wave, triangle wave signals of which input signal is 5v, the frequency mea

5、sured ranges from 1Hz to10MHz. The relative measurement error is 1%. This system has the advantage of compact structure , small size, high reliability, test frequency range, and easy use. Keyword: Figure frequency meter;Signal;Single-chip 目录2 1 绪论.1 1.1 课题背景.1 1.2 课题研究的目的和意义 .1 1.3 国内外概况 .2 1.4 课题的主

6、要研究工作 .2 2 硬件电路的设计.3 2.1 系统方案选择.3 2.2 系统结构及基本设计原理.5 2.3 基本电路设计.6 2.3.1前置整形电路.6 2.3.2 分频电路.7 2.3.3 选通通道.10 2.4 LCD1602 在系统中的应用 .12 2.4.1 LCD1602 的特点.12 2.4.2 LCD1602 的工作原理.13 2.4.3 LCD1602 与单片机的连接.14 2.5 控制核心 AT89S52 单片机.14 2.5.1 AT89S52 引脚功能描述 .14 2.5.2时钟振荡电路.17 2.5.3复位及复位电路设计.18 3 软件设计.20 3.1 主程序的设计.20 3.2 LCD1602 显示子程序流程.21 4 系统调试.22 4.1 系统的硬件调试.22 4.2 系统的软件调试.23 4.3 频率测量结果.24 5 总结与展望.25数字频率计的设计 3 5.1 总结.25 5.2 展望.25 致谢.

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 质量控制/管理

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号