摘要:目前,在工厂污水监测方面存在着检测难度高,实时性与稳定性差等问题。而我国对于自动水质监测仪器的研究起步较晚。针对此现实问题,设计并制作了基于Zigbee的工厂污水远程监测系统,能够达到检测快捷方便,数据传输稳定,监测实时等目的系统。该系统硬件首先采用温度传感器、浊度传感器、PH传感器与STM32F103单片机相结合,对水质的温度、浊度以及PH值进行参数测量;然后通过Zigbee无线串口透射模块进行参数短数据传输;再使用LabVIEW编写上位机软件进行远程端的数据处理、实时显示与数据保存。最终实验结果数据表明该系统能够对工厂污水进行无线、远程与实时监测,能够实时保存监测数据,便于检查人员查阅。91070
毕业论文关键词:无线远程,实时监测,Zigbee,STM32F103,LabVIEW上位机
Abstract:Currently, some problems exist in factory sewage monitoring such as the difficult detection and the poor real-time and stability。 In China, however, the study of automatic water quality monitoring instrument was started late。 Aimed at this practical problem, I designed and produced a sewage monitoring system based on Zigbee, which can detect sewage quickly, transmit the data stably, and monitor sewage in real time。 As for hardware of the system, first, STM32F103 singlechip was combined with the temperature sensor, turbidity sensor, PH sensor, which was used to measure the temperature, turbidity and PH value of water。 Then the data of the parameters was transmitted through the Zigbee wireless serial transmission module。 After that, LabVIEW was used to write the upper machine software for remote data processing, real-time display and data preservation。 The final data of the experiment showed that the system can not only carry out the wireless, remote and real-time monitoring to the factory sewage but also keep the monitoring data in real time for inspection。
Keywords:Wireless remote, real-time monitoring, Zigbee, STM32F103, LabVIEW host computer
目录
1绪论 4
1。1本文研究的背景与意义 4
1。3本文研究的内容与安排 4
2系统总体方案设计 5
2。1工业污水远程监测系统要求 5
2。2工业污水远程监测系统总体方案设计 5
2。3单片机最小系统 5
2。4PH值传感器模块 9
2。5浊度传感器模块 9
2。6温度传感器模块 10
2。7Zigbee无线传输模块 11
3系统总电路设计 13
3。1传感器总电路设计 13
3。2单片机最小系统设计 13
3。3上位机软件 14
3。3。1上位机前板图 14
3。3。2上位机程序框图 15
3。3。3传感器数据的处理程序图 16
4系统程序的设计 17
4。1主程序流程图 17
4。2参数检测流程图设计 18
4。3数据传输流程图设计 19
5实验数据结果