基于单片机子频率计的研究设计书课题.docVIP

  • 2
  • 0
  • 约1.21万字
  • 约 34页
  • 2017-03-26 发布于江苏
  • 举报

基于单片机子频率计的研究设计书课题.doc

基于单片机子频率计的研究设计书课题

毕业设计(论文) 题  目: 基于单片机的电子频率计的设计 专  业: 应用电子技术 班  级: 09223 学  号: 姓  名: 指导老师: 成都工业学院 二〇一二年五月 论文摘要 本文介绍了一种基于单片机的电子频率计的设计方法。此电子频率计以AT89C51单片机为控制核心,可将外部的频率脉冲信号通过单片机计数端输入,由定时器/计数器T0负责定时,定时器/计数器T1负责对被测信号计数,一旦T0定时时间到,立刻终止T1的计数,此时T1的计数值便是单位时间内的脉冲个数,我们将T0的定时时间设为1s,当T0定时满1s后,立即停止T1计数,此时T1的计数值即为被测信号的频率。该频率计的测量范围为1Hz~65534Hz,被测脉冲信号的频率可以随时进行调整,通过LCD液晶显示模块对被测信号的频率进行实时显示。该系统包括被测频率脉冲信号、单片机晶振电路、以AT89C51单片机为核心的频率测量模块、LCD液晶显示模块。 关键词:频率计;AT89C51;脉冲信号;LCD显示模块 Abstract This article tells the story of a kind of based on SCM electronic frequency meter design method.The electronic frequency plan to AT89C51 as control core, But will the frequency of the external pulse signal through the single-chip microcomputer count the input ,The timer/counter T0 prearcing responsible for timing,The timer/counter T1 is responsible to the measured signal count,Once the prearcing time to time ,Immediately terminate the T1 count ,At this time the count value T1 unit of time is the number of the pulse ,We will regularly to set a time of the prearcing 1 s , When prearcing time full 1 s , Stop immediately T1 count ,At this time the count value which is T1 tested the frequency of the signal. The frequency of measurement of the indicator a range of 1 Hz ~ 65534 Hz, tested pulse the frequency of the signal can be adjusted at any time, through the LCD display modules to be measured the frequency of the signal for real-time display. The system includes tested frequency pulse signal and single-chip microcomputer crystals circuit, AT89C51 frequency measurement modules, LCD module. Key Words:The frequency meter;AT89C51; pulse signal;LCD display module 目录 论文摘要 I Abstract II 第1章 引言 1 1.1频率计的概述 1 1.2频率计的基本原理 2 1.3频率计的应用范围 2 1.4本频率计设计任务的主要内容 3 第2章 系统的总体方案设计 4 2.1测频的原理 4 2.2总体思路 4 2.3具体模块 5 第3章 硬件电路设计 6 3.1 AT89C51主控制器模块 6 3.2 晶

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档