设计说明书
总字数:15000+
摘 要
我国的水环境监测系统取得了长足的进步,但仍存在预警机制薄弱、监测参数单一、水质影响因子分析不够等问题,为了解决以上问题,本文设计实现了水环境监测系统,对水环境的保护具有一定的意义。本设计对水环境监测系统总体设计做了简要介绍。选取水温、水位、PH、电导率等四种传感器和无线通信模块组成无线传感器网络,设计完成了基于 STM32 的多传感器水环境监测系统。使用 STM32 微处理器控制传感器采集数据,把采集的数据通过 WiFi 无线通信技术组成的无线局域网传输到汇聚节点。STM32 微处理器处理汇聚节点接收的数据后,将数据通过 4G通信技术上传到云服务器。利用 C语言编写PC 端的应用管理软件,并进行数据显示。通过可行性与需求分析,对各功能模块进行数据概念模型设计、物理模型设计并编码实现。按照国家环境标准要求,水环境监测系统提供阙值设置功能!当水环境异常时生成异常数据,通过短信应用实现预警功能,为评估、保护、改善水环境起到了重要作用。
关键词:STM32;水环境监测;WiFi;预警
Abstract
China’s water environment monitoring system has made great progress, but there are still problems such as weak early warning mechanism, single monitoring parameters, and insufficient analysis of water quality impact factors. In order to solve the above problems, this paper designs and implements a water environment monitoring system, which has certain significance for the protection of water environment.This design briefly introduces the overall design of water environment monitoring system. Four kinds of sensors such as water temperature, water level, PH, conductivity and wireless communication module are selected to form a wireless sensor network, and a multi-sensor water environment monitoring system based on STM32 is designed. STM32 microprocessor is used to control the sensor to collect data, and the collected data is transmitted to the sink node through the wireless LAN composed of WiFi wireless communication technology. After processing the data received by the sink node, the STM32 microprocessor uploads the data to the cloud server through 4G communication technology. C language is used to write PC application management software and display data.Through the feasibility and demand analysis, the data conceptual model design, physical model design and coding implementation of each functional module are carried out. According to the requirements of national environmental standards, the water environment monitoring system provides the threshold setting function! When the water environment is abnormal, abnormal data is generated, and the early warning function is realized through SMS application, which plays an important role in evaluating, protecting and improving the water environment.
Key words: STM32; Water environment monitoring; WiFi; forewarning
目 录
1.绪论
1.1 研究背景及其研究意义
1.2 国内外研究现状
1.3 研究目标
2.系统方案设计
2.1 整体方案设计
2.2 主要器件选型选择
2.2.1 主控芯片方案选择
2.2.2 显示模块方案选择
2.2.3 超声波模块方案选型
2.2.4防水温度检测方案选择
3.硬件电路设计
3.1 主控模块电路
3.2 防水DS18B20温度检测模块电路
3.3 HC-SR04超声波避障模块电路
3.4 水质水温测模块
3.5 PH检测模块
3.6 OLED显示模块电路
3.7 按键电路
3.8 WIFI无线传输模块电路
4.系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温度检测模块子流程
4.5 OLED显示流程设计
4.6 WiFi模块子流程设计
5.实物调试
5.1 实物总体设计
5.2水温模块实物测试
5.3水位模块实物测试
5.4电导率实物测试
5.5PH模块实物测试
总结与展望
参考文献
致谢
附录
附录A:原理图
附录B:PCB
附录C:程序
购买后可查看具体内容!