项目编号:mcuclub-dz-299
设计简介:
项目名:水质监测(实物)
项目编号:mcuclub-dz-299
单片机类型:STM32F103C8T6
具体功能:
1、通过防水式DS18B20检测水温,当检测值不在设置的范围内,进行防水式加热,并声光报警
2、通过PH检测模块检测PH值,当检测值不在设置的范围内,进行加水中和,并声光报警
3、通过浑浊度传感器检测浑浊度,当检测值不在设置的范围内,进行换水(两个水泵,一个抽水一个加水),并声光报警
4、通过按键可设置各阈值
5、通过OLED显示屏显示数据
6、通过WIFI模块将测量数据发送到手机端,手机端可以设置阈值,并可以控制加热、加水、换水
总字数:17847
摘 要
水质检测是通过相关水质仪器测定水体中污染物的种类、各类污染物的浓度以及变化趋势,给出水质状况的评价结果。实现全面、及时、准确的水质检测是指导生产的科学依据,也是精确控制原材料的添加、优化生产工艺的基础,对保障人民饮水安全和企业正常用水需要具有重要的现实意义。
本文采用STM32作为主控芯片,配合传感器开发的一款水体水质监测系统。采用浑浊度传感器检测水环境的浑浊度,采用防水式DS18B20检测水环境的水温,采用PH传感器检测水环境的PH浓度,采用OLED显示屏显示相关监测值,采用按键可以进行水温、PH等阈值设置,还可以控制继电器进行相关工作,达到调节水环境污染的目的,除此之外,还采用了WiFi模块,可以将检测到的水环境相关参数传到手机端进行显示,还可以实现手机端自动控制继电器调节水环境的作用。
实物测试表明,该系统能够很好的完成水环境相关参数的检测,并自动控制相关参数的调节,从而避免水体环境污染。
关键词:水质检测;传感器;WiFi:单片机;OLED显示屏
Abstract
Water quality testing is to determine the types of pollutants in the water body through the relevant water quality instruments, the concentration of various pollutants and the change trend, and give the evaluation results of water quality status. The realization of comprehensive, timely and accurate water quality testing is the scientific basis for guiding production, and is also the basis for accurately controlling the addition of raw materials and optimizing the production process, which has important practical significance for ensuring the safety of people’s drinking water and the normal water needs of enterprises.
This paper uses STM32 as the main control chip and the sensor to develop a water quality monitoring system. The turbidity sensor is used to detect the turbidity of the water environment, the water temperature of the water environment is detected by the waterproof DS18B20, the PH sensor is used to detect the PH concentration of the water environment, the relevant monitoring value is displayed by the OLED display screen, the water temperature, PH and other threshold values can be set by pressing the button, and the relay can be controlled to perform related work. To achieve the purpose of regulating water environmental pollution, in addition, the WiFi module is also used, which can transmit the detected parameters related to water environment to the mobile phone for display, and can also realize the role of automatic control relay on the mobile phone to regulate the water environment.
The test results show that the system can detect the relevant parameters of water environment well, and automatically control the adjustment of the relevant parameters, so as to avoid the pollution of water environment.
Key words:water quality detection; Sensor; WiFi: MCU; OLED display
目 录