基于STM32单片机的多路数据采集系统设计

基于STM32单片机的多路数据采集系统设计
The Design Of Multi-channel Data Acquisition System Based 电网谐波治理装置On STM32
中国地质大学(北京)
指导教师
王猛、张启升
            组员:李金泽 1010102124
                  梁迪  1010102110
                  张永  1010102120熊猫猪
2013.3.31
摘要
本文是基于ARM Cortex-M3的STM32系列嵌入式微控制器的应用实践,介绍了基于STM32单片机的数据采集的硬件设计和软件设计,数据采集系统是模拟域与数字域之间必不可少的纽带,它的存在具有着非常重要的作用。本文介绍的重点是数据采集系统,而该系统硬件部分的重心在于单片机。数据采集与通信控制采用了模块化的设计,数据采集与通信控制采用了单片机STM32来实现,硬件部分是以单片机为核心,还包括A/D模数转换模块,显示模块,和串行接口部分。该系统从机负责数据采集并应答主机的命令。输入数据是由现场模拟信号产生器产生,8路被测电压再通过模数转换器ADC0809进行模数转换,实现对采集到的数据进行模拟量到数字量的转换,并将转换后的数据传输到上位机,由上位机负责数据的接受、处理和显示,并用LCD数码显示器来显示所采集的结果。软件部分应用Keil uVision4通过C++编写控制软件,对数据采集系统、模数转换系统、数据显示、数据通信等程序进行了设计。
关键词:数据采集  89C52单片机  ADC0809    Keil uVision4
芯片测试Abstract
This article is an application of STM32 series embedded机壳 ARM controller based on Cortex-
M3 and it describes the hardware design and software design 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. The introductive point of this text is a data to collect the system. The hardware of the system focuses on signal-chip microcomputer .Data collection and communication control use modular design. The data collected to control with correspondence to adopt a machine 8051 to carry out. The part of hardware’s core is STM32, 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 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.the host machine is responsible for data and display, LED digital display is responsible display the data. The software is partly programmed with  C++ of the Keil uVision4降温母粒. 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  Keil uVision4

铌高

本文发布于:2024-09-22 19:42:55,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/2/105788.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:数据   采集   系统   显示   单片机   部分   设计
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议