摘要:智能监控系统具有广泛的应用前景,在众多行业中都有着很重要的实际应用,越来越多的应用领域以单片机为控制核心,通过单片机对需要监控的对象进行智能控制。农业监控是现代农业生产过程的一个重要的手段,能够实现农业过程的自动化、现代化。自动检测作为现代的产物,是今后的发展方向,它可以无需人的管理,按照设定的模式运作,因此应用广泛,和人类社会的生产生活密不可分。结合MSP430F5438A单片机,设计相关监控系统,该监控系统一方面能够完成现场数据的采集、存储,能够实时采集各类传感器输出的0-5V/0-3V模拟电压值,4-20mA的电流信号及其他数字传感器如电子水尺等信号。本课题完成了驱动程序的设计调试工作,同时完成整个系统的联调工作。25267
关键词 MSP430F5438 驱动设计 传感器 电子水尺
毕业论文设计说明书外文摘要
Title Design of Agricultural Monitoring System Based on
MSP430F5438A--Driver Design
Abstract
Intelligent monitoring system has wide application prospect.It has a very important practical application in many industries.More and more applications use single chip microcomputer as control core through the microcontroller to monitor the object intelligent control. Agricultural monitoring is an important means of modern agricultural production process.It can realize the automation and modernization of agriculture. As the product of modern automatic detection, it is the future direction of development. It can be in accordance with the mode of operation of the set without human management. As a result,it is widely used in production, life and human society. I combine with msp430f5438a microcontroller and design of monitoring system which can complete field data acquisition, storage and can real-time collect all kinds of sensor output 0-5V/0-3V analog voltage value, 4-20mA current signal and other digital sensor such as electronic gauge signal. This paper completes the design and debugging work of driver.At the same time ,I complete the whole system debugging work.
Keywords MSP430F5438 Driver design Sensor Electronic gauge
目 次
1 引言 1
1.1背景介绍1
1.2该课题研究的目的和意义1
1.3现代农业监测系统2
1.3.1现代农业监测系统的概述2
1.3.2现代农业监测系统的组成2
1.4现代测控系统3
1.4.1测控系统的地位和作用3
1.4.2测控系统微机化的意义3
1.4.3微机化测控系统的组成4
1.5本文的主要工作5
2 相关技术和平台介绍 6
2.1MSP430系列单片机简介 6
2.1.1MSP430F5438A简介7
2.2单片机最小系统原理图 8
2.3程序设计工作流程9
2.4 TC401感应式电子水尺9
2.4.1 TC401感应式电子水尺简介9
2.4.2技术参数11
2.4.3Modbus-RTU通讯协议11
3驱动程序设计13
3.1模拟电压采集电路驱动程序设计13
3.1.1采样模块流程图13
3.1.2A/D模块分析14
3.1.3A/D电路图15
3.1.4 EEPROM16
3.1.5 ADC驱动程序20
3.2电子水尺数据采集驱动程序设计23
3.2.1电子水尺数据采集程序流程图23
3.2.2电子水尺数据采集程序过程介绍23
3.2.3电子水尺数据采集程序25
3.3串行通信模块28
3.3.1 MSP430串行通信28
3.3.2串口电路29
3.3.3程序流程图30
3.3.4串行通信驱动程序31
4系统联调33
4.1硬件测试和调试33
4.2软件调试33
4.3整体调试35
结论36
致谢37
参考文献38 基于MSP430F5438A单片机的农业监控系统设计驱动设计:http://www.751com.cn/zidonghua/lunwen_18959.html