基于单片机的多功能参数检测系统设计与实现.doc
《基于单片机的多功能参数检测系统设计与实现.doc》由会员分享,可在线阅读,更多相关《基于单片机的多功能参数检测系统设计与实现.doc(51页珍藏版)》请在启牛文库网上搜索。
1、VI摘 要本文论述了一种基于单片机的多功能参数检测系统的设计与实现过程。系统采用了单片机STC89C52为主控芯片,设计了电流电压转换电路,能够将现场的温度、压力、流量、液位等物理量所对应的4-20mA电流信号转换成1-5V的直流电压信号,并提供给A/D转换电路。根据系统测量的模拟量较多的特点,使用ADC0809作为A/D转换芯片。使用LCD1602作为显示器件,能够实时显示采集的温度、压力、流量、液位等物理量。同时,系统还设计了参数设置与报警提示等功能电路。论文共分三部分介绍了基于单片机的多功能参数检测系统设计过程。第一部分,主要介绍了系统的方案设计,明确了系统的功能要求,给出了系统方案框图
2、,并对部分元器件的选择、软硬件开发环境进行了介绍;第二部分,主要介绍了硬件电路的设计过程,包括主要器件的介绍、与单片机接口电路设计思路叙述;第三部分,对软件部分的设计思路做了介绍,并分别数据采集、显示、按键处理等各功能部分设计过程进行了叙述。关键词:单片机;电流电压转换;A/D转换;LCD1602;声光报警AbstractThis paper discusses a kind of multi-functional parameter detection system based on single chip microcomputer.This design use the single c
3、hip 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 characteristi
4、cs 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
5、 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 select
6、ion 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
7、 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; LCD1602;Sound and light alarm目 录绪 论11 方案设计21.1 总体框架的设计21.2 单片机开发环境的选择31.2.1 电路图绘制软件31.2.2 Keil_C软件42 硬件电路设计
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 单片机 多功能 参数 检测 系统 设计 实现