| With the continuous improvement of people’s living standards,people’s demand for aquatic products is also increasing.my country’s current freshwater aquaculture still has the problems of high labor intensity,low level of automation,and low breeding efficiency.Most fishpond aquaculture users deal with breeding problems through past experience,and cannot scientifically analyze and deal with breeding problems.Most of the current aquaculture monitoring systems are based on the algorithm and model of a single aerator,which cannot meet the aquaculture needs of automatic synergy of multiple different types of aerators.In view of the above situation and field research,this thesis designs a remote monitoring system for aquaculture based on the narrow-band Internet of Things.The system can remotely monitor the water quality parameters of the four fish ponds in real time,and design the automatic collaborative control of multiple aerators.The main research contents and results of this dissertation are as follows:(1)Combined with field research and system demand analysis,the overall system design and hardware platform construction have been completed.(2)Complete the design of sensor conditioning circuit and sensor protection module,use the temperature,PH,dissolved oxygen of water collected by sensor probe and conditioning circuit,and design photovoltaic power generation module to supply power to the collection node.(3)Complete the collection and wireless transmission program design of water temperature,PH,dissolved oxygen and other water quality parameters.The Zigbee coordinator broadcasts the collection instruction to each terminal node.The terminal node receives the instruction and judges whether to issue the collection instruction.After obtaining the water quality parameters,it will add the fish pond number,and then broadcast all the information to the Zigbee coordinator.Finally,the Zigbee coordinator will send the four The parameters of each fish pond are packaged and sent to the local monitoring terminal.(4)The design of the local monitoring terminal program was completed,the water quality parameter information of the four fish ponds was displayed on the LCD screen,and the Alibaba Cloud platform was connected by the narrow-band Internet of Things to realize the remote monitoring of the Alibaba Cloud Web terminal.The local monitoring terminal obtains the current light,weather,time and other parameters,stores and displays them on the LCD screen.(5)The automatic cooperative control scheme of multiple aerators is designed.The local monitoring terminal first judges whether the aerator needs to be turned on immediately according to the collected dissolved oxygen and the set threshold value,and then uses the general control law of the aerator and combines the factors such as time,weather,and illumination to decide the control method of the aerator,and then sends Control command to RS485 relay module.(6)Complete the design of the mobile phone remote monitoring module,which includes three parts: local monitoring terminal,transfer server,and mobile phone terminal.The transfer server uses the I/O multiplexing Select model to communicate with the client under a single thread.The mobile phone APP uses the sqlite database to manage data information and log in and register users.The user login interface includes two types of ordinary users and administrators.The ordinary user interface can only remotely monitor fish pond information,and the administrator can remotely monitor the fish pond and manage the database.The entire remote monitoring system is tested,and the test results show that the system can remotely monitor four fish ponds in real time.. |