# Smart IoMT Framework for Supporting UAV Systems with AI
## 4 Results  
The proposed system displays the monitored signals through two different means, firstly, with the help of the OLED display that is directly inbuilt into the monitoring system, as well as with the help of the web application that is being developed which allows for accessing the data remotely using Wi-Fi technology. The webpage for the proposed system is developed using HTML and CSS (Cascading Style Sheets). This system takes the data from the sensors, namely MAX30102 and DHT11, using the \"Get\" command, to securely  
Figure 5: Schema of the suggested protocol. pass the sensor data through the NodeMCU, and finally to the webpage for getting it displayed. The developed model was tested on a real-time basis among the group members of the project, and the results from the gathered data were analyzed, which was successfully shown on the OLED display and the designed webpage. The microprocessor is used to calibrate the readings of the body temperature sensor and pulse rate sensor. The complete prototype of the health monitoring system with all the sensors and devices, where the output values of the sensors are computed and displayed on the OLED SSD1306 display, can be visualized by the patient or a nurse taking care of the patient as well. Another aspect that was taken into consideration while developing the proposed model was security, for which password hash encryption protocol is used to save the system from any third-party data breaching agents. The user needs to log in with the right credentials of his registered profile on the webpage; otherwise, the user does not have access to see any data available on the webpage. Hence, this adds a vulnerable security system to this developed device. The page in Figure 6 can only be accessed after a sign-in is completed using the credentials provided by the healthcare organization. The real-time heart rate, SpO\({}_{2}\) percentage, and body temperature of the patient as displayed in the \"Your Health\" webpage are shown in Figure 7. In addition, the respective plots of the displayed parameters that have been interfaced from the sensors are depicted by real-time plots as shown in Figure 8. The sensor readings for the same are also sent subsequently to the database server. Figure 6: User interface of the “Your Health” webpage. Figure 7: Vitals monitoring page in the website. Figure 9 displays the systolic and diastolic pressures of the patient and the data for the same are obtained from 24 LC16 IC, which is easily integrated with an automatic blood pressure machine to keep track of the patient at regular intervals and the measured pressure values are sent to the website after each measurement. Figures 10 and 11 help the doctor or the healthcare professional to better understand the patient's condition by analyzing the external conditions and through virtual inspection of the patient's live feed that is streamed using the Raspberry Pi's camera; the Pi's camera is also used for autonomous traversal for the UAV besides providing video feedback of the patient. This feature provides an edge for healthcare professionals to analyze if the patient is feeling uneasiness or if certain illnesses are triggered due to the influence of one's surrounding conditions. Figure 12 shows how the website alerts the healthcare professionals when the vitals cross the set thresholds during monitoring. The working pseudocode of the prescribed work is presented as follows:  
* Step 1: Identify the patient. * Step 2: Collect the vitals SPO\({}_{2}\), BP, Temp, and Heart Rate. * Step 3: Calculate the detection function for the respective signals \(w(t),x(t),y(t),z(t)\). * Step 4: Perform AND operation \(w(t)*x(t)*y(t)*z(t)\). Figure 8: Data visualization on the website. Figure 9: Systolic and diastolic blood pressure displayed on the website. * Step 5: Predict the trigger function \(k(t)\). * Step 6: Proceed to the next step in case the threshold is crossed \(T(t)\) ELSE to STEP 2. * Step 7: UAV transmits the alert signal \(a(t)\). * Step 8: END.