数字电桥设计
摘要:在电子器件测量仪器设计中,基于微处理器的手持式 LCR 数字电桥,操作简便,测精度高,应用范围广泛。本文介绍基于 STC89C51 微控制器的手持式 LCR 数字电桥的设计与实现。使用的串口通讯技术,使硬件结构更紧凑。实现了自动选择测量量程以及自动分选等功能。电桥的测量范围 R:0~999.9MΩ;L:0.1uH~9999H,C:0.1nF~9999F,测量精度:0.5%。电池电压::9v,电流:60mA。
本课题介绍了STC89C51系列单片机串口通讯原理、硬件电路和PDU数据格式,以及各个模块间的协调,主要讲述串口通讯在本设计中的应用,同时本论文还设计出了参数值超标时报警功能等。
关键字:报警系统;串口;STC89C51
Digital bridge design
Abstract: Measuring instruments electronics design, based handheld LCR Digital Bridge microprocessor, easy operation, high measurement accuracy, wide range of applications. This article describes the design and implementation of a microcontroller based STC89C51 handheld LCR digital bridge. Serial communication technology used to make the hardware more compact. To achieve the automatic measuring range selection and automatic sorting function. Bridge measuring range R: 0 ~ 999.9MΩ; L: 0.1uH ~ 9999H, C: 0.1nF ~ 9999F, measurement accuracy: 0.5%. Battery voltage :9v, current: 60mA.
This paper describes the STC89C51 series single-chip serial communication theory, hardware and PDU data formats, as well as coordination of the various modules, focuses on serial communication applications in the design, but this paper has designed a parameter value is exceeded alarm function .
Keywords:Alarm System, Serial ports,STC89C51
目录
1.2 课题目前的研究现状………………………………….. 3
3.2 蜂鸣器和指示灯电路………………………………….. 7
3.3 显示电路及键盘电路………………………………….. 8
3.4 A/D转换电路……………………………………….. 10
3.5 RS-232接口总线…………………………………….. 13
第4章 系统软件设计……………………………………….. 17
4.1 系统程序的主要部分…………………………………. 17