毕业设计_基于单片机的多功能参数检测系统设计与实现.doc
文本预览下载声明
摘 要
本文论述了一种基于单片机的多功能参数检测系统的设计与实现过程。系统采用了单片机STC89C52为主控芯片,设计了电流电压转换电路,能够将现场的温度、压力、流量、液位等物理量所对应的4-20mA电流信号转换成1-5V的直流电压信号,并提供给A/D转换电路。根据系统测量的模拟量较多的特点,使用ADC0809作为A/D转换芯片。使用LCD1602作为显示器件,能够实时显示采集的温度、压力、流量、液位等物理量。同时,系统还设计了参数设置与报警提示等功能电路。
论文共分三部分介绍了基于单片机的多功能参数检测系统设计过程。第一部分,主要介绍了系统的方案设计,明确了系统的功能要求,给出了系统方案框图,并对部分元器件的选择、软硬件开发环境进行了介绍;第二部分,主要介绍了硬件电路的设计过程,包括主要器件的介绍、与单片机接口电路设计思路叙述;第三部分,对软件部分的设计思路做了介绍,并分别数据采集、显示、按键处理等各功能部分设计过程进行了叙述。
关键词:单片机;电流电压转换;A/D转换;LCD1602;声光报警
Abstract
This paper discusses a kind of multi-functional parameter detection system based on single chip microcomputer.This design use the single chip microcomputer as the controller STC89C52 chip,using current voltage conversion circuit can change the scene of the physical quantities,such as temperature,pressure,flow,level of 4-20 mA current signal into 1-5 V voltage signal,and provide for A/D conversion circuit.According to the characteristics of the measurement system that there are much more analog quantities,ADC0809 is used as A/D conversion chip,using LCD1602 as a display device,can collect real-time display of temperature,pressure,flow and liquid level.At the same time,the system also designed the circuit for parameter setting and sound and light alarming function.
This paper is divided into three part introduces multi-functional parameter detection system based on single chip microcomputer.The first part,mainly introduced the system design,the functional requirements of system,the system block diagram is given,and the selection of some components,hardware and software development environments are introduced;The second part,mainly introduces the design process of hardware circuit,including the main device,single chip microcomputer interface circuit design ideas of narrative;The third part,the design idea of the software part is presented,and various functions such as data acquisition,display and buttons processing are discusses.
Key words: Single chip microcomputer; Current voltage conversion; A/D conversion; L
显示全部