# Design of Ecological Environment Monitoring System Based on Internet of Things Technology

Authors: Limin Chen; Lei Zhang
Journal: Wireless Communications and Mobile Computing
 (2022)

---

## Abstract

Because of its high availability, Internet of Things technology is widely used in multipoint ecological environment monitoring and other related fields, which greatly improves the scientificity and accuracy of ecological environment monitoring results. The Internet of Things technology can realize multilevel and omnidirectional environmental monitoring functions by combining GPS systems and GIS systems and, at the same time, can significantly increase the monitoring range of environmental monitoring. On the basis of the Internet of Things monitoring technology, the use of electronic sensors can track and monitor the content and composition of various elements in the environment in real time, thereby reducing the work intensity of environmental monitoring personnel and effectively improving the environment reliability of monitoring results. In this study, we introduce the actual application and direction of the Internet of Things technology in multisite environmental monitoring systems. A water quality pH and temperature sensor monitoring system based on wireless data transmission is designed. Experimental analysis shows that the communication stability of the designed sensor system is relatively good. The average packet loss rate of the network is only 0.87%. The value measured by the designed sensor is very close to the reference value measured by the standard instrument. The average relative error of pH and temperature is 1.56% and 0.77%, respectively, which meets the water quality environmental monitoring standards. It is believed that the use of Internet of Things technology in ecological environment monitoring can effectively solve the problems of low efficiency and low rationality in traditional environmental monitoring methods, thereby fully improving the quality and level of monitoring in ecological environment monitoring.


---

## Body

## 1. Introduction

In recent years, the environmental degradation and pollution problems in China have become more and more serious. Environmental pollution not only destroys the ecosystem but also threatens human survival [1]. The air pollution in China is serious. The sulfur dioxide emissions have ranked first in the world. In addition, the pollution of water resources is more obvious. 70% of the rivers in the country have pollution problems [2]. There are serious polluting companies within 1 kilometer of 110 million residential houses, including oil, coke, and thermal power generation. In addition, waste pollution in China is also very prominent. The average annual output of industrial solid waste is 8.2×108t, and domestic waste is 1.4×108t. In this case, pollution monitoring is particularly important. In the context of increasingly serious environmental pollution, conventional ecological pollution data monitoring methods cannot meet the needs of ecological pollution data monitoring and management [3]. The use of online monitoring technology to monitor ecological pollutant data not only improves the monitoring efficiency and reduces the monitoring cost but also further improves the accuracy and efficiency of the monitoring data. It recognizes that the continuous monitoring of pollutants can monitor the pollution data timely and accurately [4].In the early 1990s, many countries automatically established stable multiecological monitoring systems for online environmental monitoring and developed geographic information systems (GIS), remote sensing technologies (RS), and global satellite positioning (GPS) satellite positioning systems [5]. These technologies were used to check the air pollution and the changes in the ecological environment and predict the future environmental quality. The application of these technologies has expanded the scope of environmental monitoring and the ability to acquire, process, transmit, and apply monitoring data [6]. With the continuous development of science and technology, the application of the Internet of Things technology in the actual ecological environment monitoring has been able to better realize the networking, informationization, real-time, and intelligentization of environmental monitoring, greatly improving the reliability and validity of the Internet of Things technology in environmental monitoring. Therefore, for the current stage, the research on the multisite ecological environment monitoring of Internet technology is of certain value [7].The Internet of Things actually refers to the connection of objects through the internet; thus, the Internet of Things technology can be understood as an information technology developed through the Internet. The Internet of Things is mainly composed of three architectural layers, which are network layer, perception layer, and application layer. The network center and communication signals in the system are the main system components in the network layer, which include the intelligent control and information collection and processing of the system in the system. The perception layer mainly includes hardware devices such as sensor devices, cameras, information recognition processors, and GPS in the system structure [8]. These devices have functions that can identify and capture the information released by each environmental object. The application layer is mainly composed of the actual application of technology content constitutes, such as cloud computing, application integration, and web services [9].The Internet of Things technology can be used in many areas of ecological environmental monitoring to improve the quality and effectiveness of environmental monitoring. In this study, we use gas sensors to effectively monitor the content of various gases and particles in the atmosphere and the air through the Internet of Things technology and accurately transmit the monitored data to the Internet of Things control in real time. The computer terminal of the center realizes the application goal of monitoring the atmospheric environment [10]. It is verified that the use of sensors in the Internet of Things system in the actual water quality monitoring of the water environment can collect the water quality information and water quality content composition information existing in the studied water area in time, so as to achieve the system application goal of real-time monitoring of water quality [11]. The research results of this article provide reference for the application of Internet of Things technology in the field of ecological environment monitoring, such as its application in sewage, ocean, and other ecological environments.


## 2. Methods and Materials

### 2.1. Sensor Design

The sensor module is mainly composed of various sensors. The sensor module is designed with the most common water environment monitoring as an example. The pH composite electrode is used to measure the pH value [12]. The built-in thermistor can be used to measure temperature of the aqueous solution. The sensor module is mainly responsible for collecting various water quality index values and amplifying the analog signal. After that, the sensor module passes the analog signal to the processor module. The pH electrode has a high internal resistance, and the output signal is millivolt.In the process of designing the circuit, because the signal is relatively weak, a three-stage amplification is formed by an operational amplifier [13]. The output of the first-stage amplifying pH electrode is connected to a voltage follower, so that the impedance can be matched in the circuit, and the back-EMF can be cut off for the first-stage amplification circuit interference [14]. The second level of amplification is to amplify the output signal of the pH electrode, and the third level of amplification is to adjust and amplify the signal to 0 ~ 3.3 V to meet the input range of the analog-digital converter. The pH value measurement circuit is shown in Figure 1. As shown, the output voltage of the circuit can be expressed as
(1)VPH=R5R41+R3+RPR2Vin−3R6R6+R71+R5R4.Figure 1
The pH sensor conditioning circuit diagram.In the formula,VPH is the output voltage, the output voltage is Vin, the adjustable resistance is RP, the fixed resistance is R2−7, the voltage stabilizer is D1, the OP07 chip used in the first, second, and third stage amplifiers is U1, U2, and U3, respectively, and filter capacitors are C1−C3.The pH electrode used in this system can measure the pH in the water environment. The composite electrode is composed of the reference calomel electrode and the indicator glass electrode. The glass electrode is only sensitive to hydrogen ions. When the hydrogen ion concentration in the environment changes, the electromotive force between the two electrodes also changes. According to the Nernst equation, the relationship between the electromotive force and the pH between the two electrodes is(2)E=E0+STpH−7.In the formula, the standard electric potential is expressed by E0, the output electromotive force is expressed by E, the Nernst coefficient is expressed by S, and the absolute temperature is expressed by T.The output voltage across the electrodeVin is
(3)Vin=RLRS+RLE=BE,In the formula, the equivalent resistance is represented byRL, and the internal resistance of the electrode is represented byRS.According to the above formula, the output voltage can be expressed as(4)VpH=KpHTpH−7+V0.In the formula, the output voltage of the circuit whenpH=7 is expressed by V0, and the Nernst coefficient is expressed by KpH.In order to reduce the development cost and complexity, the thermistorRt in the pH composite electrode is used for temperature measurement. The working principle is to adjust the resistance of Rp to make the bridge reach a balanced state. The output voltage is
(5)VT=5RT/RP1+RT/RP1+R2R6+R3R6R2R4+R2R3+R3R4−R3R6R2R4+R2R3+R3R4.From the experiment, we can get(6)VT=−4.593∗10−3T+1.0810<T<25,(7)VT=−1.207∗10−3T+1.25725<T<50.In equations (6) and (7), the centigrade temperature is expressed by T.Figure2 shows the temperature measurement circuit. Among them, the anode and cathode interfaces of the electrode are 1-2, the adjustable resistance is represented by RP, the fixed resistance is represented by R1−R6, the voltage stabilizer is represented by D1, the built-in thermistor is represented by RT, and the amplifier OP07 is represented by U1. Figure 3 is a photograph of a sensor node.Figure 2
Temperature sensor conditioning circuit.Figure 3
Physical map of sensor node.


### 2.2. Processor Module

The microcontroller chip MSP430F5638 is equipped with a high-performance 12-bit analog-to-digital converter, two universal serial communication interfaces, a comparator, a hardware multiplier, USB2.0, four 16-bit timers, DMA, and multiple I/O pin the microcontroller. The low power consumption of this single-chip microcomputer fully meets the requirements of this subject. The operating voltage is from 1.8 V to 3.6 V. The active mode (AM) is 8 MHz and 270 MHz at 3.0 V. The standby mode (LPM3) can wake up quickly. Different power-saving modes are also suitable for long-time working occasions with battery power supply [15]. The ultralow power consumption of the architecture and the high flexibility of the clock system can greatly extend the battery life. Because it is a FLASH type, it is possible to debug and download programs on the single-chip microcomputer online, and the processor module is converted into a digital quantity through analog-to-digital conversion.


### 2.3. Wireless Communication Module

The wireless communication module adopts the Zig Bee low-power and high-performance CC2530 microcontroller introduced by TI. The CC2530 sends the collected data through the wireless radio module. Moreover, this design method of integrating MCU and radio frequency transceiver module has many advantages, which makes the node miniaturization and lower power consumption. It contains an 8051 single-chip microcomputer and a high-performance RF transceiver, with a communication distance of up to 1000 m. An 8051 microprocessor and a high-performance RF transceiver are integrated inside, with a communication distance of up to 1000 m. A large flash memory which is up to 256 KB of storage space is the ideal professional chip for Zig Bee. It works in the global 2.4 GHz frequency band. The radio frequency transceiver complies with relevant standards, has stable performance and low power consumption, and can achieve fast multipoint-to-multipoint networking. Figure4 shows the function pin diagram of CC2530. CC2530 was chosen for the following reasons:
(1)
According to the actual needs of the project, Zig Bee has smaller data flow, lower cost, and lower power consumption(2)
CC2530 integrates ADC, microprocessor, and communication module to improve reliability while miniaturizing the node(3)
CC2530 can use the latest ZigBee protocol, namely, ZigBee 2007, while chips such as CC2430 or CC2431 do not support ZigBee 2007 protocol. ZigBee 2007 has improved interoperability and other aspects. Using CC2530 as a processor node can communicate over longer distances and has more stable networking performance(4)
CC2530 has better performance and lower priceFigure 4
CC2530 function pin diagram.


### 2.4. Power Module

The power management module provides energy to each module of the sensor node. Since the sensor node must have the characteristics of convenient power supply and strong continuous working ability, the wireless sensor node power supply system designed in this paper uses 2 AA batteries as the main power supply [16]. The circuit design only needs to add four at the input and output ends. The filter capacitor is sufficient, which has the advantages of low power supply cost and convenient battery replacement [17].


### 2.5. Internet of Things Technology Gateway Design

For the design of the gateway, the OMAP3730 chip from TI Company is used. The OMAP3730 processor uses the advanced 45 nm process technology from TI Company. This architecture design provides better ARM and graphics card performance, while ensuring low power consumption.OMAO3730 integrates a DSP subsystem and an ARM subsystem. The DSP subsystem uses a TMS320CC64 DSP processor. The heterogeneous dual-core OMAP3730 processor integrates a TMS320CC64 processor. The operating frequency can reach up to 800 MHz, and there are 64 32-bit general registers. There are 8 independent functional units, including 6 arithmetic logic units and 2 multipliers. 8 functional units are with a word length of 256 bits. At a clock frequency of 800 MHz, when 8 processing units are running at the same time, the maximum processing capacity is 6400MIPS. The TMS320CC64 core adds free power saving areas, variable length instructions, and parallel expansion mechanism. In addition, the core of TMS320CC64 has added a hardware accelerator to enable it to play a role in occasions that require large data volume floating point operations or where real-time performance is required.The ARM subsystem uses the ARM Coretex-A8 processor with a frequency of up to 1000 MHz. As shown in Figure5, the gateway still uses the CC2530 chip for reception, and the unified transmission protocol ensures reliable transmission. There are no sensors in the gateway node designed in this paper, and it is only responsible for processing and sending and receiving data. A Wi-Fi module is used to complete remote data transmission.Figure 5
Block diagram of the hardware structure of the gateway.


## 2.1. Sensor Design

The sensor module is mainly composed of various sensors. The sensor module is designed with the most common water environment monitoring as an example. The pH composite electrode is used to measure the pH value [12]. The built-in thermistor can be used to measure temperature of the aqueous solution. The sensor module is mainly responsible for collecting various water quality index values and amplifying the analog signal. After that, the sensor module passes the analog signal to the processor module. The pH electrode has a high internal resistance, and the output signal is millivolt.In the process of designing the circuit, because the signal is relatively weak, a three-stage amplification is formed by an operational amplifier [13]. The output of the first-stage amplifying pH electrode is connected to a voltage follower, so that the impedance can be matched in the circuit, and the back-EMF can be cut off for the first-stage amplification circuit interference [14]. The second level of amplification is to amplify the output signal of the pH electrode, and the third level of amplification is to adjust and amplify the signal to 0 ~ 3.3 V to meet the input range of the analog-digital converter. The pH value measurement circuit is shown in Figure 1. As shown, the output voltage of the circuit can be expressed as
(1)VPH=R5R41+R3+RPR2Vin−3R6R6+R71+R5R4.Figure 1
The pH sensor conditioning circuit diagram.In the formula,VPH is the output voltage, the output voltage is Vin, the adjustable resistance is RP, the fixed resistance is R2−7, the voltage stabilizer is D1, the OP07 chip used in the first, second, and third stage amplifiers is U1, U2, and U3, respectively, and filter capacitors are C1−C3.The pH electrode used in this system can measure the pH in the water environment. The composite electrode is composed of the reference calomel electrode and the indicator glass electrode. The glass electrode is only sensitive to hydrogen ions. When the hydrogen ion concentration in the environment changes, the electromotive force between the two electrodes also changes. According to the Nernst equation, the relationship between the electromotive force and the pH between the two electrodes is(2)E=E0+STpH−7.In the formula, the standard electric potential is expressed by E0, the output electromotive force is expressed by E, the Nernst coefficient is expressed by S, and the absolute temperature is expressed by T.The output voltage across the electrodeVin is
(3)Vin=RLRS+RLE=BE,In the formula, the equivalent resistance is represented byRL, and the internal resistance of the electrode is represented byRS.According to the above formula, the output voltage can be expressed as(4)VpH=KpHTpH−7+V0.In the formula, the output voltage of the circuit whenpH=7 is expressed by V0, and the Nernst coefficient is expressed by KpH.In order to reduce the development cost and complexity, the thermistorRt in the pH composite electrode is used for temperature measurement. The working principle is to adjust the resistance of Rp to make the bridge reach a balanced state. The output voltage is
(5)VT=5RT/RP1+RT/RP1+R2R6+R3R6R2R4+R2R3+R3R4−R3R6R2R4+R2R3+R3R4.From the experiment, we can get(6)VT=−4.593∗10−3T+1.0810<T<25,(7)VT=−1.207∗10−3T+1.25725<T<50.In equations (6) and (7), the centigrade temperature is expressed by T.Figure2 shows the temperature measurement circuit. Among them, the anode and cathode interfaces of the electrode are 1-2, the adjustable resistance is represented by RP, the fixed resistance is represented by R1−R6, the voltage stabilizer is represented by D1, the built-in thermistor is represented by RT, and the amplifier OP07 is represented by U1. Figure 3 is a photograph of a sensor node.Figure 2
Temperature sensor conditioning circuit.Figure 3
Physical map of sensor node.


## 2.2. Processor Module

The microcontroller chip MSP430F5638 is equipped with a high-performance 12-bit analog-to-digital converter, two universal serial communication interfaces, a comparator, a hardware multiplier, USB2.0, four 16-bit timers, DMA, and multiple I/O pin the microcontroller. The low power consumption of this single-chip microcomputer fully meets the requirements of this subject. The operating voltage is from 1.8 V to 3.6 V. The active mode (AM) is 8 MHz and 270 MHz at 3.0 V. The standby mode (LPM3) can wake up quickly. Different power-saving modes are also suitable for long-time working occasions with battery power supply [15]. The ultralow power consumption of the architecture and the high flexibility of the clock system can greatly extend the battery life. Because it is a FLASH type, it is possible to debug and download programs on the single-chip microcomputer online, and the processor module is converted into a digital quantity through analog-to-digital conversion.


## 2.3. Wireless Communication Module

The wireless communication module adopts the Zig Bee low-power and high-performance CC2530 microcontroller introduced by TI. The CC2530 sends the collected data through the wireless radio module. Moreover, this design method of integrating MCU and radio frequency transceiver module has many advantages, which makes the node miniaturization and lower power consumption. It contains an 8051 single-chip microcomputer and a high-performance RF transceiver, with a communication distance of up to 1000 m. An 8051 microprocessor and a high-performance RF transceiver are integrated inside, with a communication distance of up to 1000 m. A large flash memory which is up to 256 KB of storage space is the ideal professional chip for Zig Bee. It works in the global 2.4 GHz frequency band. The radio frequency transceiver complies with relevant standards, has stable performance and low power consumption, and can achieve fast multipoint-to-multipoint networking. Figure4 shows the function pin diagram of CC2530. CC2530 was chosen for the following reasons:
(1)
According to the actual needs of the project, Zig Bee has smaller data flow, lower cost, and lower power consumption(2)
CC2530 integrates ADC, microprocessor, and communication module to improve reliability while miniaturizing the node(3)
CC2530 can use the latest ZigBee protocol, namely, ZigBee 2007, while chips such as CC2430 or CC2431 do not support ZigBee 2007 protocol. ZigBee 2007 has improved interoperability and other aspects. Using CC2530 as a processor node can communicate over longer distances and has more stable networking performance(4)
CC2530 has better performance and lower priceFigure 4
CC2530 function pin diagram.


## 2.4. Power Module

The power management module provides energy to each module of the sensor node. Since the sensor node must have the characteristics of convenient power supply and strong continuous working ability, the wireless sensor node power supply system designed in this paper uses 2 AA batteries as the main power supply [16]. The circuit design only needs to add four at the input and output ends. The filter capacitor is sufficient, which has the advantages of low power supply cost and convenient battery replacement [17].


## 2.5. Internet of Things Technology Gateway Design

For the design of the gateway, the OMAP3730 chip from TI Company is used. The OMAP3730 processor uses the advanced 45 nm process technology from TI Company. This architecture design provides better ARM and graphics card performance, while ensuring low power consumption.OMAO3730 integrates a DSP subsystem and an ARM subsystem. The DSP subsystem uses a TMS320CC64 DSP processor. The heterogeneous dual-core OMAP3730 processor integrates a TMS320CC64 processor. The operating frequency can reach up to 800 MHz, and there are 64 32-bit general registers. There are 8 independent functional units, including 6 arithmetic logic units and 2 multipliers. 8 functional units are with a word length of 256 bits. At a clock frequency of 800 MHz, when 8 processing units are running at the same time, the maximum processing capacity is 6400MIPS. The TMS320CC64 core adds free power saving areas, variable length instructions, and parallel expansion mechanism. In addition, the core of TMS320CC64 has added a hardware accelerator to enable it to play a role in occasions that require large data volume floating point operations or where real-time performance is required.The ARM subsystem uses the ARM Coretex-A8 processor with a frequency of up to 1000 MHz. As shown in Figure5, the gateway still uses the CC2530 chip for reception, and the unified transmission protocol ensures reliable transmission. There are no sensors in the gateway node designed in this paper, and it is only responsible for processing and sending and receiving data. A Wi-Fi module is used to complete remote data transmission.Figure 5
Block diagram of the hardware structure of the gateway.


## 3. Results and Analysis

In this study, we achieve the wireless connection of monitoring the whole process, which can be used in different environments flexibly and can realize the functions of real-time collection, wireless transmission, and remote monitoring of environmental parameters [18]. In addition, Niagara is used as the host computer development environment for secondary development. This software is the first time to be used in a system based on the Internet of Things technology. The data collected by the sensors can be monitored and controlled in the host computer in real time. The environment can be monitored at anytime and anywhere [19]. The corresponding control is very flexible. The following takes the measurement of the water environment as an example to verify the wireless environment monitoring system based on the Internet of Things technology. For the current water quality monitoring, the water temperature and pH value are selected according to the types of sensors commonly used in the current market to monitor water quality.


### 3.1. Network Packet Loss Rate Test

During the experiment, 6 sensor nodes, 1 gateway node, and 6 routing nodes were placed in different positions of the pool. The routing node was between the sensor node and the gateway node, and the data collected by the sensor was forwarded to the gateway node. During every 30 s, the sensor node collects and sends data once, and then the node enters the receiving mode. Table1 shows the result of continuous monitoring. The stability of system communication is relatively good, and the average packet loss rate of the network is only 0.87%.Table 1
Test results of packet loss rate.
Sensor nodePacket sentData packet received by the gateway nodePacket loss rate0110009940.60%0210009980.20%0310009871.3%0410009910.9%0510009841.6%0610009920.8%Average10009910.90%


### 3.2. Water Quality Parameter Collection Test

Before the pH test, it is necessary to calibrate the pH electrode with pH 6.86 and 9.18 solutions to avoid errors affecting the authenticity of the experimental data. Then, under the condition of 25°C, we prepare different pH solutions and then use this system for testing. The measurement result is compared with the value measured by the PHSCAN30 acidity meter. The accuracy of the PHSCAN30 acidity meter is ±0.05 pH, and the experimental data is shown in Table2. The water temperature is taken from pool water for cooling and heating tests. The test data is shown in Table 3. By comparing the results of the test, the value measured by the system is very close to the reference value measured by the standard instrument. The average relative errors of pH and temperature are 1.56% and 0.77%, respectively. The errors are within the allowable range, and the measurement accuracy is relatively high which is able to meet the requirements of data collection.Table 2
The pH test results.
PHSCAN30Measured value of this systemRelative error5.04.87-2.60%5.55.35-2.72%6.05.89-1.83%6.56.42-1.23%7.06.94-0.86%7.57.40-1.33%8.07.93-0.88%8.58.38-1.41%9.08.89-1.22%Average/-1.56%Table 3
Temperature test results.
Standard instrumentMeasured value of this systemRelative error4.94.971.43%10.110.190.89%15.215.310.72%19.819.880.40%25.125.200.39%30.330.430.43%34.835.201.15%40.141.403.24%Average/1.08%


### 3.3. Discussion on the Application of Internet of Things Technology in Environmental Monitoring

(1)
Ecological environment monitoringIn ecological environment monitoring, when using the Internet of Things technology, the monitoring area can be divided, and then, the ecological environment in the target area can be monitored separately by using sensors. The main function of the sensor in the actual ecological monitoring process is to collect information and then transmit the actually monitored information to the monitoring center through the Internet of Things transmission mode, so that environmental monitors can fully understand the ecological environment of the area, thereby helping it to carry out better management [20]. In addition, the Internet of Things technology can also realize the functions of sending, receiving, and processing information of the ecological environment information system in the actual environment. After the monitoring center receives the information and data signals sent by the sensors, the display can clearly show the environmental conditions in the area to achieve the purpose of collecting information effectively for ecological monitoring.
(2)
Marine environment monitoringIn the application of the Internet of Things technology in marine ecological environment monitoring, sensor network devices are placed at the corresponding monitoring area points in the ocean, thereby transmitting the actual ecological environment status at the bottom of the ocean to the monitoring center on the ground through wireless communication data transmission [21]. In this way, the environmental management personnel on the ground can grasp the ecological environment of the seabed in time, so as to solve problems such as the more frequent seawater pollution (chemical pollution), heavy metal pollution, oil pollution, the problem of rich oxidation in seawater, and the timing of rising and falling tides. The application of the Internet of Things technology to the improvement of marine ecological environment monitoring has also provided more scientific and specific value information for the marine environmental monitoring work in China, which can further improve the quality of marine ecological environment monitoring (Figure 6).
(3)
Wastewater treatment monitoringFigure 6
The application of the Internet of Things in ocean monitoring.The monitoring of sewage treatment is carried out by using the monitoring method of Internet of Things sensors correctly. This highly intelligent monitoring method can reflect the water quality of regional water sources in a more real-time and comprehensive manner. At the same time, this method also has advantageous features such as low-cost and high-monitoring efficiency, which greatly improve the accuracy of regional sewage monitoring results. In addition, it can assist sewage monitoring and treatment workers in the form of auxiliary functions to analyze the pollution situation and pollution degree in the water body in time. The main process of water quality monitoring of the Internet of Things is to collect the content of various elements in the sewage water body at the outlet or entrance of the sewage discharge through the application of various sensors in the monitoring system or camera, video monitoring equipment, and so on. These data will be uploaded to the monitoring center. Then, the collected information can be sent to the management personnel or make an alarm and other reactions to remind the equipment management personnel.


## 3.1. Network Packet Loss Rate Test

During the experiment, 6 sensor nodes, 1 gateway node, and 6 routing nodes were placed in different positions of the pool. The routing node was between the sensor node and the gateway node, and the data collected by the sensor was forwarded to the gateway node. During every 30 s, the sensor node collects and sends data once, and then the node enters the receiving mode. Table1 shows the result of continuous monitoring. The stability of system communication is relatively good, and the average packet loss rate of the network is only 0.87%.Table 1
Test results of packet loss rate.
Sensor nodePacket sentData packet received by the gateway nodePacket loss rate0110009940.60%0210009980.20%0310009871.3%0410009910.9%0510009841.6%0610009920.8%Average10009910.90%


## 3.2. Water Quality Parameter Collection Test

Before the pH test, it is necessary to calibrate the pH electrode with pH 6.86 and 9.18 solutions to avoid errors affecting the authenticity of the experimental data. Then, under the condition of 25°C, we prepare different pH solutions and then use this system for testing. The measurement result is compared with the value measured by the PHSCAN30 acidity meter. The accuracy of the PHSCAN30 acidity meter is ±0.05 pH, and the experimental data is shown in Table2. The water temperature is taken from pool water for cooling and heating tests. The test data is shown in Table 3. By comparing the results of the test, the value measured by the system is very close to the reference value measured by the standard instrument. The average relative errors of pH and temperature are 1.56% and 0.77%, respectively. The errors are within the allowable range, and the measurement accuracy is relatively high which is able to meet the requirements of data collection.Table 2
The pH test results.
PHSCAN30Measured value of this systemRelative error5.04.87-2.60%5.55.35-2.72%6.05.89-1.83%6.56.42-1.23%7.06.94-0.86%7.57.40-1.33%8.07.93-0.88%8.58.38-1.41%9.08.89-1.22%Average/-1.56%Table 3
Temperature test results.
Standard instrumentMeasured value of this systemRelative error4.94.971.43%10.110.190.89%15.215.310.72%19.819.880.40%25.125.200.39%30.330.430.43%34.835.201.15%40.141.403.24%Average/1.08%


## 3.3. Discussion on the Application of Internet of Things Technology in Environmental Monitoring

(1)
Ecological environment monitoringIn ecological environment monitoring, when using the Internet of Things technology, the monitoring area can be divided, and then, the ecological environment in the target area can be monitored separately by using sensors. The main function of the sensor in the actual ecological monitoring process is to collect information and then transmit the actually monitored information to the monitoring center through the Internet of Things transmission mode, so that environmental monitors can fully understand the ecological environment of the area, thereby helping it to carry out better management [20]. In addition, the Internet of Things technology can also realize the functions of sending, receiving, and processing information of the ecological environment information system in the actual environment. After the monitoring center receives the information and data signals sent by the sensors, the display can clearly show the environmental conditions in the area to achieve the purpose of collecting information effectively for ecological monitoring.
(2)
Marine environment monitoringIn the application of the Internet of Things technology in marine ecological environment monitoring, sensor network devices are placed at the corresponding monitoring area points in the ocean, thereby transmitting the actual ecological environment status at the bottom of the ocean to the monitoring center on the ground through wireless communication data transmission [21]. In this way, the environmental management personnel on the ground can grasp the ecological environment of the seabed in time, so as to solve problems such as the more frequent seawater pollution (chemical pollution), heavy metal pollution, oil pollution, the problem of rich oxidation in seawater, and the timing of rising and falling tides. The application of the Internet of Things technology to the improvement of marine ecological environment monitoring has also provided more scientific and specific value information for the marine environmental monitoring work in China, which can further improve the quality of marine ecological environment monitoring (Figure 6).
(3)
Wastewater treatment monitoringFigure 6
The application of the Internet of Things in ocean monitoring.The monitoring of sewage treatment is carried out by using the monitoring method of Internet of Things sensors correctly. This highly intelligent monitoring method can reflect the water quality of regional water sources in a more real-time and comprehensive manner. At the same time, this method also has advantageous features such as low-cost and high-monitoring efficiency, which greatly improve the accuracy of regional sewage monitoring results. In addition, it can assist sewage monitoring and treatment workers in the form of auxiliary functions to analyze the pollution situation and pollution degree in the water body in time. The main process of water quality monitoring of the Internet of Things is to collect the content of various elements in the sewage water body at the outlet or entrance of the sewage discharge through the application of various sensors in the monitoring system or camera, video monitoring equipment, and so on. These data will be uploaded to the monitoring center. Then, the collected information can be sent to the management personnel or make an alarm and other reactions to remind the equipment management personnel.


## 4. Conclusion

(1)
With the continuous development of human society in the fields of economy and technology, the Internet of Things technology integrates a close attitude into people’s real life, improving people’s quality of life and making people’s life styles intelligent. Especially in the construction of modern environmental monitoring systems, it has a huge positive force in promoting the development of an energy-saving society and environmental protection in the new social development period(2)
Taking the water environment pH and temperature monitoring as the application direction, a wireless environment monitoring system based on the Internet of Things technology, including sensor modules, processor modules, wireless communication modules, power modules, and gateway design, fully realizes the monitoring of the entire process wireless connection, real-time collection of water environment parameters, wireless transmission, and remote monitoring functions(3)
We test the designed monitoring system. The stability of system communication is relatively good. The average packet loss rate of the network is only 0.87%, which can achieve good data collection and transmission. The monitoring results are compared with those measured by standard instruments. The average relative errors of pH and temperature are 1.56% and 0.77%, respectively, which meets the water quality environmental monitoring standards



---

*Source: 2531425-2022-07-07.xml*