毕 业 设 计 ( 论 文 ) 题 目 : 基 于 单 片 机 的 电 子 频 率 计 的 设 计 专 业 : 应 用 电 子 技 术 班 级 : 09223 学 号 : 姓 名 : 指 导 老 师 : 成 都 工 业 学 院二〇一二年五月 论 文 摘 要 本 文 介 绍 了 一 种 基 于 单 片 机 的 电 子 频 率 计的 设 计 方 法 。 此 电 子 频 率 计 以 AT89C51单 片 机 为 控制 核 心 , 可 将 外 部 的 频 率 脉 冲 信 号 通 过 单 片 机计数端输入,由定时器/ 计数器T0 负责定时,定时器/ 计数器T1 负责对被测信号计数,一旦T0 定 时 时 间 到 , 立 即 终 止 T1 的 计 数 , 此 时 T1 的计 数 值 便 是 单 位 时 间 内 的 脉 冲 个 数 , 我 们 将 T0的 定 时 时 间 设 为 1s, 当 T0 定 时 满 1s后 , 立 即 停止 T1 计 数 , 此 时 T1 的 计 数 值 即 为 被 测 信 号 的 频率。该频率计的测量范围为1Hz~65534Hz ,被测脉冲信号的频率可以随时进行调整,通过LCD 液晶 显 示 模 块 对 被 测 信 号 的 频 率 进 行 实 时 显 示 。该 系 统 包 括 被 测 频 率 脉 冲 信 号 、 单 片 机 晶 振 电路 、 以 AT89C51单 片 机 为 核 心 的 频 率 测 量 模 块 、 LCD液 晶 显 示 模 块 。关 键 词 : 频 率 计 ; AT89C51 ; 脉 冲 信 号 ; LCD 显 示模 块 AbstractThis 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 t...