| Since the beginning of the 21 st century,the rapid growth of population and industrialization has exacerbated the consumption of natural resources,especially fossil fuels such as coal,and the long-term use has produced a lot of polluting gas.In addition,being in lack of environmental protection consciousness in China and the tools for environmental monitoring,the pollution problems are getting worse and worse.The threat posed by environmental pollution to human survival has prompted stakeholders to look for a sustainable and reliable environmental monitoring system to keep abreast of environmental information.Compared with the western developed countries,the design and monitoring methods of the early environmental monitoring products in China are much more single and background,and their accuracy of measurement results and the system’s ability to adjust independently are relatively poor.Based on this,this paper designs an environmental energy monitoring system by using wireless sensor network technology.The system uses the lightweight wireless communication interface as the central node of the network,adopting the STM32F103 microprocessor,the network card and the ZigBee,using the software framework such as the μC / OSⅡ embedded system and the LWIP protocol stack,to realize the efficient data forwarding service of the relay node.According to the type of system equipment,the monitoring system is divided into perceptual category and energy category.The perceptual monitoring system uses the lightweight wireless communication interface to connect all kinds of sensors,and uploads the environmental data collected by the sensor to the software through the wireless module,therefore,to realize the rapid update of data.And the energy detection system uses wind and solar power to generate electricity and understands the system power and updates the state on the dynamic mobile device.When there are multiple sources and multiple signals in the system,the network center nodes may form network congestion.In this paper,a fuzzy queue active management algorithm is selected to selectively discard some data,so as to avoid the phenomenon of network congestion.This paper first completes the hardware design of the system,including the hardware architecture and data protocol stack design;then designs the soft applications for displaying of data.Through hardware and software joint test indoor and outdoor,this paper realizes the expected design goals:(1)building perceptual category monitoring system,information collection and wireless transmission;(2)building energy category monitoring system and the display of energyinformation;(3)displaying the received data timely.Finally,the data processing scheme of the system center node is studied to solve the problem of network congestion caused by multiple data transmission. |