Abstract:
In order to grasp the situation of pig growing environment in real time,meet the monitoring requirements of pig house environment,and reduce the cost of the system,a real-time monitoring system of pig house environment based on Internet of Things was designed.The system uses STM32F103C8T6 single chip microcomputer as the main control,uses air temperature,air humidity,light intensity,CO
2 concentration,NH
3 concentration and other sensors to detect the environment of the pig house in real time,and alarms or controls the abnormal situation according to the detection results.The ESP8266 Wi-Fi module is used to connect the OneNET Internet of Things platform through MQTT protocol to realize the remote transmission of data and facilitate the visual display and management of data.In the research,the construction of the system is introduced according to the architecture model of the Internet of Things,the hardware required by the system is analyzed,the total cost is about 150 yuan,and the network,power consumption and data accuracy are tested,the results show that the system is stable and reliable.The system integrates multiple sensors in one,can monitor a variety of environmental factors at the same time,and the cost is low,simple and easy to use,can provide a better growth environment for pigs,and can help breeding personnel to carry out scientific management,so as to improve productivity and income.