# Agri-Aid: An Automated and Continuous Farmer Health Monitoring System Using IoMT

Laavanya Rachakonda

► To cite this version:

Laavanya Rachakonda. Agri-Aid: An Automated and Continuous Farmer Health Monitoring System Using IoMT. 5th IFIP International Internet of Things Conference (IFIPIoT), Oct 2022, Amsterdam, Netherlands. pp.52-67, 10.1007/978-3-031-18872-5_4. hal-04704235

HAL Id: hal-04704235

https://inria.hal.science/hal-04704235v1

Submitted on 20 Sep 2024

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
<figure><img src="image_2.png" /></figure>

ifip

International Federation for Information Processing

This document is the original author manuscript of a paper submitted to an IFIP
conference proceedings or other IFIP publication by Springer Nature. As such, there
may be some differences in the official published version of the paper. Such
differences, if any, are usually due to reformatting during preparation for publication or
minor corrections made by the author(s) during final proofreading of the publication
manuscript.
# Agri-Aid: An Automated and Continuous Farmer Health Monitoring System using IoMT

Laavanya Rachakonda[0000-0002-7089-9029]

Department of Computer Science, University of North Carolina Wilmington, USA.
rachakondal@uncw.edu

**Abstract.** Along with smart infrastructures, smart institutions and smart services, having smart and healthy people is also a key component of smart villages. There are number of applications and tools that are designed to monitor the growth of the crop but there are little to none to monitor the health of the farmers. Healthcare is not a luxury and it should be accessible to everyone. With that said, Agri-Aid is an automated system that continuously monitors the physiological, vital, environmental and location based features which have a direct or indirect relationship on farmer's health. This device will analyze the features and will let the user understand and allow them to make small changes in the process of farming. When in the case of severe threat to life, the Agri-Aid will connect to doctors automatically for immediate care. Agri-Aid is designed in the IoMT framework and an accuracy of approximately 98% is observed.

**Keywords:** Smart Healthcare · Healthcare Cyber-Physical System (H-CPS) · Internet of Medical Things (IoMT) · Farmer Health · Farmer Fatigue · Heat Strokes · Pesticide exposure · Visually Impaired · Hearing Impairment · IoT-Edge Computing

## 1 Introduction

In any given economy, agriculture plays a very critical role. It is the foundation of the successful system for an entire life of an economy. Along with the food production and raw supplies, agriculture enhances the economic growth by creating various job opportunities. In 2020 in the United States, among 19.7 million jobs related to agriculture and food sectors, 2.6 million jobs were accounted for farmers i.e., 1.4% of 10.3% of total employment [58]. The total number of farms in the world is approximately 570 million and there are roughly 500 million people whose livelihood is derived from farming [33].

While approximately 44% of the farmers are poisoned by pesticides every year, heat stroke is considered as the leading cause of death among farmers [6]. According to Center for Disease Control and Prevention, the death rate for farmers is 20% higher than the rest of the civilians in US alone [38].

While the technological industry is set on pace to exceed $5.3 trillion in 2022 [37] and the wearable technology market is projected to reach $380.5 billion by 2028 [14], there have not been many advancements in agricultural sector especially targeting farmer health.
A comparison study reveals that farming can have an effect on the health status of the farmers [11]. Thus, Agri-Aid, a fully automated continuous monitoring IoMT based device is proposed to monitor the vital, weather and geographical parameters of the farmers to detect and predict fatigue, health hazards and exposures to pesticides among them. The device prototype of the proposed Agri-Aid is represented in the Figure 1.

<figure><img src="image_3.png" /><figcaption>Fig. 1. Device Prototype of the Proposed Agri-Aid System.</figcaption></figure>

Agri-Aid is a state-of-the-art Edge computing device in IoMT framework. IoT can be defined as a network of things where each thing in the network is connected and is the capable of transferring information with a unique IP address upon need [49]. When the same fundamentals are applied to medical things and healthcare domains, IoT is termed as Internet of Medical Things (IoMT) [47]. IoMT framework can be observed in Smart Healthcare [46, 50], Smart Transportation, Smart cities, etc., [48].

A distributed computing paradigm otherwise known as edge computing has been used here in Agri-Aid as shown in Figure 2. Such computing paradigm allows the data processing and analyses to be done at the source or at the user end. Real time data processing, bandwidth utilization reduction, lower network traffic, increase in the efficiency, security and privacy of the devices with the reduction in the costs are few among the other advantages of adapting Edge computing [22].

The organization of the paper is as follows: Section 2 discusses the motivation behind this research. Section 3 provides the state-of-the-art literature. Section 4 describes how Agri-Aid bridges the gap from the state-of-the-art research. Section 5 discusses the wide range of features both vital and environmental and their significant impact on the farmer health. Section 6 provides a flow of the concept followed by the feature extraction from the discussed parameters. Section 7 describes the working flow of the proposed Agri-Aid system. Section 8 comprises of the ML implementation of the modal and edge implementation of the same. A brief comparison followed by conclusions and future directions are provided in Section 9.
<figure><img src="image_4.png" /><figcaption>Fig. 2. Proposed Agri-Aid System in the Edge Computing Paradigm.</figcaption></figure>

## 2 Motivation behind the Proposed Agri-Aid System

Study indicates that only a small portion between 7% to 11% of the hired farmers have health insurance provided by the employer [59]. Healthcare services are expensive and not everyone can afford it. Reaching for help and accessing the desired help can be major issues depending upon the location of the farm. Most of the farmers face death because of the lack of knowledge on the side effects of exposure to pesticides or heat strokes. Thus the need for a system to not only monitor the vital signals of the farmers but also to educate about the possible health hazards has become important.

## 3 Related Prior Research

With the focus being on crop growth and the productivity of agriculture in general, farmer health monitoring and tracking is very much neglected. There are many state-of-the-art literature's and market ready devices for crop growth monitoring but there are no products and little to none literature that focused on unified farmer health monitoring.

With longer exposure of pesticides, regular health checkups especially vision and cardiopulmonary care are very important. There are studies which observe the impact on vitals focusing on pesticide poisoning and have conducted studies with the farmers exposed to certain chemicals to farmers who were not exposed to the same chemicals [8, 36].

The official statistical data on pesticide poisoning in the country is considered underestimated as only 2% of the cases are reported to the formal health centers [1]. Better quality pesticides may reduce the impact on farmers. Study indicates that the farmers are willing to pay 28% more than what they are currently paying towards pesticides for better health [18].

Health awareness campaigns for the farmers showed the improvements in the symptoms for chronic pesticide poisoning in farmers [56].

The mood and physical activity of the person can determine the mental health of a person. With the early diagnosis of the mental health, the rate of suicides in farmers can be reduced [35].
Older farmer health monitoring plays a very important role as a study shows that in a fatality data of 7064 deaths, over half of the deaths are accounted as older farmers between 1992 and 2004 [40].

A study shows that even though most of the farmers are not well educated and have very little knowledge on the technology, with promoting protective eye-wear and training, farmers have experienced effectiveness and comfort with their regular chores [15].

Few questionnaire based approaches have been proposed to analyze the health of the farmers. An automatic risk detection system is proposed which takes the answers from the farmers to certain questions based on the farming practices and generates the risk percentage of the pesticide exposure [34].

There are few worker health monitoring mechanisms that are presented by monitoring the gait parameters, respiration parameters and heat stress of the farmer [3, 7]. However, these mechanisms lack an easy access, lack of considering various parameters that affect the health of the farmer.

## 3.1 Major Issues with the Existing Solutions

Some of the major issues with the existing solutions are discussed below:

- For the farmer health or worker health monitoring, no unified detection is performed as various other physiological, weather and geographical parameters are not considered.

- Real time data processing is never provided.

- Farmers are required to self diagnose the situation and are required to ask for help instead of accessing the help.

- No wearable devices are proposed, thus not taking the complete advantage of the technological capabilities.

- Affordability, reachability and accessibility to the farmers has been neglected.

With this, having Agri-Aid, a wearable or a system to continuously monitor the health of the farmer can be helpful. The broad perspective of Agri-Aid is represented in Figure 3.

<figure><img src="image_5.png" /><figcaption>Fig. 3. Broad Perspective of the Proposed Agri-Aid System.</figcaption></figure>
## 4 Novel Contributions and Issues Addressed through Agri-Aid

The novel contributions and the issues that are addressed through Agri-Aid are listed below.

- For the farmer health or worker health monitoring, complete unified detection is performed.

- Precautionary methods and notifications are provided to farmers to eliminate excessive exposure to pesticide induced environments.

- Precautionary and timely notifications are provided depending upon the various features that are considered (detail discussion in Sec 6).

- Real time data analyses is performed at the user end by incorporating Edge computing thus eliminating the delay in the process of providing help.

- The response system is designed in a way to provide care for visually impaired or hearing impaired farmers.

- Along with the regular vital analyses, special analyses is performed for older working adults and for farmers with disabilities.

- A wearable is proposed which allows the farmers to educate, understand and improve their lifestyles.

## 5 Various Parameters Considered for Farmer Health in Agri-Aid

There are wide range of parameters and life style habits that have an impact on farmer health [43]. Some of the considered features are classified into three categories in Agri-Aid. They are:

### 5.1 Vital and Physiological Parameters

**Eyes and Vision Issues** With prolonged exposure to these pesticides, chronic eye irritations may be developed [52]. This in long term can diminish visual activity. For farmers who are exposed to these pesticides had a probability of 0.53 to get diagnosed with chronic eye issues [43].

**Skin Issues** Depending on the method of farming practice, skin contamination varies. Hands and forearms are highly contaminated leading to skin thickening and accentuated markings in the long term [64]. The probability of farmers who are exposed to herbicides and other harmful pesticides to get skin issues was 0.50 [43].

**Respiratory Effects** Long term exposure to harmful chemicals can cause respiratory tract issues like cough, cold, rales, tenderness and decreased chest expansion, etc.. Smoking increases the probability of having respiratory tract infections by 50% [41,52].

**Cardiovascular Issues** Blood hardening is the common issue observed in farmers who practice spraying the pesticides which causes high blood pressure [52].
**Gastrointestinal Issues** Pesticides are usually entered into the gastrointestinal tract through mouth. Prolonged intake can cause nausea, vomiting and diarrhea [52].

**Neurological Issues** Prolonged exposure to pesticides and pesticide residue environments can lead to nerve numbness [52]. Excessive intake of pesticide residue by any means can also cause motor weakness.

## 5.2 Weather and Geographical Parameters

High temperatures, heavy UV radiation, wind speeds, wind directions, location, position and angel of the sun, sudden rains, air humidity, air quality, pollen percentage are few of the many factors that can affect the health of the farmer [4].

# 6 Architectural Flow and Feature Extraction for Farmer Health in Agri-Aid

The architectural flow of the proposed Agri-Aid is represented in Figure 4.

<figure><img src="image_6.png" /><figcaption>Fig. 4. Architectural Flow of the Proposed Agri-Aid System.</figcaption></figure>

In this system, features from the mentioned parameters (Sec 5) are extracted.

## 6.1 Physiological and Vital Sensor Data Unit

The features which are extracted as sensor signal data from the vital and physiological parameters as mentioned in Sec 5.1 are discussed in this section. As heat strokes are the major reasons for deaths in farmers as discussed in Sec 1, the direct and indirect relationship with the physiological and vital signal data to heat strokes is also considered.

**Body Temperature** Prolonged exposure to sun and pesticide induced environments can cause irritations and rise in human body temperature. The temperature quickly raises to 106°F or higher within 10 to 15 minutes. In general, the normal body temperature is considered in the ranges of 97°F to 99°F while temperature higher than 100°F is considered as fever [10].
**Humidity** In extreme heat exposure, there will be no sweat discharge. Body becomes hot and dry to touch [25]. The ideal and normal range for humidity in the human body is between 30 to 50% and anything greater than 60% is considered unhealthy [51].

**Respiration Rate** Due to extreme heat, as the temperature of the body increases and causes dehydration, the nasal passage, bronchial tubes and lungs may dry out which leads to shortness of breathe. The normal and healthy respiration rate per minute is considered in the range 12 to 16 and anything lower than 12 is considered harmful [57].

**Heart Rate** For every degree rise in the human body temperature, the heart beats about 10 beats faster per minute. So when the body is experiencing heat stroke or prolonged exposure of heat, the heart rate significantly rises. A normal resting heart rate is in the range from 60 to 100 beats per minute. When working in farm, farmers should expect an average healthy range from 80 to 157 beats per minutes for ages across 35 to 60 [61].

**Loss of Consciousness (Coma)** When farmers are exposed to prolonged sun exposure and chemicals from pesticides, the physiological signals inside the human body alter leading to falls, which causes loss of consciousness. So in order to monitor the state of consciousness, the following parameters are considered along with the above discussed data. A detailed explanation of the below discussed signal data is available in [50].

- **Gait** Gait is the pattern a person walks in [55]. With the motor weakness and heat, the coordination of the human body maybe disturbed causing a lag between the movement of legs which can result in falling [44].

- **Twisting** Falls may occur when a balance loss happens when a person's body orients in a different direction than the position of the feet [63]. Accelerometer and gyroscope are used to monitor gait and twisting.

- **Blood Sugar Levels** Sugar levels below 70mg/dL increases the chances of falls by increasing the weakness and older adults may feel anxious, shaky, tiredness and may suffer strokes [21].

- **Blood Oxygen Saturation Levels** If the oxygen saturation levels are lowered due to heat, then farmers may experience breathing issues, asthma, low heart rate and unconsciousness. $SpO_2$ levels ranging from 95% to 100% are healthy normal in adults [26].

## 6.2 Weather and Environmental Signal Data Unit

The relative humidity of the surroundings is monitored. The growth and residues of pesticides and chemicals including bacteria and viruses along with the exposure to respiratory tract infections is observed high when the relative humidity is less than 40% and greater than 60% [2]. The ideal outdoor temperature is 75-85°F, the side effects from the pesticides and exposure to heat starts gradually increasing from 90-105°F and when the temperature is in the range of 105-130°F, the individuals are advised to stay indoors for protection [62]. If the location of the farm is elevated when compared to
the sea level, the sun's radiation, direct light and UV exposure increases [28]. The solar radiation and intensity is observed higher closer to equator [29]. The ideal wind speed ranges from 1.2 to 4mph while 4-6mph is considered a little risky and higher than 6mph is considered danger to spray pesticides [5].

## 6.3 Geographical Signal Data

The GPS location of the farm and farmer are considered. With this a detailed analyses on the location with respect to altitude, natural calamities, the type of crop that is usually grown, livestock type and population, nearby factories and industries is obtained. A prediction of the productivity of the farm is derived to monitor the mental health of the farmer.

## 6.4 Parameter Analysis Unit

The detailed representation of the mentioned parameters is shown in Table 1.

<table><caption>**Table 1.** Parameter Range Descriptions for Farmer Health in Agri-Aid.</caption><thead><tr><th>Wind Speed</th><th>Out Temp</th><th>HRV</th><th>Sugar Levels</th><th>SpO<sub>2</sub> Levels</th><th>Acc</th><th>RH</th><th>Time</th><th>Dust Flow</th><th>Air</th><th>Body Temp</th><th>Body Humidity</th><th>Resp Rate</th><th>Result</th></tr></thead><tbody><tr><td>1.2 - 4 mph</td><td>70-85 °F</td><td>60-90 bpm</td><td>70-80 mg/dL</td><td>&gt; 90</td><td>&lt; ± 3g on Y axes</td><td>&lt; 40 and &gt; 60</td><td>8-10AM &amp; 4-7PM</td><td>low</td><td>No</td><td>96-97°F</td><td>20-30%</td><td>12-16 bpm</td><td>No danger</td></tr><tr><td>4 - 6 mph</td><td>90-105 °F</td><td>90-95 bpm</td><td>50-70 mg/dL</td><td>90-95</td><td>&gt; ± 3g on Y axes</td><td>&lt; 40 and &gt; 60</td><td>10-12PM &amp; 2-4PM</td><td>med</td><td>No</td><td>97-98°F</td><td>30-40%</td><td>12-16 bpm</td><td>No danger, plan to take a break</td></tr><tr><td>6-9 mph</td><td>105-130 °F</td><td>95-105 bpm</td><td>30-70 mg/dL</td><td>80-90</td><td>&gt; ± 3g on Y axes</td><td>&lt; 40 and &gt; 60</td><td>12-2 PM</td><td>high</td><td>Yes</td><td>98-102°F</td><td>40-55%</td><td>10-12 bpm</td><td>Possible weakness and illness</td></tr><tr><td>&gt;9 mph</td><td>&gt;130 °F</td><td>&gt;105 bpm</td><td>&lt; 30 mg/dL or &gt; 160 mg/dL</td><td>&lt;80</td><td>&gt; ± 3g on Y axes</td><td>&lt; 40 and &gt; 60</td><td>12-2 PM</td><td>high</td><td>Yes</td><td>&gt;103 °F</td><td>&gt;60%</td><td>&lt;10 bpm</td><td>Heat stroke and illness.</td></tr></tbody></table>

From the above gathered signal data, heat index temperature and wet bulb globe temperature score are calculated. These metrics are very important as they also help in analyzing the environmental conditions of the location.
**Heat Index** The heat index is a temperature that is obtained by combining temperature and relative humidity in the shaded areas. This value may be much less when compared to the outdoor temperatures as it is predicting the temperatures in shaded areas. The formula to calculate the heat index is denoted in the Equation 1 [54].

$$HeatIndex(HI) = c1 + c2T + c3R + c4TRH + c5T^2 + c6RH^2 + c7T^2RH + c8TRH^2 + c9T^2RH^2 \quad (1)$$

where, T is the ambient temperature in °F, RH is the relative humidity and c1 through c9 are constants; c1 = -42.379, c2= -2.04901523, c3=-10.14333127, c4=-0.22475541, c5=-71.3783, c6=-0.05481717, c7=-0.00122874, c8= 0.00085282, c9=-0.00000199.

**Wet Bulb Global Temperature** WBGT is a measure of heat stress that is calculated in direct sunlight. This WBGT can be given more credibility than HI as this is calculated under direct sunlight. The formula that is used to calculate WBGT is represented in Equation 2 [32].

$$WBGT = 0.7T_w + 0.2T_g + 0.1T \quad (2)$$

here, T is the outdoor temperature in °C, Tg is the global thermometer temperature in °C and Tw is the wet bulb temperature in °C. The formula to calculate Tw is given in Equation 3.

$$Tw = T * \arctan[v1 * (RH + v2)^{(1/2)}] + \arctan(T + RH) - \arctan(RH - v3) + v4 * (RH)^{(3/2)} * \arctan(v5 * RH) - v6 \quad (3)$$

where T is the temperature in °C, RH is relative humidity and v1 through v6 are constants; v1 = 0.151977, v2= 8.313659, v3=1.676331, v4=0.00391838, v5=0.023101, v6=4.686035.

## 6.5 Farmer Health Analyses and Control Unit

Depending on the feature analyses from the above mentioned parameters, the health and wellness of the farmers is analyzed. The inhalation of pesticides, exposure to the pesticide residue environments and exposure to direct sunlight are the main scenarios that are monitored through Agri-Aid system. If the analyzed scenarios produce dangerous outcomes the call for help is automatically made. In healthy outcomes, there are continuous reminders sent to the person to consume water and seek shelter or to rest for a while. If the outcomes do not indicate heat stroke but indicate a possible fall which may lead to the state of unconsciousness, control mechanisms are provided. The system is provided with a buzzer, LED and a vibration module so that the farmer will get the message even in loud disturbing environments. Continuous monitoring of the vitals will not only help analyze and keep track of the well-being of the farmers but any abnormality in the patterns can be used to detect and predict underlying diseases.
# 7 Design Flow of the Proposed Agri-Aid for Farmer Health Analyses

The design flow of the proposed Agri-Aid system has been represented in the Figure 5.

<figure><img src="image_7.png" /><figcaption>Fig. 5. Working Flow of the Proposed Design in Agri-Aid System.</figcaption></figure>

The data from the input unit is processed and analyzed. After the required features are extracted, the featured data is compared using the parameter ranges mentioned in Table 1. The design flow of the Agri-Aid System is also represented through an Algorithm 1.

# 8 Implementation & Validation for Farmer Health Analyses in Agri-Aid

## 8.1 Signal Data Acquisition

For the geolocational of the farm, a dataset which has the latitudes and longitude information of every country in the world along with the 50 states in the United States is obtained. This data was useful to analyze the solar radiation and the air quality which also includes the wind speed and direction. Alongside, a total of 3500 data samples with respect to the climatic changes were also obtained from open source websites. For the training and testing implemented in Agri-Aid, the parameter ranges from Table 1 is also considered.

## 8.2 Machine Learning Model for Training and Testing in Agri-Aid System

For the machine learning model, a total number of 9000 samples were used. Out of these, 8000 are used for training while 1000 are used for testing the model. The model had 4 labels- Caution, Extreme Caution, Danger and Extreme Danger and 13 features as mentioned in the Sec 5. The scattered plot of few features considered in Agri-Aid are shown in Figure 6.

A classification model has been deployed in Agri-Aid system with a linear stack of layers with 13 layers in the input layer, four dense layers with 25 neurons in each and 4 nodes in the output layer. Rectified linear and sigmoid functions are used as activation functions. 501 epochs with 35 batch size and 0.01 learning rate were considered.
<figure><img src="image_8.png" /><figcaption>**Fig. 6.** Scattered plot of some of the features deployed in Agri-Aid System.</figcaption></figure>

The training epochs deployed in Agri-Aid system is as shown:
Epoch 000: Loss: 0.444, Accuracy: 83.310%
Epoch 050: Loss: 0.000, Accuracy: 87.000%
Epoch 100: Loss: 0.000, Accuracy: 91.000%
Epoch 150: Loss: 0.000, Accuracy: 93.000%
Epoch 200: Loss: 0.000, Accuracy: 97.000%
Epoch 250: Loss: 0.000, Accuracy: 97.000%
Epoch 300: Loss: 0.000, Accuracy: 98.000%
Epoch 350: Loss: 0.000, Accuracy: 100.000%
Epoch 400: Loss: 0.000, Accuracy: 100.000%

A sample of 6 predictions and their confidences are shown:
Example 0 prediction: Danger (100.0%)
Example 1 prediction: Caution (100.0%)
Example 2 prediction: Extreme Danger (100.0%)
Example 3 prediction: Extreme Danger (100.0%)
Example 4 prediction: Extreme Caution (98.4%)
Example 5 prediction: Extreme Danger (99.1%)

The loss and accuracy of the training process during the initial stages towards the end is represented in the Figure 7.

<figure><img src="image_9.png" /><figcaption>**Fig. 7.** Loss and Accuracy Plots of the Model for Farmer Health as proposed in Agri-Aid System.</figcaption></figure>
For the real time edge computing, multiple sensors along with the microprocessor is considered. The edge computing setup in Agri-Aid is represented in Figure 8.

<figure><img src="image_10.png" /><figcaption>Fig. 8. Real Time Edge Implementation of the Proposed Agri-Aid System.</figcaption></figure>

The exposure to direct sunlight during the working hours is represented using the serial plotter in Figure 9.

<figure><img src="image_11.png" /><figcaption>Fig. 9. Serial Plot of the Exposure to Heat in Farmers as Proposed in Agri-Aid System.</figcaption></figure>

A brief comparison with existing research is discussed in Table 2.

# 9 Conclusions and Future Research

## 9.1 Conclusions

Farmer health is one of the most neglected domains in smart agriculture sector. The crops that are raised by the farmers are given higher priority than the health of the farmers. For any village to be smart, all the components should be smart. People, most importantly farmers comprise most of the population in rural areas. Having prolonged exposures to pesticides, pesticide residue environments and working in the direct sunlight for majority of the day can be very harmful to their health. With the limited scope of help they get, I believe having an automated system to monitor their health can
<table><caption>**Table 2.** Comparison with the State-of-the-Art Research.</caption><thead><tr><th>Name</th><th>Prototype</th><th>Method</th><th>Parameters</th><th>Stroke Prediction?</th><th>Pesticide exposure monitoring?</th><th>Accuracy</th></tr></thead><tbody><tr><td>Jaime, et al. [30]</td><td>None</td><td>Questionnaire</td><td>location, type of crop</td><td>None</td><td>Partially, Yes</td><td>NA.</td></tr><tr><td>Baghdadi, et al. [3]</td><td>Yes</td><td>Microprocessor, placed at ankle</td><td>Gait - lifting and delivering</td><td>No</td><td>Yes</td><td>NA.</td></tr><tr><td>Burali, et al. [7]</td><td>No</td><td>Spirometry</td><td>respiration rate, cough, nasal allergies</td><td>No</td><td>Yes</td><td>NA.</td></tr><tr><td>Agri-Aid (current paper)</td><td>Yes, a wrist watch</td><td>Vital, physiological, weather, location based data monitoring</td><td>13 features</td><td>Yes</td><td>Yes</td><td>98.67%</td></tr></tbody></table>

be very helpful. The proposed Agri-Aid watch is not too complicated as anyone with moderate education will be able to handle the device. The response mechanisms are designed keeping in mind the disabilities farmers may have.

## 9.2 Future Research

Including more robust and personalized response mechanisms is one among the many other future directions of this system. Considering various multi-modal data with security and privacy aspects can also help as education, knowledge and self-care are provided to very hardworking and deserving farmers.

## References

1. Ajayi, O., A.F., Sileshi, G.: Human Health and Occupational Exposure to Pesticides among Smallholder Farmers in Cotton Zones of Côte d'Ivoire. Health 3, 631–637 (2011). https://doi.org/10.4236/health.2011.310107

2. Aliabadi, A.A., Rogak, S.N., Bartlett, K.H., Green, S.I.: Preventing Airborne Disease Transmission: Review of Methods for Ventilation Design in Health Care Facilities. Advances in Preventive Medicine 2011, 1–21 (2011)

3. Baghdadi, A., Cavuoto, L.A., Jones-Farmer, A., Rigdon, S.E., Esfahani, E.T., Megahed, F.M.: Monitoring Worker Fatigue using Wearable Devices: A Case Study to Detect Changes in Gait Parameters. Journal of Quality Technology 53(1), 47–71 (2021). https://doi.org/10.1080/00224065.2019.1640097, https://doi.org/10.1080/00224065.2019.1640097

4. Berry, H.L., Hogan, A., Owen, J., Rickwood, D., Fragar, L.: Climate Change And Farmers’ Mental Health: Risks And Responses. Asia Pac J Public Health 23(2), 119–132 (Mar 2011)

5. Blanco, M.N., Fenske, R.A., Kasner, E.J., Yost, M.G., Seto, E., Austin, E.: Real-time Particle Monitoring Of Pesticide Drift From An Axial Fan Airblast Orchard Sprayer. J Expo Sci Environ Epidemiol 29(3), 397–405 (Nov 2019). https://doi.org/10.1038/s41370-018-0090-5
6. Boedeker, W., Watts, M., Clausing, P., Marquez, E.: The Global Distribution Of Acute Unintentional Pesticide Poisoning: Estimations Based On A Systematic Review. BMC Public Health **20**(1), 1875–1894 (Dec 2020). https://doi.org/10.1186/s12889-020-09939-0

7. Buralli, R.J., Ribeiro, H., Mauad, T., Amato-Lourenço, L.F., Salge, J.M., Diaz-Quijano, F.A., Leão, R.S., Marques, R.C., Silva, D.S., Guimarães, J.R.D.: Respiratory Condition of Family Farmers Exposed to Pesticides in the State of Rio de Janeiro, Brazil. International Journal of Environmental Research and Public Health **15**(6), 1–14 (Jun 2018). https://doi.org/10.3390/ijerph15061203, https://www.mdpi.com/1660-4601/15/6/1203

8. Crissman, C.C., Cole, D.C., Carpio, F.: Pesticide Use and Farm Worker Health in Ecuadorian Potato Production. American Journal of Agricultural Economics **76**(3), 593–597 (1994), http://www.jstor.org/stable/1243670

9. Daghagh Yazd, S., Wheeler, S.A., Zuo, A.: Key Risk Factors Affecting Farmers’ Mental Health: A Systematic Review. International Journal of Environmental Research and Public Health **16**(23), 1–23 (Dec 2019). https://doi.org/10.3390/ijerph16234849, https://www.mdpi.com/1660-4601/16/23/4849

10. Del Bene, V.E.: Clinical Methods: The History, Physical, and Laboratory Examinations. 3rd edition. Boston: Butterworths (1990), https://www.ncbi.nlm.nih.gov/books/NBK331/

11. Demos, K., Sazakli, E., Jelastopulu, E., Charokopos, N., Ellul, J., Leotsinidis, M.: Does Farming Have An Effect On Health Status? A Comparison Study In West Greece. Int J Environ Res Public Health **26**(10), 776–92 (Feb 2013). https://doi.org/10.3390/ijerph10030776

12. Devis, A., Lipzig, N.P.M.V., Demuzere, M.: Should Future Wind Speed Changes Be Taken Into Account In Wind Farm Development? Environmental Research Letters **13**(6), 06–12 (may 2018). https://doi.org/10.1088/1748-9326/aabff7, https://doi.org/10.1088/1748-9326/aabff7

13. Dewey, C.: A Growing Number Of Young Americans Are Leaving Desk Jobs To Farm. Online (Nov 2017), https://www.washingtonpost.com

14. Facts, Factors: Insights on Global Wearable Technology Market Size & Share to Surpass USD 380.5 Billion by 2028, Exhibit a CAGR of 18.5 Analysis, Trends, Value, Growth, Opportunities, Segmentation, Outlook & Forecast Report by Facts & Factors. Online (Apr 2022), https://www.globenewswire.com

15. Forst, L., Lacey, S., Chen, H.Y., Jimenez, R., Bauer, S., Skinner, S., Alvarado, R., Nickels, L., Zanoni, J., Petrea, R., Conroy, L.: Effectiveness Of Community Health Workers For Promoting Use Of Safety Eyewear By Latino Farm Workers. American Journal of Industrial Medicine **46**(6), 607–613 (Nov 2004). https://doi.org/10.1002/ajim.20103, https://onlinelibrary.wiley.com/doi/abs/10.1002/ajim.20103

16. Frimpong, K., Van Etten E J, E., Oosthuzien, J., Fannam Nunfam, V.: Heat Exposure On Farmers In Northeast Ghana. International Journal of Biometeorology **61**(3), 397–406 (Mar 2017). https://doi.org/10.1007/s00484-016-1219-7

17. Galli, C.L., Marinovich, M.: Dermal Toxicity of Pesticides. In: Costa, L.G., Galli, C.L., Murphy, S.D. (eds.) Toxicology of Pesticides. pp. 147–169. Springer Berlin Heidelberg, Berlin, Heidelberg (1987)

18. Garming, H., Waibel, H.: Pesticides And Farmer Health In Nicaragua: A Willingness-to-pay Approach To Evaluation. Eur J Health Econ **10**, 125–133 (2009). https://doi.org/10.1007/s10198-008-0110-9

19. Giampieri, A., Ling-Chin, J., Ma, Z., Roskilly, T., Smallbone, A.: An Overview Of Solutions For Airborne Viral Transmission Reduction Related To HVAC Systems Including Liquid Desiccant Air-scrubbing. Elsevier (Jan 2021). https://doi.org/10.31224/osf.io/qsdfr
20. Gomez, M., Hwang, S., D. Stark, A., J. May, J., M. Hallman, E., I. Pantea, C.: An Analysis of Self-Reported Joint Pain among New York Farmers. Journal of Agricultural Safety and Health **9**(2), 143–157 (2003). https://doi.org/10.13031/2013.13004

21. Gregg, E.W., Mangione, C.M., Cauley, J.A., Thompson, T.J., Schwartz, A.V., Ensrud, K.E., Nevitt, M.C.: Diabetes and Incidence of Functional Disability in Older Women. Diabetes Care **25**(1), 61–7 (Jan 2002)

22. Hamdan, S., Ayyash, M., Almajali, S.: Edge-Computing Architectures for Internet of Things Applications: A Survey. Sensors (Basel) **20**(22), 6411–6463 (Nov 2020)

23. Hamilton, D.J.: Protective Clothing for Spray Operatior in Tropics. In: GREENHALGH, R., DRESCHER, N. (eds.) Pesticide Chemistry: Human Welfare and the Environment, pp. 373–374. Pergamon (1983). https://doi.org/10.1016/B978-0-08-029225-0.50065-5, https://www.sciencedirect.com/science/article/pii/B9780080292250500655

24. Harrison, T.R., Braunwald, E.: Harrison's Principles of Internal Medicine, Eleventh Edition. McGraw-Hill (1988)

25. Hifumi, T., Kondo, Y., Shimizu, K., Miyake, Y.: Heat Stroke. J Intensive Care **6**(30), 1–8 (May 2018). https://doi.org/10.1186/s40560-018-0298-4

26. Hjalmarsen, A., Hykkerud, D.L.: Severe Nocturnal Hypoxaemia in Geriatric Inpatients. Age and Ageing **37**(5), 526–529 (05 2008)

27. Hoyos, L.S., Carvajal, S., Solano, L., Rodriguez, J., Orozco, L., López, Y., Au, W.W.: Cytoigenetic Monitoring of Farmers Exposed to Pesticides in Colombia. Environmental Health Perspectives **104**(3), 535–538 (1996). https://doi.org/10.1289/ehp.96104s3535

28. Iqbal, M.: Chapter 1 - Sun-Earth Astronomical Relationships. In: Iqbal, M. (ed.) An Introduction to Solar Radiation, pp. 1–28. Academic Press (1983). https://doi.org/10.1016/B978-0-12-373750-2.50006-9, https://www.sciencedirect.com/science/article/pii/B9780123737502500069

29. Iqbal, M.: Chapter 6 - Solar Spectral Radiation Under Cloudless Skies. In: Iqbal, M. (ed.) An Introduction to Solar Radiation, pp. 107–168. Academic Press (1983). https://doi.org/10.1016/B978-0-12-373750-2.50011-2, https://www.sciencedirect.com/science/article/pii/B9780123737502500112

30. Jaime Caro, D.L., Catipay, J.M.H., Benedicto, M.J.Y., Shirabe, K.O., Garcia, M.T., Tee, M.L., Aguilar, E.A.: Monitoring Application for Farmer Pesticide Use. In: 10th International Conference on Information, Intelligence, Systems and Applications (IISA). pp. 1–3 (2019). https://doi.org/10.1109/IISA.2019.8900734

31. Janhong, K., Lohachit, C., Butraporn, P., Pansuwan, P.: Health Promotion Program For The Safe Use Of Pesticides In Thai Farmers. Southeast Asian J Trop Med Public Health. **36**(4), 258–61 (Jan 2005)

32. Kong, Q., Huber M.: Explicit Calculations of Wet-Bulb Globe Temperature Compared With Approximations and Why It Matters for Labor Productivity. Earth's Future **10**(3), 23–34 (2022). https://doi.org/10.1029/2021EF002334, https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/2021EF002334

33. Lowder, S.K., Skoet, J., Raney, T.: The Number, Size, and Distribution of Farms, Smallholder Farms, and Family Farms Worldwide. World Development **87**, 16–29 (Nov 2016). https://doi.org/10.1016/j.worlddev.2015.10.041, https://www.sciencedirect.com/science/article/pii/S0305750X15002703

34. Lydia, M.S., Aulia, I., Mahyuni, E.L., Hizriadi, A.: Automatic Risk Detection System for Farmer's Health Monitoring Based on Behavior of Pesticide Use. Journal of Physics: Conference Series **1235**, 1–11 (Sep 2019). https://doi.org/10.1088/1742-6596/1235/1/012113

35. Malmberg, A., Simkin, S., Hawton, K.: Suicide in Farmers. British Journal of Psychiatry **175**(2), 103–105 (Jan 1999). https://doi.org/10.1192/bjp.175.2.103
36. Mancini, F., Bruggen, A.H.C.V., Jiggins, J.L.S., Ambatipudi, A.C., Murphy, H.: Acute Pesticide Poisoning among Female and Male Cotton Growers in India. International Journal of Occupational and Environmental Health **11**(3), 221–232 (2005). https://doi.org/10.1179/107735205800246064, https://www.tandfonline.com/doi/abs/10.1179/107735205800246064, pMID: 16130962

37. Michael, P.: How Fast is Technology Advancing? [Growth Charts & Statistics] 2022. Online (Jun 2022), https://mediapeanut.com/how-fast-is-technology-growing-statistics-facts/#:~:text=AdvancesinTechhavegrown,growthpatternyearoveryear.

38. Ministry, N.F.W.: Health & Safety. Online (Oct 2020), https://nfwm.org/farm-workers/farm-worker-issues/health-safety/

39. Mohanty, S.P., Choppali, U., Kougianos, E.: Everything You Wanted to Know about Smart Cities: The Internet of Things is the Backbone. IEEE Consumer Electronics Magazine **5**(3), 60–70 (2016). https://doi.org/10.1109/MCE.2016.2556879

40. Myers, J.R., Layne, L.A., Marsh, S.M.: Injuries And Fatalities To U.S. Farmers And Farm Workers 55 Years And Older. American Journal of Industrial Medicine **52**(3), 185–194 (2009). https://doi.org/https://doi.org/10.1002/ajim.20661, https://onlinelibrary.wiley.com/doi/abs/10.1002/ajim.20661

41. Nemery, B.: The Lungs As A Target For The Toxicity Of Some Organophosphorus Compounds. In: Costa, L.G., Galli, C.L., Murphy, S.D. (eds.) Toxicology of Pesticides. pp. 297–303. Springer Berlin Heidelberg, Berlin, Heidelberg (1987)

42. Nižetić, S., Šolić, P., López Artaza, D., Patrono, L.: Internet Of Things (Iot): Opportunities, Issues And Challenges Towards A Smart And Sustainable Future. Journal of cleaner production **274**(122877), 1–33 (Jul 2020)

43. Pingali, P.L., Marquez, C.B., Palis, F.G., Rola, A.C.: The Impact of Pesticides on Farmer Health: A Medical and Economic Analysis in the Philippines, vol. 7, pp. 343–360. Springer Netherlands, Dordrecht (1995)

44. Pirker, W., Katzenschlager, R.: Gait Disorders In Adults And The Elderly : A Clinical Guide. Wien Klin Wochenschr **129**(4), 81–95 (2016)

45. Prado-Lu, D., Leilanie, J.: Pesticide Exposure, Risk Factors And Health Problems Among Cutflower Farmers: A Cross Sectional Study. Journal of Occupational Medicine and Toxicology **2**(1), 9–18 (2007). https://doi.org/10.1186/1745-6673-2-9

46. Rachakonda, L., Sharma, A., Mohanty, S.P., Kougianos, E.: Good-Eye: A Combined Computer-Vision and Physiological-Sensor Based Device for Full-Proof Prediction and Detection of Fall of Adults. vol. 574, pp. 273–288 (Mar 2019)

47. Rachakonda, L., Bapatla, A.K., Mohanty, S.P., Kougianos, E.: SaYoPillow: Blockchain-Integrated Privacy-Assured IoMT Framework for Stress Management Considering Sleeping Habits. IEEE Transactions on Consumer Electronics **67**(1), 20–29 (2021). https://doi.org/10.1109/TCE.2020.3043683

48. Rachakonda, L., Bapatla, A.K., Mohanty, S.P., Kougianos, E.: BACTmobile: A Smart Blood Alcohol Concentration Tracking Mechanism for Smart Vehicles in Healthcare CPS Framework. SN Computer Science **3**(3), 236–259 (2022). https://doi.org/10.1007/s42979-022-01142-9

49. Rachakonda, L., Mohanty, S.P., Kougianos, E.: iLog: An Intelligent Device for Automatic Food Intake Monitoring and Stress Detection in the IoMT. IEEE Transactions on Consumer Electronics **66**(2), 115–124 (May 2020). https://doi.org/10.1109/TCE.2020.2976006

50. Rachakonda, L., Mohanty, S.P., Kougianos, E.: cStick: A Calm Stick for Fall Prediction, Detection and Control in the IoMT Framework. In: Camarinha-Matos, L.M., Heijenk, G., Katkoori, S., Strous, L. (eds.) Internet of Things. Technology and Applications. pp. 129–145. Springer International Publishing, Cham (2022)
51. Raymond, C., Matthews, T., Horton, R.M.: The Emergence Of Heat And Humidity Too Severe For Human Tolerance. Science Advances 6(19), eaaw1838 (2020). https://doi.org/10.1126/sciadv.aaw1838, https://www.science.org/doi/abs/10.1126/sciadv.aaw1838

52. Reigart, J.R., Roberts, J.R.: Recognition and Management of Pesticide Poisonings: 6th Edition. CreateSpace Independent Publishing Platform (Aug 2014)

53. Rueter, K., Jones, A.P., Siafarikas, A., Chivers, P., Prescott, S.L., Palmer, D.J.: The Influence of Sunlight Exposure and Sun Protecting Behaviours on Allergic Outcomes in Early Childhood. International Journal of Environmental Research and Public Health 18(10), 1-15 (2021). https://doi.org/10.3390/ijerph18105429, https://www.mdpi.com/1660-4601/18/10/5429

54. Schoen, C.: A New Empirical Model of the Temperature-Humidity Index. Journal of Applied Meteorology 44(9), 1413-1420 (2005). https://doi.org/10.1175/JAM2285.1, https://journals.ametsoc.org/view/journals/apme/44/9/jam2285.1.xml

55. Sharif, S.I., Al-Harbi, A.B., Al-Shihabi, A.M., Al-Daour, D.S., Sharif, R.S.: Falls In The Elderly: Assessment Of Prevalence And Risk Factors. Pharmacy Practice (Granada) 16(3) (2018)

56. Sosan, M.B., Akingbohungbe, A.E.: Occupational Insecticide Exposure and Perception of Safety Measures among Cacao Farmers in Southwestern Nigeria. Archives of Environmental & Occupational Health 64(3), 185-193 (Jul 2009). https://doi.org/10.1080/19338240903241077, https://doi.org/10.1080/19338240903241077, pMID: 19864221

57. Sprung, C.L., Portocarrero, C.J., Fernaine, A.V., Weinberg, P.F.: The Metabolic and Respiratory Alterations of Heat Stroke. Archives of Internal Medicine 140(5), 665-669 (05 1980). https://doi.org/10.1001/archinte.1980.00330170081028, https://doi.org/10.1001/archinte.1980.00330170081028

58. USDA: Agriculture And Its Related Industries Provide 10.3 Percent Of U.S. Employment. Online (Oct 2021), https://www.ers.usda.gov/data-products chart-gallery/gallerychart-detail/?chartId=58282

59. Villarejo, D.: The Health of U.S. Hired Farm Workers. Annual Review of Public Health 24(1), 175-193 (2003). https://doi.org/10.1146/annurev.publhealth.24.100901.140901, https://doi.org/10.1146/annurev.publhealth.24.100901.140901, pMID: 12359914

60. Voaklander, D.C., Kelly, K.D., Rowe, B.H., Schopflocher, D.P., Svenson, L., Yiannakoulias, N., Pickett, W.: Pain, Medication, And Injury In Older Farmers. American Journal of Industrial Medicine 49(5), 374-382 (Apr 2006). https://doi.org/https://doi.org/10.1002/ajim.20292, https://onlinelibrary.wiley.com/doi/abs/10.1002/ajim.20292

61. Wilson, T.E., Crandall C., G.: Effect Of Thermal Stress On Cardiac Function. Exerc Sport Sci Rev 39(1), 12-17 (Jan 2011). https://doi.org/10.1097/JES.0b013e318201eed6

62. Zanobetti, A., O'Neill, M.S.: Longer-Term Outdoor Temperatures and Health Effects: A Review. Curr Epidemiol Rep 5(2), 125-139 (Jun 2018). https://doi.org/10.1007/s40471-018-0150-3

63. Zecevic, A.A., Salmoni, A.W., Speechley, M., Vandervoort, A.A.: Defining a Fall and Reasons for Falling: Comparisons Among the Views of Seniors, Health Care Providers, and the Research Literature. The Gerontologist 46(3), 367-376 (06 2006). https://doi.org/10.1093/geront/46.3.367, https://doi.org/10.1093/geront/46.3.367

64. Zweig, G., Gao, R., Witt, J.M., Popendorf, W., Bogen, K.: Dermal Exposure To Carbaryl By Strawberry Harvesters. Journal of Agricultural and Food Chemistry 32(6), 1232-1236 (Nov 1984). https://doi.org/doi: 10.1021/jf00126a006
**Algorithm 1 Working Principle for Farmer Health Diagnosis in Agri-Aid.**

1: Declare and initialize the input variables *w* for wind speed, *ot* for outdoor temperature, *rh* for relative humidity, *h* for HRV, *sl* for sugar levels, *s* for SpO₂, *t* for time, *bt* for body temperature, *bh* for body humidity and *rr* for respiration rate to zero.

2: Declare and initialize the output variables *b* for buzzer, *v* for vibrator and *l* for location to zero.

3: Declare string variables result of diagnosis *r*, *d* for dust flow, *aq* for air quality (VOC), *m* for measures of control and *a* for accelerometer to zero.

4: **while** *h* ≠ 0 **do**

5: Start monitoring and gathering physiological, weather and geographical signal data which are *w*, *ot*, *rh*, *t*, *bt*, *bh*, *rr*, *a*, *aq*, *d*, *h*, *sl*, *s* and *l*.

6: Declare and initialize *hi* for heat index and *tw* for wet bulb temperature and *wbgt* for wet bulb globe temperature and set them to zero.

7: Based on the Equations 2, 3 and 1, calculate *tw*, *wbgt* and *hi* respectively.

8: **if** 1.2>*w*<4 ∧ 70>*ot*<85 ∧ 60>*h*<90 ∧ 70>*sl*<80 ∧ *s* > 90 ∧ *a* < 'Threshold' ∧ 40<*rh* and *rh*>60 ∧ 8>*t*<10 ∧ 16>*h*<19 ∧ 96>*bt*<97 ∧ 20>*bh*<30 ∧ 12>*rr*<16 ∧ *d* = 'low' ∧ *aq* = 'no' ∨ 80>*hi*<90 ∨ 80>*wbgt*<85 **then**

9: *r* = 'Working in direct sunlight can stress your body after 45 minutes. Take minimum 15 minute breaks each hour if continued working.'.

10: $b = 1 \land v = 1 \land l = 1$.

11: **else if** 4>*w*<6 ∧ 90>*ot*<105 ∧ 90>*h*<95 ∧ 50>*sl*<70 ∧ 90>*s*>95 ∧ *a* > 'Threshold' ∧ 40<*rh* and *rh*>60 ∧ 10>*t*<12 ∧ 14>*h*<16 ∧ 97>*bt*<98 ∧ 30>*bh*<40 ∧ 12>*rr*<16 ∧ *d* = 'med' ∧ *aq* = 'no' ∨ 90>*hi*<103 ∨ 85>*wbgt*<88 **then**

12: *r* = 'Take extreme cautions. Person may experience stress after 30 minutes. Take minimum 30 minutes of break each hour if continued working'.

13: $m = 'Time for a water break!'$.

14: $b = 2 \land v = 2 \land l = 1$.

15: **else if** 6>*w*<9 ∧ 105>*ot*<130 ∧ 95>*h*<105 ∧ 30>*sl*<70 ∧ 80>*s*>90 ∧ *a* > 'Threshold' ∧ 40<*rh* and *rh*>60 ∧ 12>*t*<14 ∧ 98>*bt*<102 ∧ 40>*bh*<55 ∧ 10>*rr*<12 ∧ *d* = 'high' ∧ *aq* = 'yes' ∨ 103>*hi*<124 ∨ 88>*wbgt*<90 **then**

16: *r* = 'Possible heat stroke. Person may experience body weakness within 20 minutes. Take minimum 40 minutes of break each hour if continued working'.

17: $m = 'Help is alerted. Possible heat stroke!'$.

18: $b = 3 \land v = 3 \land l = 1$.

19: **else if** *w*>9 ∧ *ot*>130 ∧ *h*>105 ∧ *sl*<30 ∨ *sl*>160 ∧ *s*<80 ∧ *a* > 'Threshold' ∧ 40<*rh* and *rh*>60 ∧ 12>*t*<14 ∧ *bt*>103 ∧ *bh*>60 ∧ *rr*<10 ∧ *d* = 'high' ∧ *aq* = 'yes' ∨ *hi*>125 ∨ *wbgt*>90 **then**

20: *r* = 'Definite heat stroke. Person may lose consciousness within 15 minutes. Seek shelter immediately'.

21: $m = 'Help is on the way. Go indoors and sit'$.

22: $b = 3 \land v = 3 \land l = 1$.

23: **else**

24: *r* = 'Happy farming!'.

25: $m = 'Happy farming!'$.

26: **end if**

27: **end while**

28: Repeat the steps from 4 through 27.