基于单片机的电阻、电容、电感测试仪_毕业论文摘要随着电子工业的发展,电子元器件急剧增加,电子元器件的适用范围也逐渐广泛起来,在应用中我们常常要测定电阻,电容,电感的大小。因此,设计可靠,安全,便捷的电阻,电容,电感测试仪具有极大的现实必要性。在系统硬件设计中,以MCS-51单片机为核心的电阻、电容、电感测试仪,将电阻,电容,电感,使用对应的振荡电路转化为频率实现各个参数的测量。其中电阻和电容是采用555多谐振荡电路产生的,而电感则是根据电容三点式产生的,将振荡频率送入AT89C52的计数端端,通过定时并且计数可以计算出被测频率,再通过该频率计算出被测参数。在系统的软件设计是以Keil51为仿真平台,使用C语言与汇编语言混合编程编写了系统应用软件;包括主程序模块、显示模块、电阻测试模块、电容测试模块和电感测试模块。最后,实际制作了一台样机,在实验室里进行了测试,结果表明该样机的功能和指标得到了设计要求。关键词:单片机,555多谐振荡电路,LED动态显示模块,电容三点式振荡II你好ABSTRACTWiththedevelopmentofelectronicindustry,electroniccomponentsrapidlyincreasedthescopeofelectroniccomponentswidelyupgradually,inapplicationsweoftenmeasuredresistors,capacitors,inductorssize.Therefore,thedesignofreliable,safe,convenientresistance,capacitance,inductancetesterofgreatpracticalnecessity.Inthesystemhardwaredesign,taketheMCS-51monolithicintegratedcircuitasthecoreresistance,theelectriccapacity,theinductancereflectoscopereflector,theresistance,theelectriccapacity,theinductance,theusecorrespondence'soscillatingcircuittransformsforthefrequencyrealizeseachparametersurvey.Andtheresistanceandtheelectriccapacityareuse555multiresonantcircuitstoproduce,buttheinductanceisproducesaccordingtotheelectriccapacitybikini,theoscilationfrequencywillsendAT89C52thecountingtobeneat,throughandfixedtimecountsmaycalculatebythefrequencymeasurementrate,figuresoutagainthroughthisfrequencymeterismeasuredtheparameter.Insystem'ssoftwaredesignistakeKeil51asthesimulationplatform,usedtheClanguageandtheassemblylanguagemixprogramminghascompiledthesystemapplicationsoftware;includingmasterroutinemodule,displayII基于单片机的电阻、电容、电感测试仪_毕业论文module,resistancetestmodule,electriccapacitytestmoduleandinductancetestmodule.Finally,theactualproductionofaprototype,testedinthelaboratoryresultsshowthattheprototypeofthefunctionsandindicatorsarethedesignrequirements.KEYWORDS:Singlesliceofmachine,555resonanceswingscircuit,LEDdynamicdisplaymodule,Capacitancethree-pointshock目录1前言................................................................................................................11.1设计的背景及意义...............................................................11.2电阻、电容、电感测试仪的发展历史及研究现状.........................................................................................................11.3本设计所做的工作...............................................................31.4本论文的结构安排...............................................................32电阻、电容、电感测试仪的系统设计..............52.1电阻、电容、电感测试仪设计方案比较52.2系统的原理框图..................................................................53电阻、电容、电感测试仪的系统硬件设计73.1MCS-51单片机电路的设计.............................................73.2LED数码管电路与键盘电路的设计.................93.3测量电阻、电容电路的设计............................133.3.1555定时器简介..............................................