| With the rapid development of the “Internet of Things” technology,sensors and automation technology are popularized in all walks of life,and the aquaculture model has also ushered in new reforms.At present,the domestic aquaculture mode is mainly based on traditional extensive aquaculture,and manual sampling is still used in the detection of aquaculture water quality.Not only the detection period is long and the operation is cumbersome,but also the water quality data cannot be dynamically reflected in real time.In addition,in the process of aquaculture,the occupation of land resources is large and the utilization of water resources is unreasonable,which leads to the imbalance of the ecology around the aquaculture environment and the deterioration of the environment.These factors restrict the development of aquaculture.In order to solve the above problems,this paper designs and develops an environmental monitoring system for recirculating aquaculture water tanks based on the cloud-side-end development model,transforming the traditional extensive farming model to an intensive and factory farming model.The first step is to conduct the device-side development.The STM32F103C8T6 core board is selected as the main control chip.The temperature sensor,TDS(Total Dissolved Solids)sensor,PH sensor,water level sensor,Wi Fi(Wireless Fidelity)module and relay module are connected to realize real-time collection of water quality parameters in the aquaculture tank.The data is uploaded to the cloud by Wi Fi module,and a "multi-layer continuous row duplex" water tank and an aquaculture wastewater treatment device are designed.Secondly,the development of cloud service is proceeded.Projects,products and devices are created in the cloud,and the SDK(Software Development Kit)package provided by Alibaba Cloud is downloaded.The devices and the cloud platform are connected through the MQTT(Message Queuing Telemetry Transport)protocol,and the business logic in the cloud is developed.Therefore the automatic control of the device in the cloud is realized.Furthermore,the visual interface is developed.Using the components and interfaces provided by the cloud platform to design web applications and mobile applications,the real-time dynamic display of water quality parameters can be accomplished.Finally,after system testing and experimental analysis,it is verified that the environmental monitoring system of the recirculating aquaculture tank designed in this paper can monitor the environment in the aquaculture tank in real time,and provide a great human-computer interaction interface,which facilitates the daily management of farmers and meets the design requirements. |