菜单
  

    摘要:本文介绍了基于单片机的通用数据采集装置的设计,数据采集系统是模拟量与数字量之间必不可少的纽带,它的存在具有着十分重要的作用。本文介绍的重点是数据采集系统,而该系统硬件部分的重心在于单片机。数据的采集与通信采用模块化的设计,数据采集与通信采用了单片机AT89S52来实现,硬件部分是以单片机为核心,还包括A/D模数转换模块,显示模块,和串行接口部分。该系统主要负责采集各种现场物理量(液位、温度、流量等),并对这些物理量进行初步处理,再传送至上位机进行后续处理。8路被测电压通过模数转换器PCF8591进行模数转换,实现对采集到的数据进行模拟量到数字量的转换,并将转换后的数据通过串行口MAX232传输到上位机,由上位机负责数据的接受、处理和显示,并用1602字符型液晶显示所采集的结果。软件部分应用Keil uVision4,对数据采集系统、模数转换系统、数据显示、数据通信等程序进行了设计。4315
    关键词:数据采集;AT89S52单片机; PCF8591; MAX232,4315
    The design of universal data acquisition device
    Abstract:This article describes the design of micro controller-based general-purpose data acquisition device.The data collection system is the link between the digital domain and analog domain. It has an very important function.The focus of this paper is the data acquisition system, the center of gravity of the hardware of the system is that the micro controller. Data collection and communication with modular design, data collection and communication with the MCU AT89S52 micro controller as the core of hardware part is, also includes A / D analog-to-digital converter module, display module, and the Serial Interface section. The system is mainly responsible for collecting a variety of on-site physical quantity (level, temperature, flow rate, etc.), and the initial processing of these quantities, and sent to the host computer for subsequent processing. 8 measured voltage by an analog-to-digital converter PCF8591 analog-to-digital conversion, analog to digital conversion on the data collected, and the converted data through the serial port MAX232 transmission to the host computer, the host computer responsible for data acceptance, processing and display, with 1602 Character LCD collected. The software part of the application Keil uVision4, data acquisition systems, analog-to-digital conversion system, data display, data communications program design.
    Keyword: data acquisition ;AT89C52 ;PCF8591 ;MAX232
    目录
    1 绪论1
    1.1  研究背景及其目的意义.1
    1.2  国内外研究现状.2
    1.3  该课题研究的主要内容.3
    1.4  课题要求.3
    2 数据采集4
    2.1 数据采集系统4
    2.2 方案论证4
    2.2.1 A/D模数转换的选择.4
    2.2.2 单片机的选择4
    2.2.3 串行口的选择5
    2.2.4 显示部分5
    2.2.5 按键6
    3 硬件设计8
    3.1 AT89C52.8
    3.2 1062LCD.9
    3.3 MAX232.11
    3.4 PCF859112
    3.5 I2C总线16
    3.6 24C0417
    4 软件设计.19
    4.1 软件安装.19
    4.2 编程软件.21
    4.3 程序设计.22
    4.3.1主程序.22
    4.3.2 A/D转换子程序23
    4.3.2 显示子程序.24
    致谢.26
    参考文献.27,4315

     1  绪论
    1.1 研究背景及其目的意义
    近年来,数据采集及其应用受到了人们越来越广泛的关注,数据采集系统也有了迅速的发展,它可以广泛的应用于各种领域。
    数据采集系统起始于20世纪50年代,1956年美国首先研究了用在军事上的测试系统,目标是测试中不依靠相关的测试文件,由非成熟人员进行操作,并且测试任务是由测试设备高速自动控制完成的。由于该种数据采集测试系统具有高速性和一定的灵活性,可以满足众多传统方法不能完成的数据采集和测试任务,因而得到了初步的认可。大概在60年代后期,国内外就有成套的数据采集设备和系统多属于专用的系统。

  1. 上一篇:51单片机汽车油量检测报警器的设计+仿真图+源码
  2. 下一篇:AT89C52单片机土壤湿度计设计+电路图
  1. stc15单片机水温水压无线监...

  2. PIC16F73单片机逆变电源硬件电路设计+电路图

  3. 51单片机永磁直流无刷电动机驱动控制器设计

  4. Arduino单片机车载太阳能空气净化器设计

  5. AT89C51单片机的无线环境监测装置设计+程序

  6. STC15W404AS单片机太阳能自动浇花器的设计

  7. PIC18F4520单片机水下机器人...

  8. 现代简约美式风格在室内家装中的运用

  9. g-C3N4光催化剂的制备和光催化性能研究

  10. 浅析中国古代宗法制度

  11. NFC协议物理层的软件实现+文献综述

  12. C++最短路径算法研究和程序设计

  13. 巴金《激流三部曲》高觉新的悲剧命运

  14. 中国传统元素在游戏角色...

  15. 上市公司股权结构对经营绩效的影响研究

  16. 高警觉工作人群的元情绪...

  17. 江苏省某高中学生体质现状的调查研究

  

About

优尔论文网手机版...

主页:http://www.youerw.com

关闭返回