Design and Implementation of an End-to-End IoT System for Smart Healthcare

Main Article Content

Shahad Ali Ridha
Mohammed Issam Younis

Abstract

In recent years, there has been exponential growth in the Internet of Things (IoT) in various sectors, especially healthcare. The traditional healthcare sector has faced several challenges, such as poor health services, crowding and queuing at medical centers, and manual searches for or missing patient records; a smart health system is needed to overcome these challenges. This study presents the design and implementation of end-to-end IoT architecture, which is built by the integration of various open-source technologies. The pulse care system is implemented using Node.js and React.js, which offer features such as electronic health records (EHR), smart appointments, prescription documentation, and health monitoring. Additionally, various users (admin, patient, doctor, and pharmacist) communicate using a user-friendly graphical interface. In terms of a wearable device, it allows visualization of all the data generated by the sensors in real time (heart rate, body temperature, and blood oxygen). The ESP32 is used as a microcontroller that communicates via its built-in Wi-Fi with the MQTT Mosquitto broker. Standard IoT protocols, Message Queuing Telemetry Transport (MQTT) and Hypertext Transfer Protocol (HTTP), are used. The broker's performance is evaluated in terms of average latency at various QoS levels and with the increase in the number of concurrent users. The results of the experiment demonstrate how important it is to choose the appropriate QoS level based on the requirements of the application. Furthermore, the proposed system's data rate is roughly 3.07 kb/s, which is considered low and suitable for sending small data via any wireless method.

Article Details

Section

Articles

How to Cite

“Design and Implementation of an End-to-End IoT System for Smart Healthcare” (2025) Journal of Engineering, 31(10), pp. 109–129. doi:10.31026/j.eng.2025.10.06.

References

Abdul Ameer, H.R. and Hasan, H.M., 2020. Enhanced the MQTT protocol by a smart gateway. Iraqi Journal of Computers, Communications, Control and Systems Engineering, 20(1), pp. 53-67. https://doi.org/10.33103/uot.ijccce.20.1.6.

Alattar, A.E., and Mohsen, S.A, 2023. Survey on smart wearable devices for healthcare applications. Wireless Personal Communications. 132, pp. 775–783. https://doi.org/10.1007/s11277-023-10639-2.

Al Brashdi, Z.B.S., Hussain, S.M., Yosof, K.M., Hussain, S.A., and Singh, A.V., 2018, August. IoT based health monitoring system for critical patients and communication through think speak cloud platform. In 2018 IEEE 7th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), pp. 652-658. IEEE. https://doi.org/10.1109/ICRITO.2018.8748751.

Al-Fuqaha, A., Guizani, M., Mohammadi, M., Aledhari, M. and Ayyash, M., 2015. Internet of things: A survey on enabling technologies, protocols, and applications. IEEE Communications Surveys and Tutorials, 17(4), pp.2347-2376. https://doi.org/10.1109/COMST.2015.2444095.

Aggarwal, S., 2018. Modern web development using ReactJS. International Journal of Recent Research Aspects, 5(1), pp. 133-137.

Analog, 2009. Pulse oximeter and heart-rate sensor IC for wearable health.

Ansari, D.B., Rehman, A.U., and Ali, R., 2018. Internet of things (IoT) protocols: A brief exploration of mqtt and coap. International Journal of Computer Applications, 179(27), pp. 9-14. http://dx.doi.org/10.5120/ijca2018916438.

Babiuch, M. and FoltÝnek, P., 2021. May. Creating a Mobile Application with the ESP32 Azure IoT Development Board Using a Cloud Platform. In 2021, IEEE 22nd International Carpathian Control Conference (ICCC), pp. 1-4. IEEE. https://doi.org/10.1109/ICCC51557.2021.9454607.

Bae, D.H., Jo, I., Choi, Y.A., Hwang, J.Y., Cho, S., Lee, D.G., and Jeong, J., 2018. June. 2B-SSD: The case for dual, byte-and block-addressable solid-state drives. In 2018 ACM/IEEE 45th Annual International Symposium on Computer Architecture (ISCA), pp. 425-438. IEEE. https://doi.org/10.1109/ISCA.2018.00043.

Carducci, C.G.C., Monti, A., Schraven, M.H., Schumacher, M., and Mueller, D., 2019. June. Enabling ESP32-based IoT applications in building automation systems. In 2019 II Workshop on Metrology for Industry 4.0 and IoT (MetroInd4.0&IoT), pp. 306-311. IEEE. https://doi.org/10.1109/METROI4.2019.8792852.

Circuit Basics. Basics of the I2C communication protocol.‏ https://www.circuitbasics.com/basics-of-the-i2c-communication-protocol/.

Colantonio J., Test Guid, 2022. 16 Top Load Testing Software Tools for 2024 (Open-Source Guide). Available at: https://testguild.com/load-testing-tools/.

Daud, M.A. and Suhaili, W.S.H., 2017. Internet of Things (IoT) with CoAP and HTTP protocol: A study on which protocol suits IoT in terms of performance. In Computational Intelligence in Information Systems: Proceedings of the Computational Intelligence in Information Systems Conference (CIIS 2016), pp. 165-174. https://doi.org/10.1007/978-3-319-48517-1_15.

Droma, F., Bulyaba, H., Ssebwato, J., Nakawooya, K., Musah, K.C., Ongoro, D.A., Suuna, C. and Ndege, R., 2009. An automated system for patient record management: a case study of St. Francis Hospital Nsambya. Bachelor’s thesis, Department of Information Technology, Faculty of Computing and Information Technology, Makerere University, Uganda.

Durán-Vega, L.A., Santana-Mancilla, P.C., Buenrostro-Mariscal, R., Contreras-Castillo, J., Anido-Rifón, L.E., García-Ruiz, M.A., Montesinos-López, O.A., and Estrada-González, F., 2019. An IoT system for remote health monitoring in elderly adults through a wearable device and mobile application. Geriatrics, 4(2), P. 34. https://doi.org/10.3390/geriatrics4020034.

Eclipse Mosquitto, 2021. Available at: https://mosquitto.org/.

ESP32 Basics. Available at: https://lastminuteengineers.com/esp32-pinout-reference/

Espressif Systems, 2021. ESP32 Wi-Fi & Bluetooth MCU. Available at: https://www.espressif.com/en/products/socs/esp32.

Elliott, M. and Coventry, A., 2012. Critical care: the eight vital signs of patient monitoring. British Journal of Nursing, 21(10), pp. 621-625. https://doi.org/10.12968/bjon.2012.21.10.621.

F. Alshehri and G. Muhammad, 2021. A comprehensive survey of the internet of things (IoT) and AI-based smart healthcare, IEEE Access, 9, pp. 3660–3678. https://doi.org/10.1109/ACCESS.2020.3047960.

Gade, P., 2021. IoT-based pulse oximeter using ESP8266. Available at SSRN 3918115. https://dx.doi.org/10.2139/ssrn.3918115.

Hegde, R., Ranjana, S., and Divya, C.D., 2021, April. Survey on the development of smart healthcare monitoring systems in IoT environment. In 2021, IEEE 5th International Conference on Computing Methodologies and Communication (ICCMC), pp. 395-399. IEEE. https://doi.org/10.1109/ICCMC51019.2021.9418405.

Islam, M.M., Rahaman, A. and Islam, M.R., 2020. Development of smart healthcare monitoring system in an IoT environment. SN computer science, 1, pp. 1-11. https://doi.org/10.1007/s42979-020-00195-y.

Jamal, B., Alsaedi, M., and Parandkar, P., 2023. Portable smart emergency system using Internet of Things (IOT). Mesopotamian Journal of Big Data, pp. 75-80. https://doi.org/10.58496/MJBD/2023/011.

Joseph, B., Gadzama, W.A., and Agu, E.O., 2020. Design and implementation of a secure web-based medical record management system: A case study of Federal University WUKARI (FUW) CLINIC. International Journal of Computer Applications, 177(41), pp. 27-33. https://doi.org/10.5120/ijca2020919908.

Kadhim, D.J. and Hamad, O. A., 2023. Improving IoT applications using a proposed routing protocol. Journal of Engineering, 20(11), pp. 50–62. https://doi.org/10.31026/j.eng.2014.11.04.

Khan, M.A., Din, I.U., Kim, B.S., and Almogren, A., 2023. Visualization of a remote patient monitoring system based on the Internet of Medical Things. Sustainability, 15(10), P. 8120. https://doi.org/10.3390/su15108120.

Kumar, P. and Kumar, A., 2022. Health monitoring system using a microcontroller. International Journal for Research in Applied Science and Engineering Technology, 10(6), pp. 607–612. https://doi.org/10.22214/ijraset.2022.43560.

Liang, L., Zhu, L., Shang, W., Feng, D., and Xiao, Z., 2017, May. Express supervision system based on NodeJS and MongoDB. In 2017, IEEE/ACIS 16th International Conference on Computer and Information Science (ICIS), pp. 607-612. IEEE. https://doi.org/10.1109/ICIS.2017.7960064.

Li, C., Wang, J., Wang, S., and Zhang, Y., 2024. A review of IoT applications in healthcare. Neurocomputing, P. 127017. https://doi.org/10.1016/j.neucom.2023.127017.

Mahmood, B.M.R., Younis, M.I., and Ali, H.M., 2023. Construction of a general-purpose infrastructure for RFID–based applications. Journal of Engineering, 19(11), pp. 1425–1441. https://doi.org/10.31026/j.eng.2013.11.06.

Makeability Lab. Introduction to ESP32. Available at: https://makeabilitylab.github.io/physcomp/esp32/esp32.html#esp32-pin-list.

Melexis, 2018. Digital Non-Contact Infrared Thermometer (MLX90614). Available at: https://www.melexis.com/en/product/MLX90614/Digital-Plug-Play-Infrared-Thermometer-TO-Can

Mohammed, B.G. and Hasan, D.S., 2023. Smart healthcare monitoring system using IoT. Int. J. Interact. Mob. Technol., 17(1), pp. 141-152. https://doi.org/10.3991/ijim.v17i01.34675.

Mohammed, H.J., 2024. IoT-based low-cost smart health monitoring system using Raspberry Pi Pico W and Blynk application. Journal of Engineering, 30(07), pp. 90-108. https://doi.org/10.31026/j.eng.2024.07.06.

MQTT, 2023. MQTT - The Standard for IoT Messaging. Available at: https://mqtt.org/.

MQTT Specification, 2021. Available at: https://mqtt.org/mqtt-specification/.

MDN web document- HTTP authentication, 2024. Available at: https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Authentication.

Mishra, B. and Kertesz, A., 2020. The use of MQTT in M2M and IoT systems: A survey. IEEE Access, 8, pp. 201071-201086. https://doi.org/10.1109/ACCESS.2020.3035849.

Mishra, B., Mishra, B. and Kertesz, A., 2021. Stress-testing MQTT brokers: A comparative analysis of performance measurements. Energies, 14(18), P. 5817. https://doi.org/10.3390/en14185817.

Mostafa, B.S., Miry, A.H., and Salman, T., 2020. Healthcare Monitoring and analytics system based Internet of Things. Iraqi Journal for Electrical and Electronic Engineering, pp. 30-36. https://doi.org/10.37917/ijeee.sceeer.3rd.5.

Mudaliar, M.D. and Sivakumar, N., 2020. IoT IoT-based real-time energy monitoring system using Raspberry Pi. Internet of Things, 12, P. 100292. https://doi.org/10.1016/j.iot.2020.100292.

Naik, N., 2017, October. Choice of effective messaging protocols for IoT systems: MQTT, CoAP, AMQP, and HTTP. In 2017, IEEE International Systems Engineering Symposium (ISSE), pp. 1-7. IEEE. https://doi.org/10.1109/SysEng.2017.8088251.

Node.js, 2019. Available at: https://nodejs.org/en/.

Qadir, G.A. and Hussan, B.K., 2023. An authentication and access control model for healthcare-based cloud services. Journal of Engineering, 29(3), pp. 15–26. https://doi.org/10.31026/j.eng.2023.03.02.

Ruman, M.R., Barua, A., Rahman, W., Jahan, K.R., Roni, M.J., and Rahman, M.F., 2020, February. IoT-based emergency health monitoring system. In 2020 IEEE International Conference on Industry 4.0 Technology (I4Tech), pp. 159-162. IEEE. https://doi.org/10.1109/I4Tech48345.2020.9102647.

Sadeq, A.S., Hassan, R., Al-rawi, S.S., Jubair, A.M., and Aman, A.H.M., 2019, September. A QoS approach for Internet of Things (IoT) environment using MQTT protocol. In 2019, IEEE International Conference on Cybersecurity (ICoCSec), pp. 59-63. IEEE. https://doi.org/10.1109/ICoCSec47621.2019.8971097.

Santoso, D. and Setiaji, F.D., 2015. Non-contact portable infrared thermometer for rapid influenza screening. 2015 International Conference on Automation, Cognitive Science, Optics, Micro Electro-Mechanical System, and Information Technology (ICACOMIT), pp. 18-23. https://doi.org/10.1109/ICACOMIT.2015.7440147.

Sangeethalakshmi, K., Preethi, U., and Pavithra, S., 2023. Patient health monitoring system using IoT. Materials Today: Proceedings, 80, pp. 2228-2231. https://doi.org/10.1016/j.matpr.2021.06.188.

S. Balaji, K. Nathani, and R. Santhakumar, 2019. IoT technology, applications and challenges: A contemporary survey, Wirel. Pers. Commun., vol. 108, no. 1, pp. 363–388. https://doi.org/10.1007/s11277-019-06407-w.

Singh, H.K., Verma, S., Pal, S., and Pandey, K., 2019, August. A step towards Home Automation using IOT. In 2019, IEEE Twelfth International Conference on Contemporary Computing (IC3), pp. 1-5. IEEE. https://doi.org/10.1109/IC3.2019.8844945.

Tiwari, V., Upadhyay, S., Goswami, J.K., and Agrawal, S., 2023, April. Analytical evaluation of web performance testing tools: Apache JMeter and SoapUI. In 2023, IEEE 12th International Conference on Communication Systems and Network Technologies (CSNT), pp. 519-523. IEEE. https://doi.org/10.1109/CSNT57126.2023.10134699.

Tsvetanov, F.A. and Pandurski, M.N., 2022. Selection of protocols for integration of sensory data networks in cloud structures. Int. J. Online Biomed. Eng., 18(9), pp. 29-40.

Turnip, A., Kusumandari, D.E., Simbolon, A.I., and Duhita, N., 2020. Bioactive peptide effect on brain activity identified by 2D brain mapping. Open Agriculture, 5(1), pp. 879-887. https://doi.org/10.1515/opag-2020-0085.

Younis, M.I., Abdulkareem, H.F. and Ali, H.M., 2015. Construction of a graduation certificate issuing system based on the digital signature technique. Journal of Engineering, 21(6), pp. 15–36. https://doi.org/10.31026/j.eng.2015.06.02.

Valsalan, P., Baomar, T.A.B. and Baabood, A.H.O., 2020. IoT-based health monitoring system. Journal of Critical Reviews, 7(4), pp.739-743. https://dx.doi.org/10.31838/jcr.07.04.137.

Similar Articles

You may also start an advanced similarity search for this article.