An IoT-Based Intravenous Fluid Measuring Device Using ESP32 and Ultrasonic Sensor
DOI:
https://doi.org/10.51699/cajmns.v6i4.2972Keywords:
Intravenous Therapy, IoT, ESP32, Ultrasonic Sensor, Ubidots Platform, Fluid Monitoring, Smart HealthcareAbstract
Intravenous (IV) therapy plays a critical role in modern healthcare by enabling the direct delivery of fluids and medications into the bloodstream. Accurate monitoring of IV fluid levels is essential to ensure patient safety and prevent under- or over-dosing. This research presents the design and implementation of an IoT-based IV fluid measuring device that integrates an ultrasonic sensor, ESP32 microcontroller, LCD display, and relay module, connected to the Ubidots IoT platform. The system enables real-time monitoring of fluid levels, remote data visualization, and automated control of the infusion process. The experimental results demonstrate the effectiveness of the proposed device in accurately measuring fluid levels and transmitting the data to a cloud platform for continuous observation. This work provides a cost-effective, reliable, and scalable solution for enhancing patient safety in healthcare settings.
References
Ubidots MicroESP8266 Library. Available at: https://github.com/ubidots/ubidots-esp8266 (Accessed June 18, 2023).
Tim Eckel, “NewPing Library.” Available at: https://bitbucket.org/teckel12/arduino-new-ping/wiki/Home (Accessed June 18, 2023).
Espressif Systems, “ESP32 – Getting Started.” Available at: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/ (Accessed June 18, 2023).
Ubidots, “Internet of Things Platform.” Available at: https://ubidots.com/ (Accessed June 18, 2023).
SparkFun, “SR04 Ultrasonic Sensor Datasheet.” Available at: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (Accessed June 18, 2023).
Espressif Systems, “ESP32 WiFi Library.” Available at: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html (Accessed June 18, 2023).
Random Nerd Tutorials, “ESP32 Pinout Reference Guide.” Available at: https://randomnerdtutorials.com/esp32-pinout-reference-gpios/ (Accessed June 18, 2023).
Arduino, “Introduction to Internet of Things (IoT).” Available at: https://www.arduino.cc/en/Guide/IOT (Accessed June 18, 2023).
Li, X., Zhang, J., & Chen, H. (2021). IoT-based smart healthcare monitoring system using cloud computing and wearable sensors. IEEE Internet of Things Journal, 8(12), 9603–9611.
Patel, S., Park, H., Bonato, P., Chan, L., & Rodgers, M. (2012). A review of wearable sensors and systems with application in rehabilitation. Journal of NeuroEngineering and Rehabilitation, 9(1), 1–17.
Rahman, M., Hossain, M., & Rahman, A. (2020). An IoT-enabled smart intravenous infusion monitoring system. International Journal of Computer Applications, 176(26), 25–30.
Islam, S. R., Kwak, D., Kabir, M. H., Hossain, M., & Kwak, K. S. (2015). The Internet of Things for health care: a comprehensive survey. IEEE Access, 3, 678–708.
Kumar, N., & Mallick, P. (2018). The Internet of Things: Insights into the building blocks, component interactions, and architecture layers. Procedia Computer Science, 132, 109–117.
Albahri, A. S., et al. (2021). Role of Internet of Things (IoT) in the healthcare sector: a review. Technology in Health Care, 29(1), 1–20.
Mahmud, R., Koch, F. L., & Buyya, R. (2018). Cloud-fog interoperability in IoT-enabled healthcare solutions. Proceedings of the 19th International Conference on Distributed Computing and Networking (ICDCN).
Singh, J., & Kapoor, D. (2017). Creating IoT ecosystem for healthcare. Procedia Computer Science, 132, 1049–1056.
Darwish, A., Hassanien, A. E., Elhoseny, M., Sangaiah, A. K., & Muhammad, K. (2019). The impact of the Internet of Things on healthcare: A comprehensive survey. IEEE Access, 7, 100879–100902.
Rodrigues, J. J. P. C., et al. (2018). IoT-enabled healthcare systems: review, architecture, and security issues. Future Generation Computer Systems, 78, 791–806.
World Health Organization (WHO). (2020). Global strategy on digital health 2020–2025. Available at: https://www.who.int/publications/i/item/9789240020924


