摘要本文提出了一种基于MSP430F5438单片机的数据采集系统的方案,本系统由数据采集、转换,数据存取,串行通信等单元组成。能完成对0-3V/0-5V模拟电压的采集,通过A/D转换部分,转换成数字量,并将数据保存至外部的存储器中;同时能通过RS232与上位机进行串行通信,根据要求发送所需的数据。并具体阐述了所用器件、模块的原理、特性、软件设计。该数据采集系统具有硬件电路简单、功耗低等特点。主要完成的是对系统软件部分的设计。67654
毕业论文关键词: 数据采集;A/D转换;数据存取;串行通信
毕业设计说明书(论文)外文摘要
Title Data acquisition system based for MSP430F5438 microcontroller
Abstract
This paper presents a data acquisition system solutions based for MSP430F5438 microcontroller ,which consists of data acquisition, conversion, data access, and serial communication units and so on.It can complete the acquisition of the analog voltage 0-3V/0-5V ,and convert into digital through the A / D conversion section, then store the data in outside memory ;Simultaneously it can communicate serially with the host computer through RS232 ,and to send the required data upon request.And specifically describes the principle and the features of the devices used, the module used , also the design of software .The data acquisition system's hardware circuit is simple, and the power consumption is low.Mainly to complete the part of the design of the system software.
Keywords:analogue-digital conversion; data collection and read; serial communication
目 录
1 绪论 1
1.1 课题研究的意义 1
1.3 本文研究的内容 2
2 概述 3
2.1 单片机的简介 3
2.2 MSP430系列单片机的特点 3
2.3 MSP430单片机的应用 3
2.4 MSP430单片机的发展 4
3 系统的硬件介绍及电路设计 5
3.1 时钟电路 5
3.2 串口通信 6
3.3 数据存取 9
3.4 数据采集/转换 13
3.5 主要芯片介绍 14
4 系统软件设计 20
4.1 系统工作总流程图 20
4.2 时钟初始化 21
4.3 A/D转换程序 22
4.4 串口通信程序 24
4.5 数据存取程序 26
结 论 28
致 谢 29
参 考 文 献 30
附录1 整体程序 31