- 1、本文档共30页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的计数频率计的设计
Count Cymometer Design Based On Single-chip Microcomputer
PAGE \* MERGEFORMAT II
PAGE \* MERGEFORMAT I
基于单片机的频率计
摘要:数字频率计是一种基本的测量仪器。它被广泛应用于航天、电子、测控等领域,还被应用在计算机及各种数学仪表中。一般采用的是十进制数字,显示被测信号频率。基本功能是测量正弦信号,方波信号以及其他各种单位时间内变坏的物理量。由于其使用十进制数显示,测量迅速精确,显示直观,所以经常被用来使用。
本文主要介绍数字频率计的设计和调试,本作品是基于STC89C52单片机作为平台,基本原理是通过STC89C52单片机进行频率的采集和分析工作,在通过程序使其显示在LCD1602的液晶显示屏上,通过液晶显示屏,让使用者能够直观的看到当前的输入频率是多少。
由于STC89C52单片机只能处理数字信号因此系统需要先把信号放大成方波信号,再通过施密特触发器整形方波,又由于单片机能处理的频率有限,所以这次我们先用74HC390芯片对输入的信号进行了分频,使其降低了100倍,才送去给单片机处理,如果频率高于200KHZ的时候就计算分频后的频率,得到数据再换算成真实的频率。
关键词:单片机, LCD显示屏,分频器
Based on single-chip microcomputer in frequency meter
Abstract: Digital frequency meter is a measuring instrument. It is widely used in the fields of aerospace, electronics, measurement and control, is also used in computer and mathematical instruments. Generally use decimal numbers showed that the signal frequency. Basic functions of measuring sine signal square wave signal time and various other units of physical quantities. Because of its use of decimal number displays, measuring speed and precision, direct display, so often used to use.
This paper describes the design and debugging of digital frequency meter, this work is based on the STC89C52 microcontroller as a platform of principles is conducted through the STC89C52 single-chip frequency of collection and analysis, in LCD1602 through the procedure so that it appears on the LCD screen, LCD display, users can visually see the current input frequency is.
Due to STC89C52 single tablets machine only processing digital signal so system need first put signal zoom square wave signal, again through Schmidt triggers plastic square, and due to single tablets function processing of frequency limited, so this we first with 74HC390 chip on entered of signal for has crossover, makes its reduced has 100 times times, only sent to to single tablets machine processing, if frequency above 200KHZ of when on calculation crossover Hou of freq
文档评论(0)