›› 2014, Vol. 27 ›› Issue (2): 82-.

• 论文 • 上一篇    下一篇

基于51单片机的高频频率计的设计

张粮雨   

  1. (成都理工大学 信息科学与技术学院,四川 成都 610059)
  • 出版日期:2014-02-15 发布日期:2014-01-12
  • 作者简介:张粮雨(1992—),男,本科。研究方向:单片机系统开发。E-mail:1215344737@qq.com

High Frequency Meter Based on 51 Single-chip

 ZHANG Liang-Yu   

  1. (School of Information Science and Technology,Chengdu University of Technology,Chengdu 610059,China)
  • Online:2014-02-15 Published:2014-01-12

摘要:

基于51单片机设计了一款测试范围在1 Hz~10 MHz的频率计。系统通过峰值有效电路和有效值电路将正弦波、方波和三角波转化为直流信号送入单片机,通过编写相应的程序计算出其有效值和峰峰值的比,实现自动检测的目的,并由显示电路显示测量结果。该系统电路简洁、软件编写简单、调试难度低。

关键词: 高频, 51单片机, 频率计

Abstract:

This article presents a frequency meter based on 51 single chip microcomputer with a test range between 1Hz and 10 Hz.It converts sine waves,square waves and triangular waves through the peak detection circuit and the effective value detection circuit to direct current signals and sends them into the single chip microcomputer.By writing corresponding program we can make the system calculate the radio of the effective value and peak to realize the purpose of automatic test.Finally,it shows the measured results through the display circuit.The circuit of this system is concise,software writing is simple,and the debugging is easy.

Key words: high frequency;51single chip microcomputer;frequency meter

中图分类号: 

  • TN914.4