1、 i 毕 业 设 计毕 业 设 计 题 目 电容测试仪设计 学生姓名 学 号 系 部 专 业 班 级 指导教师 ii 电容测试仪设计 摘 要 随着电子工业的发展,电子元器件急剧增加,电子元器件的适用范围也逐渐广泛起来, 在应用中我们常常要测定电容的大小。因此,设计可靠,安全,便捷的电容测试仪具有极大 的现实必要性。 在系统硬件设计中,以 STC89C52RC 单片机为核心的电容测试仪,使用对应的振荡电路转 化为频率实现参数的测量。 电容是采用 555 多谐振荡电路产生的, 将振荡频率送入 STC89C52RC 的计数端端口,通过定时并且计数可以计算出被测频率,再通过该频率计算出被测参数。 在系
2、统软件设计中,是以 Keil4.0 为仿真平台,使用 C 语言编程编写了运行程序;包括 主程序模块、显示模块、电容测试模块。 最后,实际制作了一台样机,在实验室里进行了测试,结果表明该样机的功能和指标得 到了设计要求。 关键词:单片机,555 多谐振荡电路,1602 液晶屏 iii The design of Capacitance tester Abstract With the development of electronic industry,electronic components rapidly increased the scope of electronic componen
3、ts widely up gradually,in applications we often measured capacitors size.Therefore,the design of reliable,safe,convenient capacitance tester of great practical necessity. In the system hardware design,take the MCS-51 monolithic integrated circuit as the core resistance,the use correspondences oscill
4、ating circuit transforms for the frequency realizes each parameter survey. And the electric capacity is use 555 multi resonant circuits to produce,the oscillation frequency will send STC89C52RC the counting to be neat,through and fixed time counts may calculate by the frequency measurement rate,figures out again through this frequency meter is measured the parameter. In systems software design is take Keil4.0 as the simulation platform,used the C language programming has compil