Simple Summary
Halyomorpha halys is an invasive agricultural pest that threatens many crops, particularly hazelnuts. Effective pest management requires identifying suitable intervention periods while avoiding unnecessary pesticide applications. However, environmental conditions can vary considerably even within the same orchard, potentially affecting pest development. In this study, we developed a wireless monitoring system that combines environmental sensors with artificial intelligence to support pest-management decisions. The system was implemented in a hazelnut orchard in Düzce, Türkiye, using four monitoring stations positioned in areas with different environmental characteristics. Each station measures local conditions, including temperature and humidity, while a central unit combines the collected information with wind measurements to support location-specific spraying decisions. The findings revealed differences in environmental conditions and estimated pest development periods among monitoring locations. These results suggest that combining local environmental monitoring with artificial intelligence may help farmers identify potential spraying windows and make more informed pest-management decisions. The proposed approach could support more targeted pesticide applications, contribute to environmentally sustainable agricultural practices, and advance precision agriculture.
Abstract
The rapid increase in global food demand necessitates improved agricultural productivity and the effective use of limited resources. However, Halyomorpha halys, which threatens more than 300 plant species globally, poses a serious risk to food security, particularly in Türkiye, by causing significant crop losses in strategic products such as hazelnuts, citrus fruits, and maize. The inadequacy of current biological control methods against the pest’s high reproductive capacity, combined with the pesticide residues from conventional chemical control, has increased the need for more precise, technology-based solutions. Furthermore, traditional pest control schedules often fail to capture the most critical stages in the pest’s life cycle, resulting in ineffective management and increased environmental pollution. In this study, a low-power, TinyML-supported Wireless Sensor Network (WSN) based on the RP2040 microcontroller was designed to support the estimation of the phenological development of the H. halys population and enable timely intervention. Field experiments were conducted in a topographically heterogeneous hazelnut orchard within the Hasanlar Dam basin (Düzce, Türkiye) to evaluate the system’s feasibility. The system goes beyond traditional Degree-Day (DD) models that rely solely on temperature data. It integrates photoperiod and Vapor Pressure Deficit (VPD) parameters in addition to temperature, processing microclimatic data on the end device via Quantized Deep Neural Networks (QDNNs). The findings show that the developed system may support the identification of potential early nymphal development periods, which are the pest’s most vulnerable periods to chemicals. The proposed system provides a location-specific phenological decision-support framework that may contribute to more targeted pesticide applications.
1. Introduction
Rapid human population growth has significantly increased global food demand. Although the use of hormones to boost food production is a commonly applied approach, it poses serious risks to human health. Therefore, improving production capacity through the efficient and sustainable use of available resources has become one of the critical strategies. Effective pest management is therefore essential for improving agricultural productivity and ensuring sustainable food production.
Among invasive agricultural pests, H. halys has emerged as a significant threat to agricultural production worldwide, including in Türkiye. It poses a threat to agricultural productivity and food security by affecting more than 300 plant species worldwide, especially vital crops [1]. This organism damages a wide range of plant species and has a prominent impact on crops, including hazelnuts, citrus fruits, corn, and beans, thereby creating a significant risk to agricultural productivity [2]. The pest has also caused substantial agricultural damage in several European countries, including Croatia, Greece, and Italy, as well as in the United States [3,4,5,6,7,8]. Biological control approaches against H. halys include egg parasitoids such as Trissolcus japonicus [9,10,11], whereas pheromone-baited traps are primarily employed for pest monitoring [12]. Biological control strategies against H. halys have been investigated using various natural enemies and biological agents. In addition to parasitoid-based approaches, previous studies have evaluated the potential of entomopathogenic organisms for controlling this invasive pest [13,14].
Chemical control of H. halys primarily involves the application of insecticides belonging to different chemical classes, including pyrethroids and neonicotinoids. Previous studies have investigated the effectiveness of active ingredients such as bifenthrin and fenpropathrin (pyrethroids), as well as acetamiprid and dinotefuran (neonicotinoids), against this pest [15,16]. However, insecticide efficacy varies depending on the developmental stage of H. halys, the active ingredient, and the duration of exposure. Luo et al. (2025) demonstrated that earlier nymphal stages were generally more susceptible to insecticide residues, while certain active ingredients also exhibited adverse effects on beneficial parasitoids [16]. Therefore, identifying appropriate developmental periods is an important consideration for improving the timing of chemical interventions within integrated pest management strategies. Biological control measures are still insufficient to reduce the impact of H. halys because this organism has high egg-laying and survival rates [17]. Although chemical systems are effective in the short term when applied using conventional methods, they are predicted to harm human health in the long term through pesticide residues [10,11,18,19]. In the literature, it is stated that using chemical methods together with technology to reduce pesticide residues and spraying when the organism is most sensitive to the pesticide will be an effective method [17,20]. In addition to conventional chemical and biological control strategies, alternative approaches aimed at deterring the feeding activity of H. halys have also been proposed. Zhang et al. [21] described patented methods and compositions intended to repel the pest or discourage its feeding behavior, highlighting an additional direction for the development of pest-management strategies.
Unlike traditional methods, the success of chemical control largely depends on accurately determining the emergence of young nymphs and applying pesticides at this critical stage, with predictive tools such as the Degree-Day model playing a key role. The 1st, 2nd, and 3rd nymph stages of the H. halys are the most sensitive to pesticides. Their mobility is limited, and population pressure is most easily broken at this stage. In the 4th and 5th nymph stages, their bodies thicken with armor, the success of contact pesticides decreases, and higher doses and repetitions of pesticides are required. Pesticide effectiveness decreases during this period. Since they are very mobile in adulthood, their exposure time to pesticides is short. Pesticide application in adulthood is considered a delayed application [22,23,24,25,26,27,28]. Previous studies have characterized the life history and seasonal phenology of H. halys under field conditions. Nielsen and Hamilton [29] investigated the life history of this invasive species in the northeastern United States, while Nielsen et al. [30] examined its seasonal phenology and monitoring in soybean. These studies provide a biological foundation for understanding seasonal developmental patterns and the potential application of phenology-oriented monitoring approaches.
In this context, this study proposes a low-power, TinyML-enabled Internet of Things-based wireless sensor network (IoT-WSN) system using the RP2040 microcontroller to monitor and predict the phenological stages of H. halys pest in heterogeneous agricultural landscapes. The proposed system, which includes four end nodes and a single coordinator node, was implemented in a heterogeneous hazelnut orchard within the Hasanlar Dam basin (Düzce, Türkiye). The system processes not only temperature data but also measured data for photoperiod and VPD using a Quantized Deep Neural Network (QDNN), thereby extending traditional Degree-Day (DD) approaches with microclimatic data. This allows for the identification of the period when the H. halys is most susceptible to pesticides. Furthermore, the sensor network enables monitoring of H. halys phenology in heterogeneous topographies, providing farmers with location-specific Just-in-Time (JIT) spraying alerts, potentially supporting more targeted pesticide applications and environmentally sustainable pest-management strategies.
Recent studies have demonstrated the potential of low-power edge computing and machine learning for monitoring H. halys in agricultural environments. Kargar et al. [31] developed an energy-efficient, camera-based monitoring system that performs insect detection and classification on resource-constrained embedded hardware using images acquired from sticky traps. Their work primarily focuses on automated insect detection and the optimization of computational and energy requirements. Similarly, Palazzetti et al. [32] proposed a machine-learning-based wake-up mechanism for insect monitoring systems, using meteorological variables and degree-day-related information to identify favorable periods for image acquisition. Their approach primarily addresses the scheduling of sensing operations and the reduction in unnecessary image captures. Although these studies demonstrate the feasibility of intelligent and energy-efficient pest monitoring, the present work addresses a different decision-support objective. Rather than detecting insects from images or optimizing camera activation schedules, the proposed system evaluates environmental conditions to generate location-specific, model-derived phenological classifications and potential spraying-window recommendations. The architecture integrates four RP2040-based sensing nodes with a central coordinator. Each end node performs local inference using an INT8-quantized QDNN and transmits its environmental measurements and classification output through LoRa communication. The coordinator combines node-specific information with locally acquired wind speed and wind direction measurements and employs a separate QDNN to generate location-specific spraying decision-support outputs. Therefore, the main contribution of this study lies in the integration of distributed microclimatic sensing, embedded phenological inference, hierarchical decision processing, and wind-aware spraying support within a single wireless sensor network architecture.
Among the studies reviewed, the Haly.ID dataset presented by Palazzetti et al. [33] was also examined as a relevant resource for H. halys monitoring. This publicly available dataset includes multi-year insect imagery, annotated insect observations, and associated environmental measurements, providing valuable information on the relationship between insect presence and microclimatic conditions. The examination in this study highlighted the importance of combining environmental monitoring with biological observations when developing pest-management decision-support systems. However, unlike the five-class phenological decision-support framework proposed in the present study, Haly.ID primarily provides insect detection annotations rather than directly corresponding developmental-stage and spraying-window labels. Therefore, the dataset was considered a relevant reference for understanding existing monitoring approaches and identifying opportunities for future biological validation.
2. Materials and Methods
The proposed system is designed as a hierarchical Wireless Sensor Network (WSN) tailored for precision agriculture in topographically complex hazelnut orchards. The architecture shifts the computational load from the cloud to the edge, utilizing TinyML to process microclimatic data locally. The system comprises three main layers: (1) The Sensor Node (Edge Device), (2) The Gateway, and (3) The Cloud/User Interface.
2.1. Hardware Design and Edge Computing Unit
2.1.1. Hardware Design and Edge Computing Architecture
As shown in Figure 1, the proposed system consists of 4 end nodes and 1 coordinator node. The system is designed as a new-generation IoT-WSN. The end nodes not only perform sensing operations as in classic IoT systems, but also perform both sensing and acting operations. The end nodes can evaluate the data coming from the sensors with an artificial intelligence algorithm and produce their own results [34,35,36,37]. The proposed hierarchical IoT-WSN architecture is designed to reduce dependence on continuous cloud connectivity by distributing computational tasks between the end nodes and the coordinator node. By integrating an INT8-quantized deep neural network (QDNN) into the RP2040-based edge-processing framework, environmental measurements can be evaluated locally without requiring raw sensor data to be transmitted to a remote server for every computational operation. The four distributed monitoring nodes provide spatially differentiated microclimatic information, while LoRa communication enables the transmission of sensor measurements and computational outputs to the coordinator node. The coordinator node integrates these data with its own sensor measurements and communicates with the cloud infrastructure through the GSM module, where the transmitted records are stored in a database and made accessible through the developed IoT user interface. The nominal 15 min cloud transmission interval represents the data-reporting schedule rather than an inherent delay in local processing. This separation between edge computation and cloud communication provides an architectural basis for reducing reliance on remote inference and supporting location-specific decision-making. However, quantitative improvements in end-to-end latency and communication overhead depend on the implemented inference schedule, transmitted payloads, and network conditions and require direct experimental benchmarking.
Figure 1.
System architecture of the proposed TinyML-based IoT-WSN.
An RP2040-based electronic board was designed for use in both the end nodes and the coordinator node. As shown in Figure 2, it contains an RP2040 microcontroller. It has a dual-core ARM Cortex M0+ 133 MHz processor, 264 KB of SRAM, and 2 MB of onboard memory. It has low power consumption and 26 GPIO units. It has 2 × SPI, 2 × I2C, 2 × UART, 3 × 12-bit ADC and 16× controllable PWM channels. It includes an internal temperature sensor, timer, and clock module [38] with a Micro USB port for programming the board. It has a buzzer and SMD LEDs for providing warnings. There are dedicated socket inputs for connecting sensors and wireless communication units.
Figure 2.
Designed electronic card.
The wireless communication unit provides interfaces for connecting the SIM800L GSM and E220-900T22D LoRa modules. The designed electronic board includes sockets for connecting these modules. Additionally, slots for Wi-Fi, XBee, and Bluetooth communication modules have been added to the electronic board for future testing. LoRa was selected as the primary wireless communication technology for communication between the end nodes and the coordinator node. A visual representation of the wireless communication units used on the board is shown in Figure 3.
Figure 3.
Wireless communication units.
The measurement unit integrates sensors for monitoring environmental parameters, including temperature, relative humidity, light intensity, atmospheric pressure, wind speed, and wind direction. It includes sensors for ambient humidity, ambient temperature, ambient light, atmospheric pressure, wind speed, and wind direction. The probe for the atmospheric pressure sensor is shown in Figure 4.
Figure 4.
Atmospheric Pressure Sensor Probe.
As shown in Figure 4, the sensors are easy to use and plug-and-play. They require no technical knowledge and are designed for use in agricultural land. The Atmospheric Pressure Sensor can measure temperatures from a depth of −500 m to an altitude of 9000 m relative to sea level. This sensor can operate between −40 °C and +85 °C. It measures the atmospheric pressure of the agricultural land. The Ambient Temperature Sensor can measure ambient temperature between −40 °C and +80 °C. It operates with an accuracy of ±0.5 °C. The Ambient Humidity Sensor operates within a range of 0% to 100% RH. It has an accuracy of ±1% RH. The Ambient Light Intensity Measurement Sensor has a wavelength of 540 nanometers. The wind speed and wind direction sensors can produce accurate measurement results between −40 °C and +80 °C.
Figure 5 depicts the experimental setup of the system as implemented during field tests in a hazelnut orchard. As shown in Figure 5, the system requires no complex installation and can be put into operation by simply positioning it on the farm where data collection is intended. Following system initialization, sensor measurements are transmitted from the end nodes to the coordinator node and subsequently forwarded to the cloud database. It sends all measurement results at 15 min intervals.
Figure 5.
The system in the hazelnut orchard.
When the sensors corresponding to the desired measurement parameters are connected to the sockets shown in Figure 6, the associated sensors are automatically activated, and the measurement results are obtained without manual intervention. The electronic circuit board is inside the box shown in Figure 5. This box has an IP68 protection class, meaning it is water- and dust-resistant. The sensors placed in the sensor cover shown in Figure 6 are also water- and dust-resistant sensors, as their design can be seen in Figure 4. The system is powered by a solar panel.
Figure 6.
Bottom view of the sensor connection sockets.
The end-node diagram consists of four sections, as shown in Figure 7. The INPUT section contains the ambient temperature sensor, ambient humidity sensor, atmospheric pressure sensor, and ambient light sensor. The sensor values are measured by the electronic board located at the end node. The measured values are subjected to a Deep Neural Network model that has been previously trained and quantized as INT8. In the OUTPUT section, based on the results evaluated by the Quantized Deep Neural Network, the following results are generated: 0-No Growth (Diapause), 1-Growth Present, 2-Third Spraying Window, 3-Late Spraying, and 4-Ineffective Spraying. These results and the measured sensor values are sent to the Coordinator node via the LoRa module. Additionally, if desired, when the spraying window is finalized, an SMS message is sent to the user via the GSM module on the board to inform them of the spraying window. The system has a total of four end-nodes, positioned to take measurements from various areas of the hazelnut orchard.
Figure 7.
End Node diagram.
Figure 8 illustrates the coordinator-node architecture, which comprises five functional sections. In the INPUT section, data from the Wind Direction and Wind Speed sensors connected to the coordinator node are received, along with results from the 4 end nodes. In the Coordinator node section, this data is subjected to a DNN model that has been previously trained and quantized as INT8. In the OUTPUT section, the results generated by the QDNN model are presented. In the Wireless Communication Unit, the QDNN results and values from all sensors are written to the database wirelessly via the internet through the GSM module. Users can view the necessary information from the database through the developed cloud software.
Figure 8.
Coordinator node diagram.
2.1.2. Communication Protocols and Cloud Data Management
The proposed system employs a hierarchical communication architecture consisting of four end nodes, one coordinator node, and a cloud-based monitoring platform, as illustrated in Figure 1, Figure 7 and Figure 8. Each end node acquires environmental measurements, including ambient temperature, relative humidity, atmospheric pressure, and ambient light, and performs local inference using an INT8-quantized Quantized Deep Neural Network (QDNN). The measured environmental parameters and the corresponding five-class phenological decision-support results are transmitted to the coordinator using an E220-900T22D LoRa wireless communication module. The E220-900T22D module provides UART-based serial communication and supports configurable LoRa transmission parameters. According to the manufacturer’s specifications, the module operates within the 850.125–930.125 MHz frequency range, provides a maximum nominal transmission power of 22 dBm, and supports air data rates ranging from 2.4 to 62.5 kbps. These values represent the technical capabilities of the communication hardware rather than experimentally measured communication performance in the study area. The LoRa-based communication structure enables the distributed end nodes to transmit their measurements and classification results to a central coordinator without requiring individual cellular internet connections.
The coordinator receives the environmental measurements and phenological classification results from all four end nodes. These data are combined with wind speed and wind direction measurements acquired locally by the coordinator. A separate INT8-quantized QDNN model processes the six input parameters and generates node-specific spraying decision-support outputs. Consequently, the coordinator performs an additional decision-support assessment by integrating the phenological conditions identified at individual monitoring locations with local wind conditions. The coordinator subsequently transmits the environmental measurements received from the four end nodes, their corresponding QDNN classification results, the coordinator’s wind speed and direction measurements, and the final node-specific spraying decisions to a remote server. Data transmission is performed through a SIM800L GSM/GPRS communication module using HTTP GET requests. The transmitted information also includes timestamp data, allowing measurements and decisions to be associated with their respective acquisition or reporting times. The communication procedure was developed using custom software without relying on MQTT brokers or third-party IoT middleware.
The server-side application was developed using PHP, while a MySQL database is employed for storing the transmitted records. JavaScript is used to provide dynamic functionality within the web-based monitoring interface. The database organizes the received environmental measurements and decision-support outputs according to their associated node identifiers and timestamps. The user interface displays the sensor measurements, end-node phenological classifications, and final coordinator decisions, enabling users to identify whether a potential spraying period has been indicated for each monitored location. No additional artificial intelligence inference is performed on the cloud server; all QDNN-based classifications and spraying decisions are generated by the embedded processing units before transmission. SHA-256 hashing is incorporated into the cloud-side data storage procedure. This mechanism provides a cryptographic digest for the data to which it is applied. However, hashing is distinct from encryption and does not independently provide confidentiality or authenticate the transmitting device. To improve communication reliability, the embedded software implements a retry and store-and-forward mechanism. If a transmission attempt fails, the coordinator retries the operation at one-minute intervals, with a maximum of five retry attempts. If communication remains unsuccessful, the unsent records are retained in non-volatile memory. When GSM connectivity is restored, the stored records are automatically retransmitted to the server together with their associated timestamps. This procedure reduces the risk of permanent measurement loss during temporary communication interruptions and supports the continuity of the monitoring process.
The system employs a default cloud reporting interval of 15 min. This interval was selected during system development as an engineering compromise between communication-related energy consumption and the update frequency required for phenological monitoring and spraying decision support. Since the application focuses on seasonal pest development and intervention timing rather than high-frequency process control, sub-minute cloud updates were not considered necessary. The 15 min reporting interval refers specifically to data transmission to the remote server and should be distinguished from local sensor acquisition and QDNN inference operations. The overall architecture therefore separates local sensing, edge-based artificial intelligence inference, coordinator-level decision support, wireless data transmission, and cloud-based data storage and visualization. This distribution allows the embedded devices to generate phenological and spraying-related decisions locally, while the cloud infrastructure provides centralized access to monitoring records and previously generated decisions.
2.2. Calculation of Parameters
2.2.1. Field Research
Our study was conducted in Sarıkasım Quarter, within the Hasanlar Dam basin (Düzce), one of the important hazelnut-producing regions of Türkiye, centered at the coordinates 40°54′36.6″ N 31°13′09.6″ E. The land topography has a heterogeneous structure containing a stream bed. The terrain slopes within the study area range from 5% to 15%. As mentioned before, the system consists of 4 end nodes and 1 coordinator node. The coordinator node is located at the center coordinates. The nodes are placed at 4 points with different microclimatic characteristics as follows: Node 1 (near the stream bank), Node 2 (sunlit slope), Node 3 (shady area at the edge of the forest), and Node 4 (hilltop).
The four monitoring locations were purposively selected to represent contrasting topographic and environmental conditions within the study area. Node 1 was positioned near the stream bank, Node 2 on a sun-exposed slope, Node 3 in a shaded area adjacent to the forest edge, and Node 4 on the hilltop. This placement strategy was intended to capture potential spatial differences in temperature, relative humidity, and other microclimatic parameters associated with topographic position and solar exposure. The selected locations represent contrasting microhabitats rather than a statistically randomized or spatially exhaustive sample of the entire orchard. Soil physicochemical properties, hazelnut cultivar distribution, and detailed vegetation structure were not systematically characterized as part of the site-selection procedure. Therefore, the representativeness of these four locations is limited to the environmental contrasts considered in this study.
An RP2040 processor, ambient temperature and humidity, atmospheric pressure, and light sensors were used at each node. Communication was provided via LoRa modules due to the rugged terrain. Wind direction and speed were also measured at the coordinator node. Data from the coordinator node was transmitted to the internet via GSM.
The wireless sensor network was deployed in the experimental hazelnut orchard on 1 January 2025 and remained installed until 15 October 2025, corresponding to a field deployment period of 288 calendar days. During this period, approximately 20 communication or operational interruptions requiring on-site intervention were encountered. Each interruption lasted approximately one hour on average, during which measurement records could not be transmitted to the cloud server as scheduled. When these interruptions occurred, the research team visited the installation site and restored system operation. Based on the configured 15 min cloud reporting interval, the 288-day deployment period corresponded to 27,648 scheduled reporting opportunities. The approximately 20 interruptions affected an estimated 80 reporting opportunities, representing approximately 0.29% of the scheduled reporting intervals. Unavailable observations were not included in the corresponding analyses, and no replacement values were assigned to missing records.
2.2.2. Photoperiod (Day Length) Calculation
Astronomical day length was calculated using the Forsythe model based on geographic latitude and the day of the year [39]. Photoperiod is a key environmental cue regulating reproductive diapause termination and subsequent seasonal development in H. halys. Nielsen et al. [40] demonstrated the importance of photoperiod and temperature in modeling the seasonal phenology of this species and adopted a critical photoperiod of 13.5 h in their phenological framework. Furthermore, McDougall et al. [41] experimentally investigated photoperiod-mediated diapause termination and identified a critical photoperiod of approximately 13.0–13.5 h associated with the initiation of reproductive development in at least 50% of the studied female population. Based on these species-specific findings, the 13.5 h photoperiod threshold was selected as a biologically supported operational criterion for defining the seasonal biofix in the present study. The Forsythe model was used to determine the first date on which astronomical day length exceeded this threshold at the geographic latitude of Düzce, Türkiye. However, the threshold was not independently validated through direct observations of diapause termination in the local population:
In Equation (1), is the expression of the total day length in hours. L is the latitude of the observation location. δ is the solar declination angle, which varies depending on the day of the season. The constant value of 0.8333 is the standard degree at which the sun is considered to be below the horizon (including atmospheric refraction and the radius of the solar disk).
2.2.3. Biofix and Cumulative Degree-Day Model
Following the photoperiod criterion established in Section 2.2.2, the seasonal biofix (t0) was defined as the first calendar date on which the calculated astronomical day length exceeded 13.5 h at the study location. This date was used as the operational starting point for cumulative growing degree-day (GDD) calculations. The biofix therefore represents a literature-based phenological modeling parameter rather than a directly observed date of diapause termination.
Growing degree days (GDD) were calculated using the single-sine method, which approximates diurnal temperature variation through a sinusoidal function derived from daily minimum and maximum air temperatures. This method was applied in both the RP2040-based embedded system and the thermal accumulation analyses presented in this study. The lower and upper developmental temperature thresholds for H. halys were set to 14.17 °C and 35.76 °C, respectively, based on published developmental parameters [42]. A horizontal cutoff approach was applied, whereby temperatures below the lower threshold contributed no thermal accumulation, while temperatures exceeding the upper threshold were capped at 35.76 °C. Daily GDD values were obtained by integrating the threshold-constrained sinusoidal temperature profile over a 24 h period, as expressed in Equation (2):
In Equation (2), GDD_d denotes daily growing degree-day accumulation, while represents the estimated air temperature at hour h. and T_min,d indicate the daily maximum and minimum air temperatures, respectively, and h_min denotes the assumed time of minimum temperature. The lower developmental threshold () and upper temperature cutoff () were set to 14.17 °C and 35.76 °C, respectively. The integral calculates daily thermal accumulation using the single-sine temperature approximation and the specified developmental thresholds.
The ambient light sensor was incorporated into each end node to measure local illumination conditions as part of the microclimatic monitoring process. However, the photoperiod used for biofix determination was calculated astronomically from geographic latitude and the day of the year, rather than being directly derived from light sensor measurements. Accordingly, the measured ambient light intensity and the calculated astronomical photoperiod represent distinct environmental variables within the proposed system. Equation (3) describes the incorporation of the astronomically determined photoperiod threshold into the biofix-based GDD calculation procedure:
In Equation (3), is day length and GDD_Cal is the cumulative degree-day calculated according to Equation (2).
2.2.4. Calculation of VPD and Microclimatic Stress Analysis
Even if the temperature is suitable, the stress index of the organism changes due to the humidity factor. According to the stress index, the development of the organism may be limited or even stopped. To include the stress factor in the model, the VPD is calculated [43]:
In Equation (4), is air temperature (°C) and RH is relative humidity (%). High vapor pressure deficit (VPD) conditions may increase evaporative water loss and physiological stress in insects. Previous experimental research on H. halys has demonstrated that temperature and relative humidity interact to influence survival, particularly during the early nymphal stages. Exposure to elevated temperatures (40–42 °C) combined with low relative humidity (17%) was associated with reduced survival under certain experimental conditions, whereas the effects of higher relative humidity (56–79%) varied with temperature [44]. These findings suggest that atmospheric moisture conditions may influence the survival of H. halys. However, the experimental temperature–humidity combinations should not be interpreted as validated species-specific VPD thresholds. Accordingly, the VPD values used in the present study are considered descriptive indicators of microclimatic conditions rather than experimentally established predictors of insect mortality, developmental rates, population dynamics, or pesticide susceptibility [44]. Insect behavior according to VPD ranges is as follows:
- Low VPD (<0.4 kPa): The air is very humid. The risk of fungal diseases and mold is very high.
- Ideal VPD (0.8–1.2 kPa): This is the most efficient period for insect development. Transpiration and growth are balanced.
- High VPD (>2.0 kPa): The air is very dry. Nymphs experience water stress, and deaths begin. Pests like the H. halys become more aggressive. They may attack hazelnuts and other fruits more frequently to meet their water needs.
2.2.5. Phase Change with Clausius–Clapeyron
The Clausius–Clapeyron relationship describes the temperature dependence of saturation vapor pressure and provides the thermodynamic basis for evaluating atmospheric moisture conditions [43]. In Equation (5), () represents saturation vapor pressure (Pa), T denotes absolute temperature (K), is the latent heat of vaporization (J kg−1), and is the specific gas constant for water vapor (J kg−1 K−1). In the proposed system, air temperature and dew point temperature are used to characterize proximity to moisture saturation, while variations in atmospheric pressure are considered supplementary meteorological indicators. These variables are subsequently incorporated into a heuristic frost risk index to support environmental risk assessment rather than to directly predict ice formation:
The proposed system calculates the derivative of atmospheric pressure change (ΔP/Δt) using discrete-time measurements. If the derivative exceeds the critical threshold in the negative direction (∇P < δ), this indicates the passage of a cold front and a potential frost risk. The “Frost Risk Index” () within the algorithm is modeled as Equation (6):
The frost risk index presented in Equation (6) is a heuristic combination of atmospheric pressure tendency and the air temperature–dew point difference. The pressure tendency represents changes in synoptic atmospheric conditions, whereas the temperature–dew point difference provides information about atmospheric moisture saturation. The index is intended to provide an auxiliary environmental warning signal and is not derived directly from the Clausius–Clapeyron equation.
Here, is the dew point temperature. That is, the temperature to which the air must be cooled for water to turn from vapor to liquid water. The coefficients α and β in Equation (6) represent weighting parameters for the atmospheric pressure tendency and the air temperature–dew point difference, respectively. Their numerical values, units, and the decision threshold must be specified according to the implemented algorithm. Since the present study does not include independently documented frost-event observations, the index is considered an exploratory environmental indicator rather than an experimentally validated frost prediction model. Previous experimental studies have demonstrated that low-temperature exposure significantly affects the overwintering survival of H. halys. Scaccini et al. [45] reported that cold-induced mortality depends on temperature intensity, exposure duration, and overwintering status. Similarly, Fischnaller et al. [46] documented substantial overwintering mortality under field conditions and highlighted the influence of environmental and physiological factors on survival. These findings provide a biological basis for incorporating cold-related environmental parameters into the proposed model. Accordingly, the frost risk index was included as an auxiliary environmental stress indicator to support population risk assessment rather than as a direct quantitative predictor of insect mortality. Nevertheless, independent biological validation is required to establish the predictive performance of the proposed index.
2.2.6. Power Calculation
The proposed wireless sensor network was designed for solar-assisted battery operation to support deployment in agricultural environments [47]. As illustrated in Figure 9, the power architecture consists of a photovoltaic panel, an energy storage battery, and the embedded monitoring hardware. Electrical energy generated by the solar panel can contribute to battery charging and system operation, while the battery supplies power when photovoltaic generation is insufficient. The following analysis estimates the electrical power demand and nominal energy budget using component specifications and simplified operating assumptions. These estimates are distinguished from experimentally measured energy consumption and field-verified operating autonomy.
Figure 9.
Power block diagram of the system.
The power generated by the solar panel () was calculated as the product of the voltage and current, yielding approximately 3 W (). Additionally, the battery capacity was determined to be 72 Wh (), ensuring sufficient energy storage for autonomous operation. The calculations are based on nominal values.
The power consumption values presented in Table 1 were calculated using the nominal electrical specifications provided in the manufacturers’ datasheets for the system components. These calculations were performed under idealized operating conditions without accounting for environmental factors, variations in actual operating loads, battery characteristics, or power-conversion losses. Therefore, the reported values represent theoretical estimates of the system’s power requirements rather than experimentally measured power consumption under field conditions.
Table 1.
Calculation of the Maximum Power Consumption of the System.
As can be seen in Table 1, we have the following:
Total Maximum Power Consumption = 1.25 W
Power Generated from Solar Panels = 3 W
The power remaining after the system has consumed maximum energy:
Remaining Power = Power Generated from Solar Panels − Total Maximum Power Consumption
Remaining Power = 3 W − 1.25 W = 1.75 W
As can be seen in Equation (7), even when the system consumes maximum power in sunny weather, a surplus of 1.75 W of energy is generated. This surplus energy is stored via the 12 V 6 Ah battery in the system. Considering that the system consumes maximum energy every 15 min, it operates in sleep mode at other times, and the energy consumption is reduced to 1/15.
Therefore, we have:
Sleep_mode_energy = Maximum_energy/15 = 1.25 W/15 ≈ 0.084 W
Sleep_mode_remaining_power = Power Generated from Solar Panel − Sleep_mode_energy
Sleep_mode_remaining_power = 3 W − 0.084 W = 2.916 W
Sleep_mode_remaining_power = 3 W − 0.084 W = 2.916 W
Battery_Operating_Hours = Battery_Power/Total Maximum Power Consumption
Battery_Operating_Hours = 72 Wh/1.25 W = 57.6 h
Battery_Operating_Hours = 72 Wh/1.25 W = 57.6 h
The power consumption and battery autonomy values were theoretically calculated using nominal component specifications obtained from manufacturer datasheets under ideal operating conditions. Accordingly, the estimated operating time of 57.6 h (72 Wh/1.25 W) represents a theoretical reference value rather than an experimentally measured result.
2.2.7. TinyML Model: Quantized Deep Neural Network (QDNN):
The proposed TinyML AI model is a QDNN used on the RP2040 microcontroller on 4 Edge Nodes and 1 Coordinator Node. Quantization is the process of converting a neural network with high-precision (typically 32-bit floating-point/float32) weights and activations into a much lower-precision (typically 8-bit integer/int8 or less) format. This process is a vital step in ensuring that the complex models you use in the TinyML projects can run on low-power microcontrollers in a nut orchard:
Equation (11) shows how an artificial neural network processes data. To calculate the output of a neuron in a layer, the data from the previous layer is multiplied by weights (w), a deviation value (b) is added, and the result is passed through an activation function (f). This is the flow of information from input to output:
The expression shown in Equation (12) reduces large and heavy artificial intelligence models to work with microcontrollers. This process converts high-precision (float32) numbers into integers (int8) that take up less space [48,49,50].
In Equation (12), R (Real) is the actual, high-precision number in the computer (e.g., 0.23457). S (Scale) is the scaling factor that determines the range within which the number will fit. Z (Zero Point) is zero-point shift shows where the true value of zero corresponds in the quantized world. Q (Quantized) is the resulting integer (e.g., 15).
Our system has 4 input neurons and 5 output neurons at the 4 end nodes, as shown in Figure 7. These neurons are shown in Table 2.
Table 2.
End Node Input and Output Layer Values.
The five output classes of the end-node QDNN were defined as literature-informed phenological decision-support categories rather than five distinct biological developmental stages of H. halys. Class 0 represents the predicted diapause or developmentally inactive state, while Class 1 indicates early developmental activity, including the egg and N1 stages. Class 2 corresponds to the N2–N3 nymphal period and represents the proposed spraying window. Class 3 is associated with the N4–N5 developmental stages and indicates a later intervention period, whereas Class 4 corresponds to the adult-associated period, indicating that the early-nymph intervention window has passed. These class definitions were informed by published studies on temperature-dependent development, photoperiod, and seasonal phenology [7,22,29,40,42]. The outputs therefore represent model-derived management indicators rather than direct observations of insect developmental stages or experimentally verified pesticide efficacy.
Our system has one Coordinator Node with 6 input neurons and 9 output neurons, as shown in Figure 8. These neurons are shown in Table 3.
Table 3.
Coordinator Node Input and Output Layer Values.
2.2.8. Training QDNN
In the proposed system, a DNN model with four inputs and five outputs was trained using the Edge Impulse platform, and quantization was applied for execution in embedded systems. The quantized model was run in real time on the system we built based on the RP2040. Following the training process, integer-based quantization was applied to the model to reduce memory and computational load in embedded systems. Quantization provides lower memory consumption and faster inference time compared to floating-point representation. It is a critical optimization step that enables the real-time operability of the model, especially in resource-constrained systems such as the RP2040 microcontroller, which does not have a hardware accelerator [51]. In the training process, the four-dimensional input vector was structured to produce a five-dimensional output by passing it through two hidden layers (20 and 10 neurons). Data from the General Directorate of Meteorology, affiliated with the Ministry of Environment, Urbanization, and Climate of the Republic of Türkiye, were used to train our system. The training dataset was constructed using meteorological records obtained from the Turkish State Meteorological Service (TSMS) for 2025. Biological and phenological parameters were derived from previously published studies addressing the seasonal development, thermal requirements, photoperiod responses, and life history of H. halys [7,22,29,40,42]. These literature-based parameters were applied to the meteorological records using the single-sine growing degree-day (GDD) method and the seasonal biofix approach described in Section 2.2.3. Based on the resulting phenological assessments, a five-class labeled dataset was generated to represent predicted diapause, early development, the potential spraying window, late intervention, and the adult-associated period. The resulting dataset was used to train the end-node QDNN model in Edge Impulse Studio, after which the trained model was quantized to INT8 precision for deployment on the RP2040 microcontroller. The class labels were therefore derived from literature-based phenological modeling rather than independent observations of insect developmental stages. This data was trained separately for the Coordinator Node and Edge Nodes of our system in the Edge Impulse Studio program. The trained model was applied to all nodes. A 4-20-10-5 deep neural network structure was used to train the node model. As shown in Figure 7, the values of Ambient Temperature, Ambient Humidity, Atmospheric Pressure, and Ambient Light Condition were given as inputs to our neural network. After the first layer with 20 neurons and the second layer with 10 neurons, 5-dimensional output values were generated. These input and output values are also shown in Table 2. A 6-20-10-9 deep neural network structure was used to train the coordinator model. As shown in Figure 8, the parameters Wind Direction, Wind Speed, Node1, Node2, Node3, and Node4 were given as inputs to the system. After the first layer with 20 neurons and the second layer with 10 neurons, 9-dimensional output values were generated. These input and output values are shown in Table 3. The RP2040 specifications in the proposed system are: 264 KB sRAM, 2 MB QSPI flash, and 133 MHz operating frequency. These parameters were used when training the model with Edge Impulse Studio. Analysis of the Edge Node performance indicates that the inference latency for the classifier stage of the model was measured at approximately 3 ms, and the total system latency was at the same level. According to the memory usage analysis, the classifier component uses only 1.7 kB of RAM. Considering the 264 kB SRAM of the RP2040 microcontroller, the model’s RAM usage corresponds to approximately 0.64% of the total memory. Analysis of the flash memory usage indicates, the analysis showed that the model occupied approximately 20.8 kB of flash space. In RP2040-based systems typically used with 2 MB of external QSPI flash memory, this value corresponds to less than 1% of the total flash capacity. Analysis of the Coordinator Node performance indicates that the inference latency for the classifier phase of the model was measured at approximately 19 ms, and the total system latency was at the same level. According to memory usage analysis, the classifier component uses only 2.6 kB of RAM. The model’s RAM usage corresponds to approximately 0.98% of the total memory. When flash memory usage was examined, the analysis showed that the model occupied approximately 36.6 kB of flash space, which corresponds to approximately 1.83% of the total flash capacity. The coordinator QDNN was designed to integrate the classification outputs of the four end nodes with wind speed and wind direction, resulting in a six-dimensional input structure. The end-node classifications provide location-specific information on the predicted phenological and intervention states, whereas the wind measurements support the assessment of operational spraying conditions. Accordingly, the coordinator combines biological timing indicators with local meteorological constraints to generate node-specific decision-support outputs.
The meteorological records obtained from the Turkish State Meteorological Service (TSMS) were used to construct the literature-informed phenological training dataset. The four sensor nodes, in contrast, were deployed to monitor location-specific microclimatic conditions and provide environmental inputs to the embedded QDNN models. Thus, the TSMS reference data and field monitoring system served different methodological purposes.
3. Results and Discussion
The rapid development of the Internet of Things (IoT) and Wireless Sensor Networks (WSN) has played a pivotal role in advancing precision agriculture by enabling continuous, real-time environmental monitoring and data-driven decision-making. This paper presents the design, field implementation, and evaluation of the system, demonstrating its potential to optimize pest management schedules, reduce chemical usage, and support sustainable precision agriculture practices.
3.1. Location-Based Microclimatic Variations and the Effect of VPD
Table 4 shows the evaluation results based on the DNN structure we obtained from the end nodes and ran within the nodes. Table 4 presents a comparative analysis of the microclimatic parameters recorded for the four monitoring locations and the regional meteorological reference.
Table 4.
Location-Based Microclimatic Differences and Evolution (June 2025).
As shown in Table 4, incorporating VPD shifted the estimated spraying date by one day at Node 2, while no changes were observed at the other monitoring locations. Although its effect on the predicted intervention dates was limited under the examined conditions, VPD remains biologically relevant. Grisafi et al. [52] experimentally demonstrated that VPD significantly influences water loss in H. halys (p < 0.01), with a pronounced response between approximately 0.5 and 1.5 kPa.
3.1.1. Differences in Microclimatic Thermal Accumulation and Phenological Development
Analysis of the data reveals significant differences in Degree-Day method accumulation between sunny slopes (Node 2) and shaded areas (Table 4). Node 2, with an average temperature of 24.08 °C and 468 Degree-Day accumulation, accelerated pest development, and the proposed QDNN algorithm determined that it would reach the Nymph (N5) stage by the end of June. Node 3, with an average temperature of 19.91 °C and only 239 Degree-Day accumulation, was also determined by the proposed QDNN algorithm to reach the Nymph (N3) stage by the end of June. While standard meteorological station (Turkish State Meteorological Service—TSMS) data indicates 336 Degree-Day accumulation by the end of June, the sunny areas in our hazelnut orchard have 39.28% more thermal accumulation than this value. This indicates that spraying based solely on official data would miss pests in sunny areas.
3.1.2. VPD and Stress Analysis
When the VPD values are examined, the results suggest the dehydration risk of H. halys and the pressure on host plant health. At Node 2, the VPD was observed to be 1.40 kPa. In the literature, values above 1.2 kPa are defined as “high stress” and “dehydration risk”. Examining the data from Node 1 and Node 3, the 0.78 kPa VPD value at the nodes represents the ideal microclimate (0.4–0.8 kPa) where the H. halys can feed without experiencing water stress. When the effect of the TinyML model is examined and VPD is included in the model, the spraying prediction for Node 2 shifted from 25 May to 26 May. This 1-day shift indicates that the stress caused by high VPD (hot and dry air) minimally suppresses the insect’s active feeding or dispersal rate.
3.1.3. Timing of Pest Control Application and Decision Support Strategy
The dates given by the TinyML model for the Nymph2–Nymph3 transition, the stage when the pest is most susceptible to pesticides, are critical for precision agriculture practices. The proposed model suggests that spraying should begin on 25–26 May in Node 2, but that this can be delayed until 12 June in shaded areas (Node 3). It appears that by spraying only the high-risk Node 2 and Node 4 areas early, delaying spraying in the low-risk Node 3 area by 18 days, or optimizing the spraying entirely, pesticide use and costs can be reduced.
3.2. Seasonal Development and Biofix Analysis Using the QDNN Model
Figure 10 shows a comparative analysis of the H. halys’s emergence from hibernation (diapause) and subsequent life stages based on microclimates. During January-March, all nodes are in stage 0 (diapause). This indicates that the H. halys ceases reproductive activity during short day lengths and retreats to wintering sites. In April, Node 2 reached stage “1” (Development in progress) earlier than all other stations and the TSMS reference. Sunny slopes reach the critical photoperiod and thermal accumulation earlier than other regions. Node 4 also reached stage “1” (Development in progress) at the end of April. A careful examination of the graph reveals phenological heterogeneity between different nodes. Node 2 reached level “2” (Spraying Alert) in May. This stage is when the pest is most susceptible to chemical control, meaning it is the stage where spraying is most effective. While Node 2 issued a spraying warning in May, Node 3 only reached this level in June. This indicates that the “microclimatic buffering” effect provided by shaded areas delayed biological development by approximately one month. According to the reference TSMS data, while the pests in Node 2 were still in the “1” (Development in progress) stage in May, they had already progressed to the Nymph 2–3 stage, requiring spraying. Relying solely on TSMS data would lead to missing the critical intervention time on sunny slopes. Nodes 1, 2, 4, and TSMS units reached the “3” (Late Spraying) stage at the end of June and the “4” (Adulthood) stage in July. Adult individuals are more resistant to pesticides, and spraying at this stage will be “ineffective.” All nodes appear to have merged at the 4th level (Adulthood) in August. This marks the completion of the first generation in the Düzce region and the beginning of the spread of the new generation adults.
Figure 10.
H. halys development in January–August 2025.
The phenological classifications presented in this study were derived from environmental measurements and a literature-informed modeling framework incorporating cumulative growing degree days (GDD), photoperiod, and microclimatic conditions. The developmental-stage labels used for QDNN training were generated through this modeling framework rather than assigned using independently observed H. halys developmental stages. Consequently, the reported classifications represent model-based estimates of potential phenological development and spraying windows, rather than direct biological observations. Independent field observations, including insect trapping, population monitoring, and developmental-stage identification, were not available for validating the predicted phenological stages. Therefore, the biological prediction accuracy and field effectiveness of the proposed spraying decision-support system cannot be established from the present results. The proposed approach should be interpreted as a microclimate-informed phenological decision-support framework whose biological reliability requires further validation using independently collected insect observations.
3.3. Effects of Wind and Atmospheric Pressure
In the literature, it has been proven that the flight take-off rate of H. halys, which is 83% in calm weather, drops below 10% when the wind speed rises to 0.75 m/s and above [53]. Wind Direction and Intensity information is measured at the coordinator node in addition to the end node data. These measured data are subjected to the trained QDNN algorithm. Figure 11 present, the spraying window decisions taken by the end nodes are shown in blue. The spraying approval time calculated by the coordinator node using the QDNN algorithm, including wind data, is shown in green, and the disapproval time is shown in red. Although Node 1 approved the spraying window between 6 and 28 June, the coordinator node did not approve the spraying on 13, 14, 21, 22, 27 and 28 June, which are within this period. Although Node 2 approved the spraying window between 25 May and 13 June without including VPD, the coordinator node did not approve spraying on 13 June within this period. Although Node 3 approved the spraying window between 12 June and 18 July, the coordinator node did not approve spraying on 13, 14, 21, 22, 27–29 June, and 2 and 4 July within this period. Although Node 4 approved the spraying window between 1 and 21 June, the coordinator node did not approve spraying on 13, 14, 21 June within this period. The refusal to approve spraying may be due to the wind and atmospheric pressure parameters added to the QDNN algorithm within the coordinator node. Insects react to pressure changes. The H. halys is a strong flyer but stops flying in windy and bad weather. A sudden pressure drop (ΔPatm < 0) indicates an approaching cold front or storm. The H. halys is affected by this pressure change and stops flying. When a pressure drop is detected, spraying is not carried out because the insects will not come into contact with the pesticide as they flee to shelters. However, when the end nodes are examined, no sudden pressure change is observed, so we can assume that there is no sudden drop in the coordinator node either. Therefore, we believe that the reason for not granting spraying approval in the QDNN algorithm is due to wind parameters. A retrospective comparison of the 2025 daily end-node classifications and meteorological wind records showed that the wind-related spraying rejection dates reported in Figure 11 coincided with wind speeds of at least 1.0 m/s. The refusal to grant spraying approval is aimed at preventing the pesticide from being carried away by the wind from the targeted area, in accordance with “Precision Agriculture” principles.
Figure 11.
Effect of wind on spraying timing. Blue indicates the potential spraying windows identified by the end nodes, green indicates spraying approval by the coordinator node, and red indicates spraying rejection based on wind conditions.
3.4. Quantization Performance Analysis
3.4.1. Post-Training Quantization
The embedded system was evaluated using a post-training quantization (PTQ) approach in which 32-bit floating-point (float32) neural network models were converted to 8-bit integer (int8) representations. This conversion was applied to reduce the computational and memory requirements of TinyML deployment on resource-constrained microcontrollers. Quantization performance was characterized using two complementary metrics. The first metric, the Reduction Rate (R), represents the percentage decrease in the evaluated metric after quantization. The second metric, the Speedup Factor (Sp), represents the multiplicative improvement in inference speed:
Here, and denote the float32 and int8 values, respectively, for the metric being compared, whereas and denote the estimated inference latencies of the float32 and int8 models. The reported values were obtained from Edge Impulse target-performance estimates. Therefore, these results represent model-level deployment estimates rather than instrumented whole-device measurements.
The inference latency, RAM usage, and Flash memory requirements reported in this study were obtained from the Edge Impulse target-performance estimation environment. These values represent model-level estimates for the selected embedded deployment configuration rather than direct measurements acquired from the physical RP2040 devices.
3.4.2. Quantization Results and Resource Efficiency
Table 5 summarizes the estimated inference latency, memory requirements, and performance improvements achieved through int8 quantization for both the Coordinator and Edge node models. For the Coordinator model, int8 quantization reduced the estimated inference latency from 19 ms to 2 ms. According to Equation (13), this corresponds to an 89.47% reduction in latency, while Equation (14) yields an estimated speedup factor of 9.50×. The estimated classifier RAM requirement decreased from 2.6 KB to 1.7 KB, corresponding to a 34.62% reduction. Similarly, the estimated classifier Flash requirement decreased from 36.6 KB to 20.7 KB, representing a 43.44% reduction.
Table 5.
Post-quantization performance values.
A comparable improvement was obtained for the Edge Node model. The estimated inference latency decreased from 19 ms for the float32 model to 3 ms after int8 quantization. This change corresponds to an 84.21% reduction and a 6.33× speedup. The estimated classifier RAM requirement decreased from 2.6 KB to 1.7 KB, again yielding a 34.62% reduction. The estimated classifier Flash requirement decreased from 37.2 KB to 20.8 KB, corresponding to a 44.09% reduction.
Taken together, the results shown in Figure 12 indicate that post-training int8 quantization substantially reduced model-level computational latency and memory footprint in both deployment configurations. The largest relative improvement was observed in the estimated inference latency of the Coordinator model. RAM and Flash savings were comparable between the two model variants. These reductions indicate that the quantized models are suitable for deployment within the constrained compute and memory budgets of low-power agricultural IoT and TinyML platforms.
Figure 12.
TinyML post-training quantization performance: (a) Coordinator model; (b) Edge Node model.
The conventional Growing Degree Day (GDD) approach and the proposed QDNN-based framework address phenological decision support through different computational strategies. The GDD method estimates thermal development by accumulating temperature-dependent heat units and comparing them with predefined developmental thresholds. In contrast, the proposed QDNN architecture processes multiple environmental inputs, including temperature, relative humidity, atmospheric pressure, and ambient light, to generate model-based phenological classification outputs at the edge nodes. At the coordinator level, wind speed and wind direction are additionally considered to generate location-specific spraying decision-support outputs. The principal architectural advantage of the proposed system is the integration of multivariable environmental assessment, embedded inference, and distributed decision processing within a wireless sensor network.
3.5. Microclimate Characterization, Spatial Heterogeneity, and Statistical Validation
During the 2025 growing season, ambient temperature and Vapor Pressure Deficit (VPD) recorded at four wireless sensor nodes (NODE1–NODE4) and the TSMS reference meteorological station exhibited clear seasonal and spatial differences. NODE1 represented the stream-bank location, NODE2 the south-facing slope, NODE3 the shaded area, and NODE4 the hilltop. Within the 2025 growing-season dataset, NODE2 exhibited the highest mean temperature (17.01 °C) and VPD (0.772 kPa). A strong positive relationship was observed between VPD and temperature. Figure 13 shows the temporal dynamics of temperature and vapor pressure deficit across the sensor nodes.
Figure 13.
Temporal dynamics of temperature and vapor pressure deficit across sensor nodes.
During the active monitoring period, linear relationships among the principal microclimate and phenological variables were evaluated using the Pearson correlation coefficient. The Pearson correlation coefficient was generally expressed as shown in Equation (15):
Here, and denote paired observations, and denote the corresponding mean values, and n denotes the number of observations. All correlation analyses were conducted using 1460 observations (n = 1460).
The relationship between temperature and VPD is given in Equation (16):
This result indicates a strong and statistically significant positive linear relationship between temperature and VPD.
The relationship between relative humidity and VPD is given in Equation (17):
A strong and statistically significant negative relationship was identified between relative humidity and VPD. Accordingly, VPD tended to decrease as relative humidity increased.
The relationship between Cumulative Degree Days (CDD) and phenological stage classification is given in Equation (18):
The relationship between cumulative degree days (CDD) and phenological stage classification was evaluated using Pearson correlation analysis. The observed linear correlation was negligible (r = 0.04). This finding indicates that cumulative thermal accumulation should be interpreted as a component of the phenological modeling framework rather than as an independently validated linear predictor of the assigned developmental classes. To evaluate not only how much the in-orchard sensor nodes differed from the TSMS reference station, but also the direction and average magnitude of these differences, two complementary statistical indicators were used: directional bias (Bias) and mean absolute error (MAE). Bias indicates whether a given node systematically records higher or lower values than the TSMS reference for a particular environmental variable. A positive bias indicates that node measurements are generally higher than the TSMS reference, whereas a negative value indicates lower measurements. Because positive and negative daily deviations may partially offset one another, bias alone may not fully represent the total magnitude of disagreement. Therefore, MAE was additionally calculated to quantify the average absolute difference between each node and TSMS irrespective of direction. Thus, Bias characterizes the direction of microclimatic deviation, whereas MAE quantifies its average magnitude. Both metrics were calculated separately for temperature (T), relative humidity (RH), and vapor pressure deficit (VPD):
Here, denotes the environmental variable measured at sensor node i at time t, is the corresponding TSMS reference value at the same time, and N is the number of paired observations included in the comparison. indicates no mean directional deviation between the node and TSMS; indicates that the node systematically records higher values than TSMS, whereas indicates lower values. As approaches zero, the node measurements more closely match the TSMS reference; larger MAE values indicate a greater average difference between the two series.
During the March–August 2025 analysis period, the four in-orchard nodes exhibited systematic deviations from the TSMS reference series, as summarized in Table 6 and Figure 14. NODE2 recorded the highest mean temperature relative to TSMS (20.725 °C) and the largest positive temperature bias (+2.197 °C). NODE3 represented the coolest location, with a mean temperature of 16.615 °C and a bias of −1.913 °C. NODE1 was the node most closely aligned with the TSMS temperature series, with an MAE of 0.511 °C. Relative humidity showed the opposite spatial pattern: NODE2 had the lowest mean RH (59.338%), whereas NODE1 and NODE3 exhibited more humid conditions than the TSMS reference. The same spatial ordering was retained for VPD, with NODE2 showing the highest mean VPD (1.119 kPa) and the largest positive VPD bias (+0.346 kPa).
Table 6.
Summary statistics describing node-level deviations from the TSMS reference during March–August 2025.
Figure 14.
Seven-day moving mean temperature and relative humidity anomalies at each node relative to the TSMS reference.
Beyond the node–TSMS differences, the four-node network revealed substantial microclimatic heterogeneity within the same orchard, as shown in Table 7. During March–August 2025, the mean daily temperature range among nodes was 4.11 °C. On 64.67% of days, the within-orchard temperature difference exceeded 4 °C. The mean daily range was 15.961 percentage points for relative humidity and 0.531 kPa for VPD.
Table 7.
Within-orchard microclimatic heterogeneity derived from the four-node network.
To quantify within-orchard microclimatic heterogeneity, the difference between the maximum and minimum values recorded across the four sensor nodes was calculated for each day according to Equation (21):
The mean spatial difference over the analysis period was then calculated according to Equation (22):
Here, denotes the daily range among nodes, whereas denotes the mean microclimatic difference over the analysis period.
3.6. Phenological Effects of TSMS–Node Divergence
When the mean daily deviations of the four sensor nodes from the TSMS reference were jointly evaluated for temperature, relative humidity, and VPD, both the direction and magnitude of spatial differences became evident. NODE2 (sunny slope) exhibited the largest positive deviations in temperature (+2.197 °C) and VPD (+0.346 kPa), together with the lowest relative-humidity deviation (−9.024 percentage points). NODE3 (shaded area) remained below the TSMS reference for both temperature (−1.913 °C) and VPD (−0.168 kPa). NODE1 was the closest location to TSMS in terms of temperature, whereas NODE4 showed moderate positive temperature and VPD deviations. The deviations shown on either side of the zero line in Figure 15 demonstrate that the nodes represented distinct thermal and atmospheric conditions within the same orchard; the error bars indicate the corresponding mean absolute error (MAE) values.
Figure 15.
Mean daily Node–TSMS microclimate divergence across the four sensor nodes during March–August 2025: (a) temperature bias (°C), (b) relative-humidity bias (percentage points), and (c) VPD bias (kPa).
The mean temperature bias of +2.197 °C observed at NODE2 relative to TSMS corresponds to an approximate thermal excess of +403 °C-day over the 184-day monitoring period under a constant-accumulation assumption. Under the same approximation, the mean bias of −1.913 °C at NODE3 corresponds to an approximate thermal deficit of −352 °C day. These opposing thermal deviations provide the quantitative microclimatic basis for the divergence of node-level GDD accumulation from the regional TSMS series and for phenological thresholds being crossed on different dates at different locations within the orchard.
Mean temperature and VPD differences among the four sensor-node locations were evaluated using one-way analysis of variance (ANOVA). ANOVA tests whether the means of multiple groups differ statistically. In this study, one-way ANOVA was used to determine whether the temperature and VPD distributions differed significantly among the four sensor nodes. As shown in Equation (23), the test statistic was calculated as the ratio of between-group variation to within-group variation:
The complete measurement dataset included n = 1460 observations per node and a total of N = 5840 observations. As shown in Figure 16, ANOVA revealed significant differences among nodes for both temperature [F(3,5836) = 20.56, p < 0.001] and VPD [F(3,5836) = 63.33, p < 0.001]. Tukey HSD pairwise comparisons showed that NODE2 differed significantly from all other nodes (p < 0.001). No significant difference was detected between NODE1 and NODE3 for either temperature (p = 0.42) or VPD (p = 0.71).
Figure 16.
One-way ANOVA of temperature and VPD across sensor-node locations: (a) temperature; (b) VPD.
Pearson correlations among the microclimate and phenological variables were evaluated in the active monitoring-season dataset using Equation (15). The strongest positive correlation with phenological classification was observed for photoperiod (r = 0.85), followed by degree days (r = 0.76) and vapor pressure deficit (r = 0.67), whereas cumulative degree days exhibited a negligible linear correlation (r = 0.04), as illustrated in Figure 17.
Figure 17.
Pearson correlation matrix of microclimate and phenological variables (n = 1460 observations).
The Pearson correlation matrix indicated that phenological classification was positively associated particularly with photoperiod (r = 0.85), DD (r = 0.76), and VPD (r = 0.67). Strong positive correlations were also observed between temperature and DD (r = 0.90) and between temperature and VPD (r = 0.84), whereas relative humidity was strongly negatively correlated with VPD (r = −0.90). These results indicate that phenological progression is closely associated with thermal accumulation, photoperiod, and atmospheric dryness.
The Buck (1981) approach [54] was used as the thermodynamic reference for VPD calculation. In this approach, temperature-dependent saturation vapor pressure was first calculated using the Buck equation shown in Equation (24):
Here, denotes the saturation vapor pressure at temperature T. VPD was then calculated from the Buck-derived saturation vapor pressure and relative humidity, as shown in Equation (25):
For comparison with this thermodynamic reference, a simpler temperature-based empirical linear model was formulated as shown in Equation (26):
The linear model yielded R2 = 0.6134 and RMSE = 0.3136 kPa. For the Buck-based reference calculation, R2 = 1.0000 and RMSE < 0.00013 kPa were obtained, as shown in Figure 18.
Figure 18.
Validation of the empirical VPD regression model against the Buck-equation reference.
Figure 18 compares the reference VPD values with VPD values calculated using the Buck equation for each node. The points lie on the 1:1 line, and R2 = 1.0000 with RMSE ≈ 0.0001 kPa was obtained for all nodes, indicating numerical agreement between the Buck-based calculation and the reference values used in this analysis. This comparison verifies computational consistency; it should not be interpreted as an independent sensor-level validation of VPD.
3.7. Thermal Accumulation, Phenological Stages, and Timing Divergence
The degree-day model used to relate thermal accumulation to H. halys developmental stages was parameterized with T_base = 14.17 °C and T_upper = 35.76 °C. The developmental-stage thresholds were applied as Egg ≥ 0.3, N1 ≥ 65.9, N2 ≥ 130.4, N3 ≥ 228.8, N4 ≥ 304.7, N5 ≥ 380.2, and Adult ≥ 542.1 °C·day. Differences in CDD accumulation rates among nodes produced distinct rates of phenological progression that were consistent with the observed spatial thermal heterogeneity. These literature-based developmental thresholds are distinct from the TSMS-derived cumulative GDD reference markers reported in Table 8, which were used specifically to compare relative threshold-crossing dates among locations.
Table 8.
TSMS-derived cumulative GDD thresholds and node-specific stage timing relative to TSMS.
To evaluate spatial differences in thermal accumulation and phenological timing, the single-sine GDD calculation described in Section 2.2.3 (Equation (2)) was consistently applied to the four sensor-node datasets and the TSMS meteorological reference. Daily thermal accumulation was estimated using the sinusoidal temperature profile reconstructed from daily minimum and maximum temperatures, with lower and upper thresholds of 14.17 °C and 35.76 °C, respectively. Cumulative growing degree days (CGDD) were subsequently calculated by summing the daily GDD contributions from the photoperiod-based seasonal biofix date (t0) to the corresponding observation date, as expressed in Equation (27). The same calculation procedure and temperature thresholds were applied across all monitoring locations to ensure methodological consistency in the comparison of thermal accumulation:
The date on which each sensor node reached the phenological thresholds defined on the TSMS reference curve was determined using Equation (28). The timing difference between each node and TSMS was then calculated using Equation (29):
Here, a negative value indicates that the corresponding node reached the phenological threshold earlier than the TSMS reference, whereas a positive value indicates a later threshold crossing.
Table 8 summarizes the cumulative GDD thresholds derived from the TSMS reference and the timing shifts at which each node reached these thresholds. For TSMS, the Egg, N1, N2, N3, N4, N5, and Adult thresholds were 45.37, 113.85, 167.65, 275.07, 347.84, 413.98, and 589.96 °C·day, respectively. NODE2 reached all developmental thresholds earlier than the TSMS reference, with timing advances ranging from 14 to 34 days. In contrast, NODE3 showed delayed progression for all stages, reaching the thresholds 13–24 days later than TSMS. NODE1 exhibited the timing pattern closest to the TSMS reference, whereas NODE4 reached most nymphal and adult thresholds approximately 3–7 days earlier than TSMS.
Figure 19 illustrates how the cumulative GDD trajectories of TSMS and the four sensor nodes diverged over the season. The NODE2 curve remained above the TSMS reference throughout the analysis period, indicating faster thermal accumulation, whereas NODE3 remained below the reference, indicating slower thermal accumulation. NODE1 showed the profile closest to the TSMS trajectory, while NODE4 exhibited moderately greater thermal accumulation. These findings demonstrate that microclimatic differences within the same orchard can substantially alter GDD accumulation and the resulting timing of phenological stages.
Figure 19.
Cumulative GDD trajectories for TSMS and the four sensor nodes.
4. Conclusions
Experimental evaluations were carried out on the proposed system with four end nodes and one coordinator node by employing next-generation IoT infrastructure and the QDNN algorithm. The following conclusions were derived from the experimental results.
The results indicate that the developed hierarchical architecture can calculate the development differences arising from the topographical structure of the land and is an Agricultural Decision Support System that can tell the farmer not only “when” but also “where” to apply pesticides. According to TSMS data, a producer who applies pesticides will be late in the sunny slope (Node 2) region, where the population is densest and develops fastest. Such delays result in the most destructive phases of the pest being overlooked and constitute a major factor contributing to yield loss. The June 2025 data obtained in this study show that the reference TSMS data are insufficient to reflect the biological reality in hazelnut orchards with complex topography. The June 2025 data reveal that pest management strategies in hazelnut orchards should be based on ‘micro-location data’ instead of ‘regional averages’. The inclusion of the VPD parameter in the analysis allows for the management of not only pest monitoring but also plant water stress and fungal disease risks on a plot-by-plot basis. The developed system and TinyML model successfully capture differences in thermal accumulation in the field. Instead of applying pesticides to the entire area simultaneously, intervening only in zones where the system issues a “2” alert—for instance, targeting node 2 first, followed by node 3 a month later—can support decision-making processes regarding pesticide use, thereby helping to reduce both environmental pollution and costs. The shade development line of Node 3 clearly demonstrates how the forest edge or shade factor acts as a “brake” on pest population dynamics.
The developed TinyML algorithm system treats wind speed as a “Kinetic Limiter”. The analysis of the wind graph shows that it is not enough to only look at insect development; wind parameters, even if the biological stage is suitable, invalidate the spraying operation due to operational safety (e.g., pesticide drift) and insect behavior (e.g., insect hiding).
The integrated findings demonstrate that within-orchard microclimate heterogeneity can generate measurable differences in H. halys phenological timing and that a single meteorological reference cannot fully represent this spatial variability. The four-node distributed WSN enabled location-specific monitoring of temperature, relative humidity, and VPD, revealing that these differences could translate into up to 27 days of asynchrony in GDD accumulation and phenological-threshold timing. The findings were further supported by logistic-model fit and base-temperature sensitivity analyses, which showed that the relative phenological ranking among microhabitats was maintained under different thermal assumptions. Overall, integrating location-specific microclimate measurements with GDD-based phenology models offers a potentially scalable decision-support approach for precision pest monitoring and intervention timing.
Previous studies have established important foundations for H. halys monitoring and phenology. Maistrello et al. [4] focused on field monitoring of H. halys in fruit orchards, while Liakos et al. [7] investigated its spatial and temporal distribution under on-farm conditions. Nielsen et al. [21,34,35] provided key foundations for understanding H. halys phenology by examining reproductive development, temperature-dependent development, photoperiod, and thermal requirements. In contrast, the present study integrates these biological foundations with spatially distributed microclimate monitoring, a multi-node WSN, GDD- and photoperiod-based phenological assessment, and INT8-quantized TinyML inference on resource-constrained microcontrollers within a single field-deployed framework. Thus, the principal contribution of this study lies in linking within-orchard microclimatic heterogeneity with edge-based, site-specific H. halys phenological decision support.
As can be seen in Equations (7) and (9), the excess power generated by the system is stored in the battery. In this way, the continuity of the system is theoretically maintained during hours when sunlight is weak or absent. As shown in Equation (10), in the absence of sunlight, the system can theoretically operate continuously for 57.6 h with a fully charged battery. In terms of energy sustainability, the system is designed to be supported by solar panels and batteries. As indicated by Equations (7) and (9), excess energy generated during sunny hours is stored in the battery, and the system continues to operate by utilizing this stored energy when sunlight is unavailable. Based on the calculated values, the system can theoretically operate continuously for approximately 57.6 h with a fully charged battery.
The field evaluation was conducted in a single topographically heterogeneous hazelnut orchard using four distributed sensor nodes. Although the results demonstrate the feasibility of location-specific microclimate monitoring and model-based phenological decision support, they do not establish generalizability across different agricultural environments. Further multi-site and multi-season evaluations, supported by independent biological observations, are required to assess the robustness and transferability of the proposed approach under varying climatic and ecological conditions.
Author Contributions
K.G. and A.Ç.; methodology, K.G. and A.Ç.; software, K.G.; validation, K.G., A.Ç. and M.C.; formal analysis, K.G., A.Ç. and M.C.; investigation, K.G., A.Ç. and M.C.; resources, K.G.; data curation, K.G.; writing—original draft preparation, K.G.; writing—review and editing, K.G., A.Ç. and M.C.; visualization, K.G. and A.Ç.; supervision, A.Ç. and M.C.; project administration, A.Ç.; funding acquisition, K.G. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The data supporting the findings of this study include meteorological records obtained from the Turkish State Meteorological Service (TSMS) and microclimatic measurements collected by the developed wireless sensor network. The datasets generated during this study are available from the corresponding author upon reasonable request, subject to applicable data-sharing restrictions.
Acknowledgments
The authors would like to thank the Turkish State Meteorological Service (TSMS) for providing the meteorological data used in this study.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Özdemir, İ.O.; Tuncer, C. A new invasive polyphagous pest in Turkey, Brown Marmorated Stink Bug [Halyomorpha halys (Stål, 1855) (Hemiptera: Pentatomidae)]: Description, similar species and current status. Black Sea J. Eng. Sci. 2021, 4, 58–67. (In Turkish) [Google Scholar] [CrossRef] [Scilit]
- Kalkan, Ç.; Satar, S. A new invasive species for the Eastern Mediterranean Region of Turkey: Halyomorpha halys (Stål) (Hemiptera: Pentatomidae). Çukurova J. Agric. Food Sci. 2023, 38, 381–392. (In Turkish) [Google Scholar] [CrossRef] [Scilit]
- Pajač Živković, I.; Skendžić, S.; Lemić, D. Rapid spread and first massive occurrence of Halyomorpha halys (Stål, 1855) in agricultural production in Croatia. J. Cent. Eur. Agric. 2021, 22, 531–538. [Google Scholar] [CrossRef] [Scilit]
- Maistrello, L.; Vaccari, G.; Caruso, S.; Costi, E.; Bortolini, S.; Macavei, L.I.; Foca, G.; Ulrici, A.; Bortolotti, P.P.; Nannini, R.; et al. Monitoring of the invasive Halyomorpha halys, a new key pest of fruit orchards in northern Italy. J. Pest Sci. 2017, 90, 1231–1244. [Google Scholar] [CrossRef] [Scilit]
- Boscolo Agostini, R.; Vizzari, M.T.; Benazzo, A.; Ghirotto, S. Disentangling the worldwide invasion process of Halyomorpha halys through approximate Bayesian computation. Heredity 2025, 134, 64–74. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Damos, P.; Soulopoulou, P.; Thomidis, T. First record and current status of the brown marmorated sting bug Halyomorpha halys damaging peaches and olives in northern Greece. J. Plant Prot. Res. 2020, 60, 323–326. [Google Scholar] [CrossRef] [Scilit]
- Liakos, V.; Navrozidis, I.E.; Koutsogeorgiou, E.I.; Gogolashvili, N.E.; Samourgkanidou, E.; Faraslis, I.; Gravalos, I.; Thomidis, T.; Andreadis, S.S. Analyzing on-farm spatiotemporal distribution of Halyomorpha halys (Stål) (Hemiptera: Pentatomidae) populations from a precision agriculture perspective. Plants 2023, 12, 2282. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Smith, J.R.; Hesler, S.P.; Loeb, G.M. Potential impact of Halyomorpha halys (Hemiptera: Pentatomidae) on grape production in the Finger Lakes region of New York. J. Entomol. Sci. 2014, 49, 290–303. [Google Scholar] [CrossRef] [Scilit]
- Mele, A.; Avanigadda, D.S.; Ceccato, E.; Olawuyi, G.B.; Simoni, F.; Duso, C.; Scaccini, D.; Pozzebon, A. Comparative life tables of Trissolcus japonicus and Trissolcus mitsukurii, egg parasitoids of Halyomorpha halys. Biol. Control 2024, 195, 105548. [Google Scholar] [CrossRef] [Scilit]
- Zhang, J.P.; Zhang, F.; Zhong, Y.Z.; Yang, S.Y.; Zhou, C.Q.; Zhang, Z.N. Biocontrol and research status of Halyomorpha halys (Stål). Chin. J. Biol. Control 2015, 31, 166–175. (In Chinese) [Google Scholar] [CrossRef]
- Sabbatini-Peverieri, G.; Dieckhoff, C.; Giovannini, L.; Marianelli, L.; Roversi, P.F.; Hoelmer, K. Rearing Trissolcus japonicus and Trissolcus mitsukurii for biological control of Halyomorpha halys. Insects 2020, 11, 787. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Giannuzzi, V.A.; Rossi, V.; Moujahed, R.; Poccia, A.; D’Archivio, F.; Rossi Magi, T.; Chierici, E.; Casoli, L.; Rondoni, G.; Conti, E. Evaluation of Lure and Dispenser Combinations for Halyomorpha halys (Hemiptera: Pentatomidae) Trapping. Insects 2025, 16, 341. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Agasyeva, I.S.; Ismailov, V.Y.; Petrishcheva, M.; Nastasiy, A.S. Use of biological agents to control the number of Halyomorpha halys Stål. Adv. Life Sci. 2024, 11, 696–702. [Google Scholar] [CrossRef] [Scilit]
- Tozlu, E.; Saruhan, İ.; Tozlu, G.; Kotan, R.; Dadaşoğlu, F.; Tekiner, N. Potentials of some entomopathogens against the brown marmorated stink bug, Halyomorpha halys (Stål, 1855) (Hemiptera: Pentatomidae). Egypt. J. Biol. Pest Control 2019, 29, 76. [Google Scholar] [CrossRef] [Scilit]
- Rice, K.B.; Bergh, C.J.; Bergmann, E.J.; Biddinger, D.J.; Dieckhoff, C.; Dively, G.; Fraser, H.; Gariepy, T.; Hamilton, G.; Haye, T.; et al. Biology, ecology, and management of brown marmorated stink bug (Hemiptera: Pentatomidae). J. Integr. Pest Manag. 2014, 5, A1–A13. [Google Scholar] [CrossRef] [Scilit]
- Luo, Z.-Y.; Gao, L.-P.; Li, W.-J.; Chen, J.-H.; Ali, M.Y.; Zhang, F.; Li, F.-Q.; Wang, X.-P.; Zhang, J.-P. Assessing the lethal effects of pesticide residue exposure on beneficial parasitoids and their host, Halyomorpha halys (Stål) (Hemiptera: Pentatomidae). J. Econ. Entomol. 2025, 118, 242–252. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kulava, L.D.; Karpun, N.N.; Zhuravleva, E.N.; Ayba, L.Y. Biological and economic efficiency of optimized schemes for protecting mandarin fruits from pests in Abkhazia. Subtrop. Ornam. Hortic. 2021, 76, 36–43. (In Russian) [Google Scholar] [CrossRef] [Scilit]
- Shekhar, C.; Khosya, R.; Thakur, K.; Mahajan, D.; Kumar, R.; Kumar, S.; Sharma, A.K. A systematic review of pesticide exposure, associated risks, and long-term human health impacts. Toxicol. Rep. 2024, 13, 101840. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dieckhoff, C.; Tatman, K.M.; Hoelmer, K.A. Natural biological control of Halyomorpha halys by native egg parasitoids: A multi-year survey in northern Delaware. J. Pest Sci. 2017, 90, 1143–1158. [Google Scholar] [CrossRef] [Scilit]
- Regmi, A.; Neupane, K.; Harper, J.K. Grower assessment of profitability impact from Brown Marmorated Stink Bug, Halyomorpha halys (Stål), the value of management information sources, and use of potential management practices. J. Appl. Entomol. 2024, 148, 254–265. [Google Scholar] [CrossRef] [Scilit]
- Zhang, A.; Harris, C.; Leskey, T.C. Methods and compositions for deterring feeding/repelling the brown marmorated stink bug (BMSB), Halyomorpha halys. U.S. Patent 9,320,280 B2, 26 April 2016. [Google Scholar]
- Nielsen, A.L.; Fleischer, S.; Hamilton, G.C.; Hancock, T.; Krawczyk, G.; Lee, J.C.; Ogburn, E.C.; Pote, J.M.; Raudenbush, A.; Rucker, A.; et al. Phenology of brown marmorated stink bug described using female reproductive development. Ecol. Evol. 2017, 7, 6680–6690. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Leskey, T.C.; Nielsen, A.L. Impact of the Invasive Brown Marmorated Stink Bug in North America and Europe: History, Biology, Ecology, and Management. Annu. Rev. Entomol. 2018, 63, 599–618. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Özdemir, İ.O.; Doğan, F.; Tuncer, C. The preliminary study on the biology of an invasive species, Halyomorpha halys (Hemiptera: Pentatomidae) in Northwest Türkiye. Turk. J. Agric. Food Sci. Technol. 2023, 11, 1380–1385. [Google Scholar] [CrossRef] [Scilit]
- Ogburn, E.C.; Walgenbach, J.F. Impact of temperature storage conditions of Halyomorpha halys (Hemiptera: Pentatomidae) eggs on parasitism by Anastatus reduvii (Hymenoptera: Eupelmidae). J. Econ. Entomol. 2020, 113, 98–107. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Frewin, A.J.; Scaife, K.; Fraser, H.; Scott-Dupree, C. Survey of the reproductive development of field-caught Halyomorpha halys (Hemiptera: Pentatomidae) in the Niagara Region of Ontario, Canada. Can. Entomol. 2019, 151, 406–409. [Google Scholar] [CrossRef] [Scilit]
- Mermer, S.; Maslen, E.A.; Dalton, D.T.; Nielsen, A.L.; Rucker, A.; Lowenstein, D.; Wiman, N.; Bhattarai, M.; Soohoo-Hui, A.; Harris, E.T.; et al. Temperature-dependent life table parameters of brown marmorated stink bug, Halyomorpha halys (Stål) (Hemiptera: Pentatomidae) in the United States. Insects 2023, 14, 248. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Birgücü, A.K.; Karsavuran, Y. Degree-day models and their use in plant protection. J. Aegean Agric. Res. Inst. 2009, 19, 98–117. (In Turkish) [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Nielsen, A.L.; Hamilton, G.C. Life history of the invasive species Halyomorpha halys (Hemiptera: Pentatomidae) in northeastern United States. Ann. Entomol. Soc. Am. 2009, 102, 608–616. [Google Scholar] [CrossRef] [Scilit]
- Nielsen, A.L.; Hamilton, G.C.; Shearer, P.W. Seasonal phenology and monitoring of the non-native Halyomorpha halys in soybean. Environ. Entomol. 2011, 40, 231–238. [Google Scholar] [CrossRef] [Scilit]
- Kargar, A.; Zorbas, D.; Tedesco, S.; Gaffney, M.; O’Flynn, B. Detecting Halyomorpha halys using a low-power edge-based monitoring system. Comput. Electron. Agric. 2024, 221, 108935. [Google Scholar] [CrossRef] [Scilit]
- Palazzetti, L.; Sorbelli, F.B.; Pinotti, C.M. Let Me Sleep! A Machine Learning Approach for IoT Wake-Up Mechanism for Insect Detection. In Proceedings of the 2025 IEEE International Workshop on Metrology for Agriculture and Forestry (MetroAgriFor), Bologna, Italy, 28–30 October 2025; pp. 122–127. [Google Scholar] [CrossRef] [Scilit]
- Palazzetti, L.; Betti Sorbelli, F.; Das, P.; Almstedt, L.; Niederprüm, D.; Wolf, L.; Pinotti, C.M. A comprehensive dataset of Halyomorpha halys for automated detection and monitoring in orchards. Sci. Data 2026, 13, 1059. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Vermani, S. The next generation Internet of Things. In Proceedings of the 2016 International Conference on Computing for Sustainable Global Development (INDIACom), New Delhi, India, 16–18 March 2016; pp. 779–781. [Google Scholar]
- Gupta, S.K.S. A review on smart devices, networking technologies and security in next-generation IoT systems. Int. J. Adv. Res. Comput. Sci. 2025, 16, 170–176. [Google Scholar] [CrossRef] [Scilit]
- Dauda, A.; Flauzac, O.; Nolot, F. A Survey on IoT Application Architectures. Sensors 2024, 24, 5320. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Szmeja, P.; Fornés-Leal, A.; Lacalle, I.; Palau, C.E.; Ganzha, M.; Pawłowski, W.; Paprzycki, M.; Schabbink, J. ASSIST-IoT: A modular implementation of a reference architecture for the next generation Internet of Things. Electronics 2023, 12, 854. [Google Scholar] [CrossRef] [Scilit]
- Raspberry Pi Ltd. RP2040 Microcontroller Product Brief. 2021. Available online: https://datasheets.raspberrypi.com/rp2040/rp2040-product-brief.pdf (accessed on 8 November 2026).
- Forsythe, W.C.; Rykiel, E.J.; Stahl, R.S.; Wu, H.; Pitt, R.M. A model comparison for daylength as a function of latitude and day of year. Ecol. Model. 1995, 80, 87–95. [Google Scholar] [CrossRef] [Scilit]
- Nielsen, A.L.; Chen, S.; Fleischer, S.J. Coupling developmental physiology, photoperiod, and temperature to model phenology and dynamics of an invasive heteropteran, Halyomorpha halys. Front. Physiol. 2016, 7, 165. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- McDougall, R.N.; Ogburn, E.C.; Walgenbach, J.F.; Nielsen, A.L. Diapause termination in invasive populations of the brown marmorated stink bug (Hemiptera: Pentatomidae) in response to photoperiod. Environ. Entomol. 2021, 50, 1400–1406. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Nielsen, A.L.; Hamilton, G.C.; Matadha, D. Developmental rate estimation and life table analysis for Halyomorpha halys (Hemiptera: Pentatomidae). Environ. Entomol. 2008, 37, 348–355. [Google Scholar] [CrossRef] [Scilit]
- Allen, R.G.; Pereira, L.S.; Raes, D.; Smith, M. Crop Evapotranspiration—Guidelines for Computing Crop Water Requirements; FAO Irrigation and Drainage Paper 56; Food and Agriculture Organization of the United Nations: Rome, Italy, 1998. [Google Scholar]
- Fisher, J.J.; Rijal, J.P.; Zalom, F.G. Temperature and humidity interact to influence brown marmorated stink bug (Hemiptera: Pentatomidae) survival. Environ. Entomol. 2021, 50, 390–398. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Scaccini, D.; Vanishvili, L.; Tirello, P.; Walton, V.M.; Duso, C.; Pozzebon, A. Lethal and sub-lethal effects of low-temperature exposures on Halyomorpha halys (Hemiptera: Pentatomidae) adults before and after overwintering. Sci. Rep. 2020, 10, 15231. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Fischnaller, S.; Bulgarini, G.; Gruber, A.; Frasconi Wendt, C.; Neulichedl, P.; Wolf, M. Overwintering mortality in Halyomorpha halys (Hemiptera: Pentatomidae): Insights from laboratory and field studies. Environ. Entomol. 2026, 55, nvag054. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Adebayo, T.S.; Ullah, S.; Kartal, M.T.; Ali, K.; Pata, U.K.; Ağa, M. Green energy and green human capital: Effects on environmental quality in European Union countries. J. Dokuz Eylul Univ. Inst. Soc. Sci. 2023, 25, 123–145. (In Turkish) [Google Scholar]
- Alajlan, N.N.; Ibrahim, D.M. TinyML: Enabling of inference deep learning models on ultra-low-power IoT edge devices for AI applications. Micromachines 2022, 13, 851. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Boo, Y.; Shin, S.; Sung, W. Quantized neural networks: Characterization and holistic optimization. In Proceedings of the 2020 IEEE Workshop on Signal Processing Systems (SiPS), Coimbra, Portugal, 20–22 October 2020; pp. 1–6. [Google Scholar]
- LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Narasimharao, M.; Swain, B.; Nayak, P.P.; Bhuyan, S. Assessing the feasibility and efficacy of TinyML based voice-activated LED lighting system for smart village micro-utilities. In Proceedings of the 2023 International Conference on Sustainable Energy and Future Electric Transportation (SeFeT), Bhubaneswar, India, 9–12 August 2023; pp. 1–8. [Google Scholar] [CrossRef] [Scilit]
- Grisafi, F.; Papa, G.; Barbato, M.; Tombesi, S.; Negri, I. Influence of Microclimate Factors on Halyomorpha halys Dehydration. Insects 2021, 12, 897. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lee, D.H.; Leskey, T.C. Flight behavior of foraging and overwintering brown marmorated stink bug, Halyomorpha halys (Hemiptera: Pentatomidae). Bull. Entomol. Res. 2015, 105, 566–573. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Buck, A.L. New equations for computing vapor pressure and enhancement factor. J. Appl. Meteorol. 1981, 20, 1527–1532. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.


















