基于C52单片机的电容测试仪.doc

  1. 1、本文档共36页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于C52单片机的电容测试仪设计 摘 要: 本文主要设计了一个简单的数显式电容值测量仪,全文介绍了电容测试仪的设计思想及硬件结构。该测容仪以STC89C52单片机和555振荡器作为主要元件,首先由555振荡器构成多谐振荡器来产生一个脉冲信号,555振荡器所产生振荡信号的频率由被测电容和电路电阻共同决定。通过STC89C52单片机对555输出脉冲频率进行测量,从而可以计算出测量的电容值。为了避免噪声的影响,提高测量精度,设计中在多谐振荡器输出端加入一个74HC08使输出波型毛刺减少,进而提高了测量精度。最后通过LCD1602显示器显示被测电容容值。在软件设计中,该设计使用C语言来编写程序。该仪器具有方便快捷,结构简单实用,精度较高,价格低廉等特点。 关键词:电容测量 555振荡器 STC89C52 LCD1602 Design of Capacitance Tester Based On C52 Single Chip Microcomputer Abstract: This paper designed a simple digital capacitance measuring instrument, this paper introduces the design thought and the hardware structure of capacitance tester. The capacity measurement instrument based on STC89C52 microcontroller and 555 oscillator as the main element, first by the 555 oscillator multi-vibrator generates a pulse signal, the oscillation signal generated by the 555 oscillator frequency is decided by the measured capacitance and resistance. Measured by STC89C52 microcontroller pulse frequency of 555 output, which can be calculated by measuring the capacitance value. In order to avoid the influence of noise, improve the measurement accuracy, in the design of the multi-vibrator output by adding a 74HC08 to make the output wave type burr reduces, and improves the measuring precision. Finally, through the LCD1602 display shows the measured capacitance value. In the software design, the design uses C language to write the program. This instrument is convenient, simple and practical structure, high precision, low price and so on. Keywords: capacitance measurements 555 oscillator STC89C52 LCD1602 目 录 目 录 - 1 - 1 绪 论 - 2 - 1.1 设计背景及意义 - 2 - 1.2 电容测试仪的发展历史及研究现状 - 2 - 1.3 本设计所做的工作 - 2 - 2 数显测容仪的系统设计 - 4 - 2.1 电容测试仪设计方案比较 - 4 - 2.2 系统的原理框图 - 4 - 3 数字显示测容仪整体设计方案 - 6 - 3.1 整体方案设计 - 6 - 4 数字显示测容仪的硬件设计 - 7 - 4.1 STC89C52单片机的基本功能及应用 - 7 - 4.1.1 STC89C52芯片介绍 - 7 - 4.1.2 STC89C52应用说明 - 10 - 4.1.3 单片机工作的最小化配置

文档评论(0)

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

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

1亿VIP精品文档

相关文档