MediGuard: Telegram-Based Smart Medicarion Reminder System with Multi-Stage Alert Mechanism and Voice Notification
Main Article Content
Abstract
Medication non-adherence among elderly patients remains a critical healthcare challenge, with 40-60% failing to take prescribed medications at correct times. Existing reminder systems often require proprietary mobile applications, subscription-based IoT platforms, or costly GSM infrastructure, creating barriers to widespread adoption. This paper presents MediGuard, a cost-effective medication reminder system leveraging Telegram Bot API for universal accessibility without custom application requirements. The system employs a dual-microcontroller architecture: ESP32 manages WiFi communication, schedule storage via SPIFFS, and implements a novel four-stage progressive alert mechanism (LED activation, waiting period, blinking pattern, final timeout), while Arduino Nano handles integrated health monitoring through MAX30102 pulse oximeter, DHT11 environmental sensor, and MQ-2 smoke detector. A key innovation is the incorporation of ISD1820 voice module enabling personalized audio reminders superior to conventional buzzer alerts. User interaction occurs entirely through familiar Telegram commands (/add, /list, /clear), eliminating installation barriers. System testing demonstrates <3-second schedule accuracy, 50ms voice trigger latency, and reliable operation over extended periods. This approach achieves significant cost reduction compared to GSM-based solutions while maintaining scalability and user-friendliness suitable for elderly populations.
Article Details
Section
How to Cite
References
[1] A. Mathew, J. Paul, K. Nair S., U. S. Sachin, S. Koncherry, and C. V. Raghu, “Design and Implementation of a Smart Medicine Dispenser,” in TENCON 2019 - 2019 IEEE Region 10 Conference (TENCON), IEEE, Oct. 2019, pp. 1059–1064. doi: 10.1109/TENCON.2019.8929483.
[2] D. Z. Oktavia, E. N. Fawwaz, A. H. Al-Azhari, and Djuniadi, “Implementasi Alat Penyiram Tanaman Bonsai Otomatis Menggunakan Sensor Kelembapan Tanah Dan Arduino,” JURITEK: Jurnal Ilmiah Teknik Mesin, Elektro dan Komputer, vol. 5, pp. 401–409, Nov. 2025, doi: 10.51903/juritek.v5i3.4821.
[3] F. Kleinsinger, “The Unmet Challenge of Medication Nonadherence,” Perm J, vol. 22, no. 3, Sep. 2018, doi: 10.7812/TPP/18-033.
[4] BPS..go.id, “Statistik Penduduk Lanjut Usia 2023,” Badan Pusat Statistik, Jakarta, 2023. Accessed: Jan. 14, 2026. [Online]. Available: https://www.bps.go.id/id/publication/2023/12/07/1fbd77dd0cc6e71dbb635c06/statistik-penduduk-lanjut-usia-2023.html
[5] N. Masnoon, S. Shakib, L. Kalisch-Ellett, and G. E. Caughey, “What is polypharmacy? A systematic review of definitions,” BMC Geriatr, vol. 17, no. 1, p. 230, Dec. 2017, doi: 10.1186/s12877-017-0621-2.
[6] K. Santo, S. S. Richtering, J. Chalmers, A. Thiagalingam, C. K. Chow, and J. Redfern, “Mobile Phone Apps to Improve Medication Adherence: A Systematic Stepwise Process to Identify High-Quality Apps,” JMIR Mhealth Uhealth, vol. 4, no. 4, p. e132, Dec. 2016, doi: 10.2196/mhealth.6742.
[7] A. Muhammad Taqiy Almy, Y. Nesta Andyanto, and A. Hamid Al-azhari, “Implementasi Smart Energy Meter Untuk Monitoring Konsumsi Listrik Rumah Tangga.”
[8] M. F. Soambaton, D. Djuniadi, and A. H. Al-Azhari, “MONITORING KOLAM IKAN NILA BERBASIS IoT DENGAN SENSOR AMONIA, SUHU, KETINGGIAN, DAN PH,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 12, no. 2, Apr. 2024, doi: 10.23960/jitet.v12i2.4021.
[9] L. Gualtieri, M. Rigby, D. Wang, and E. Mann, “Medication Management Strategies to Support Medication Adherence: Interview Study With Older Adults,” Interact J Med Res, vol. 13, p. e53513, Aug. 2024, doi: 10.2196/53513.
[10] S. Syafrudin et al., “Removal Efficiency of Chemical Oxygen Demand on Greywater using Multi Soil Layering (MSL) Technology,” Jurnal Presipitasi : Media Komunikasi dan Pengembangan Teknik Lingkungan, vol. 18, no. 2, pp. 299–305, Jul. 2021, doi: 10.14710/presipitasi.v18i2.299-305.
[11] F. Serpush, M. B. Menhaj, B. Masoumi, and B. Karasfi, “Wearable Sensor-Based Human Activity Recognition in the Smart Healthcare System,” Comput Intell Neurosci, vol. 2022, pp. 1–31, Feb. 2022, doi: 10.1155/2022/1391906.
[12] J. Mulyono and E. Apriaskar, “Simulasi Alarm Kebakaran Menggunakan Sensor Mq-2, Falme Sensor Berbasis Mikrokontroler Arduino,” vol. 14, no. 1, pp. 16–25, 2021, [Online]. Available: http://journal.stekom.ac.id/index.php/elkom
[13] N. Aprilia Damayanti, A. Hamid Al-Azhari, and T. Elektro, “Otomatisasi Pemantauan dan Penyiraman Lidah Mertua dengan Sensor LDR dan Kelembaban Tanah,” 2024.
[14] M. S. Patel, D. A. Asch, and K. G. Volpp, “Wearable Devices as Facilitators, Not Drivers, of Health Behavior Change,” JAMA, vol. 313, no. 5, p. 459, Feb. 2015, doi: 10.1001/jama.2014.14781.
[15] I. G. M. N. Desnanjaya, A. A. G. B. Ariana, I. M. A. Nugraha, I. K. A. G. Wiguna, and I. M. U. Sumaharja, “Room Monitoring Uses ESP-12E Based DHT22 and BH1750 Sensors,” Journal of Robotics and Control (JRC), vol. 3, no. 2, pp. 205–211, Feb. 2022, doi: 10.18196/jrc.v3i2.11023.
[16] A. Al-Fuqaha, M. Guizani, M. Mohammadi, M. Aledhari, and M. Ayyash, “Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications,” IEEE Communications Surveys & Tutorials, vol. 17, no. 4, pp. 2347–2376, 2015, doi: 10.1109/COMST.2015.2444095.
[17] A. E. Ramadhan, D. Djuniadi, and E. Apriaskar, “Sistem Pengaturan Pulse Width Modulation Motor Pada Robot Pembawa Makanan atau Minuman Menggunakan Joystick,” TELKA - Telekomunikasi Elektronika Komputasi dan Kontrol, vol. 7, no. 2, pp. 134–143, Nov. 2021, doi: 10.15575/telka.v7n2.134-143.
[18] N. Cameron, “ESP32 Microcontroller,” 2023, pp. 1–54. doi: 10.1007/978-1-4842-9376-8_1.
[19] A. Nistico, D. Markudova, M. Trevisan, M. Meo, and G. Carofiglio, “A comparative study of RTC applications,” in 2020 IEEE International Symposium on Multimedia (ISM), IEEE, Dec. 2020, pp. 1–8. doi: 10.1109/ISM.2020.00007.
[20] M. Ciampi, A. Coronato, M. Naeem, and S. Silvestri, “An intelligent environment for preventing medication errors in home treatment,” Expert Syst Appl, vol. 193, p. 116434, May 2022, doi: 10.1016/j.eswa.2021.116434.
[21] J. Pandini, M. A. Bin Zulkipli, and Fenoria Putri, “Concept Development of Automatic Sliding Door and Light Using NodeMCU Sensor,” International Journal of Mechanics, Energy Engineering and Applied Science (IJMEAS), vol. 2, no. 1, pp. 20–25, Jan. 2024, doi: 10.53893/ijmeas.v2i1.236.
[22] S. Sumardiono, A. R. Saputra, S. Solikin, J. Shadiq, R. Apriani, and D. I. Putri, “Prototype of Library Noise Detection Tool with IoTbased ESP32 and Blynk,” in 2024 Ninth International Conference on Informatics and Computing (ICIC), IEEE, Oct. 2024, pp. 1–6. doi: 10.1109/ICIC64337.2024.10956742.
[23] A. C. Gheorghe and C. I. Stoica, “Wireless Weather Station Using Arduino Mega and Arduino Nano,” The Scientific Bulletin of Electrical Engineering Faculty, vol. 21, no. 1, pp. 35–38, Apr. 2021, doi: 10.2478/sbeef-2021-0008.
[24] M. Muthmainnah and D. B. Tabriawan, “Prototipe Alat Ukur Detak Jantung Menggunakan Sensor MAX30102 Berbasis Internet of Things (IoT) ESP8266 dan Blynk,” JISKA (Jurnal Informatika Sunan Kalijaga), vol. 7, no. 3, pp. 163–176, Sep. 2022, doi: 10.14421/jiska.2022.7.3.163-176.
[25] G. M. Debele and X. Qian, “Automatic Room Temperature Control System Using Arduino UNO R3 and DHT11 Sensor,” in 2020 17th International Computer Conference on Wavelet Active Media Technology and Information Processing (ICCWAMTIP), IEEE, Dec. 2020, pp. 428–432. doi: 10.1109/ICCWAMTIP51612.2020.9317307.
[26] L. M. Easterline, A. A.-Z. R. Putri, P. S. Atmaja, A. L. Dewi, and A. Prasetyo, “Smart Air Monitoring with IoT-based MQ-2, MQ-7, MQ-8, and MQ-135 Sensors using NodeMCU ESP32,” Procedia Comput Sci, vol. 245, pp. 815–824, 2024, doi: 10.1016/j.procs.2024.10.308.