1、 2014 届本科生毕业论文届本科生毕业论文 基于单片机的数据采集系统设计基于单片机的数据采集系统设计 院院 系:系:电子信息学院电子信息学院 专专 业:业:电子信息工程电子信息工程 姓姓 名:名: 指导教师:指导教师: 答辩日期:答辩日期: 二一四年二一四年 五五 月月 摘要摘要 本设计完成了基于单片机的数据采集的硬件设计和软件设计,数据采集系统是 模拟域与数字域之间必不可少的纽带,它的存在具有着非常重要的作用。数据采集 与通信控制采用了模块化的设计,数据采集与通信控制采用了单片机 AT89C52 来实 现,硬件部分是以单片机为核心,还包括 A/D 模数转换模块,显示模块,和串行接 口部分。
2、该系统从机负责数据采集并应答主机的命令。8 路被测电压通过模数转换器 ADC0809 进行模数转换,实现对采集到的数据进行模拟量到数字量的转换,并将转换 后的数据通过串行口 MAX232 传输到上位机, 由上位机负责数据的接受、 处理和显示, 并用 LED 数码显示器来显示所采集的结果。软件部分应用 VC+编写控制软件,对数 据采集系统、模数转换系统、数据显示、数据通信等程序进行了设计。 关键词关键词:数据采集 89C52单片机 ADC0809 MAX232 Abstract This design has finished the hardware design and software d
3、esign of the data on which based on signal-chip microcomputer .The data collection system is the link between the digital domain and analog domain. It has an very important function. Data collection and communication control use modular design. The data collected to control with correspondence to ad
4、opt a machine 8051 to carry out. The part of hardwares core is AT89C52, is also includes A/D conversion module, display module, and the serial interface. Slave machine is responsible for data acquisition and answering the host machine.8 roads were measured the electric voltage to pass the in general
5、 use mold-few conversion of ADC0809,the realization carries on the conversion that imitates to measure the numeral to measure towards the data that collect .Then send the data to the host machine through MAX232.the host machine is responsible for data and display, LED digital display is responsible
6、display the data. The software is partly programmed with VC+. The software can realize the function of monitoring and controlling the whole system. It designs much program like data-acquisition treatment,data-display and data-communication ect. Keyword: data acquisition AT89C52 ADC0809 MAX232 目目 录录 第一章第一章 绪论绪论. 1 1.1 研究背景及其目的意义. 1 1.2 国内外研究现状. 2 1.3 该课题研究的主要内容内容. 2 第二章第二章 数据采集数据采集 3 2.1 数据采集系统. 3 2.2 方案论证. 4 2.2.1 A/D 模数转换的选择 4 2.2.2 单片机的选择 4 2.2.3 串行口的选择 5 2.2.4 显示