分类号 密级
中国地质大学(北京)
本 科 实 验 报 告
题 目 多路数据采集系统和信号发生器设计
学生姓名 学 号 1010112133
学生姓名 学 号 1010112125
院(系) 地信 专 业 测控技术与仪器
二零一四 年 三 月
摘 要
本此实次是基于ARM Cortex-M3的STM32系列单片机的应用实践,介绍了基于STM32单片机的数据采集的硬件设计和软件设计,数据采集系统是模拟域与数字域之间必不可少的纽带,它的存在具有着非常重要的作用。本文介绍的重点是数据采集系统,而该系统硬件部分的重心在于单片机。数据采集与通信控制采用了模块化的设计,数据采集与通信控制采用了单片机STM32来实现,硬件部分是以单片机为核心,还包括A/D模数转换模块和串行接口部分。该系统从机负责数据采集并应答主机的命令。输入数据是由现场模拟信号产生器产生,8路被测电压再通过模数转换器ADC0809进行模数转换,实现对采集到的数据进行模拟量到数字量的转换,并将转换后的数据传输到上位机,由上位机负责数据的接受、处理和显示结果。软件部分应用Keil uVision4通过C语言编写控制软件,对数据采集系统、模数转换系统、数据显示、数据通信等程序进行了设计。
关键词: STM32单片机 ADC0809 数据采集 Labview上位机
Abstract
The experiment is based on the ARM Cortex-M3 microcontroller applications STM32 family practice , describes the STM32 microcontroller data acquisition hardware design and software design, data acquisition system is essential between the analog domain and digital domain link, it existence has a very important role. Focus of this paper is the data acquisition system, and the hardware part of the center of gravity of the system lies in the microcontroller . Data acquisition and communication control uses a modular design, data collection and communication control using the STM32 microcontroller to implement the hardware part is a microcontroller core, also includes A / D conversion module and the serial interface section. The system is responsible for data collection from the machine and answer a host of commands. The input data is generated by the field generated by the analog signal , then the measured voltage 8 analog to digital conversion by analog to digital converter ADC0809, to achieve the collected data to the digital to analog conversion, and the converted data to the ho
STM32单片机 来自淘豆网m.daumloan.com转载请标明出处.