51单片机数字频率计设计.docx

  1. 1、本文档共54页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 数字频率计是一种基本的测量仪器。它被广泛应用于航天、电子、测控等领域,还被应用在计算机及各种数学仪表中。一般采用的是十进制数字,显示被测信号频率。基本功能是测量正弦信号,方波信号以及其他各种单位时间内变坏的物理量。由于其使用十进制数显示,测量迅速精确,显示直观,所以经常被用来使用。 本文主要介绍数字频率计的设计和调试,本作品是基于STC89C52单片机作为平台,基本原理是通过STC89C52单片机进行频率的采集和分析工作,在通过程序使其显示在LCD1602的液晶显示屏上,通过液晶显示屏,让使用者能够直观的看到当前的输入频率是多少。 由于STC89C52单片机只能处理数字信号因此系统需要先把信号放大成方波信号,再通过施密特触发器整形方波,又由于单片机能处理的频率有限,所以这次我们先用74HC390芯片对输入的信号进行了分频,使其降低了100倍,才送去给单片机处理,如果频率高于200KHZ的时候就计算分频后的频率,得到数据再换算成真实的频率。 关键字:单片机,LCD显示屏,分频器 ABSTRACT Digital frequency meter is a basic measuring instruments. It is widely used in aerospace, electronics, measurement and control, etc., it is also used in computer and mathematical instrument. Generally using a decimal number, it displays the signal frequency. The basic function is to measure sinusoidal signal, square-wave signal, and various other units within the time deterioration of physical quantities. Due to the use of decimal display, rapid measurement precision, intuitive display, it is often used to use. This paper describes a digital frequency meter design and debugging, the present work is based STC89C52 microcontroller as a platform, the basic principle is the collection and analysis of the operating frequency through STC89C52 microcontroller, through the program to display on the LCD1602 LCD screen, the LCD display, allowing users to visually see the current input frequency is. Since only single-chip digital signal processing STC89C52 so the system need to put a square wave signal is amplified signal, and then through the Schmitt trigger shaping a square wave, but also due to the limited frequency microcontroller can handle, so this time we will start with 74HC390 chip input The signal is a frequency, it reduces by 100 times, was sent to the microcontroller processing frequency if the frequency is higher than the frequency after 200KHZ when it calculated to obtain the data and then converted into real frequency. Keywords:microcontroller, LCD display, divider. 目录 TOC \o 1-3 \h \z \u 第1章 整体框架 1 1.1课

文档评论(0)

beifanglei + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档