Automatic Water Dispenser Based on Ultrasonic Sensor and Arduino Uno to Improve Hygiene

Authors

  • Rara Viona Angelia Universitas Muhammadiyah Palembang, Indonesia
  • Zulhipni Reno Saputra Elsi Universitas Muhammadiyah Palembang, Indonesia
  • Kemas Muhammad Wahyu Hidayat Universitas Muhammadiyah Palembang, Indonesia

DOI:

https://doi.org/10.47709/ijmdsa.v5i4.9737

Keywords:

automatic dispenser, ultrasonic sensor, Arduino Uno, touchless system, hygiene

Abstract

Automatic water dispensing technology can reduce direct contact with dispenser surfaces and support better control of water use. This study aimed to design and develop an automatic water dispenser using an HC-SR04 ultrasonic sensor and Arduino Uno to improve hygiene during the water dispensing process. The research used a design and development approach consisting of problem identification, literature study, hardware and software design, prototype assembly, system integration, testing, and evaluation. The HC-SR04 sensor was used to detect the presence and distance of a glass, while the Arduino Uno processed the sensor readings and controlled a water pump through a relay. System testing was conducted at several glass detection distances and through repeated measurements of the volume of water dispensed. The results showed that the sensor detected a glass at distances of 3, 5, 7, and 10 cm, while an object positioned beyond 12 cm was not detected. Five water volume tests produced 190, 195, 200, 192, and 198 mL, with an average volume of 195 mL per filling cycle. Functional testing also showed that the pump turned on when a glass was detected and turned off when the glass was removed. These findings indicate that the prototype operated according to the designed system and enabled water dispensing without direct contact. In practical terms, the system can support more hygienic dispenser use and reduce unnecessary water flow by activating the pump only when a glass is detected. Further development can focus on water-level monitoring, IoT integration, enclosure improvement, and longer testing.

References

Bolimera, R. (n.d.). DATA SCIENCE AND IOT MANAGEMENT SYSTEM.

Collins, S. P., Storrow, A., Liu, D., Jenkins, C. A., Miller, K. F., Kampe, C., & Butler, J. (2021). DISPENSER OTOMATIS MENGGUNAKAN ARDUINO SENSOR GELOMBANG ULTRASONIK DENGAN INTERNET OF THINGS. 4(1), 167–186.

Hutabarat, P. H. (2026). Design and Implementation of an Arduino Uno Based Smart Automatic Water Dispenser Prototype Jurnal Pepadun. 7(1), 59–66. https://doi.org/10.23960/pepadun.v7i3.332

Juwita, P., Annisa, D., Mrp, S., Engineering, I., & Asahan, U. (2026). ( Jurnal Teknologi Komputer dan Sistem Informasi ) Available online at http://jurnal.goretanpena.com/index.php/teknisi IMPLEMENTATION OF LDR SENSOR AND ARDUINO UNO IN ENERGY ( Jurnal Teknologi Komputer dan Sistem Informasi ) Available online at http://jur. 6(1), 63–68.

Kristyawan, Y., & Kholil, Z. F. (2021). Automatic Water Dispenser Based on Hand Gesture Detection Using Arduino. Inform?: Jurnal Ilmiah Bidang Teknologi Informasi Dan Komunikasi, 6(2), 115–122. https://doi.org/10.25139/inform.v6i2.4000

Lembang, N., & Safua, M. (2023). Rancang Bangun Dispenser Otomatis Berbasis Arduino Uno. Politeknik Negeri Bosowa Journal Of Electrical Engginering (Joule), 4(1), 9–15.

Lesmana, K. (2025). Prototipe Penggunaan Motor Servo Untuk Dispenser Otomatis Berbasis Arduino Dan Sensor Hc-Sr04. Jurnal Informatika Dan Teknik Elektro Terapan, 13(2), 16–22. https://doi.org/10.23960/jitet.v13i2.6063

M, V. P., Ramya, A. K., & Nr, V. P. (2023). International Journal of Research Publication and Reviews Automatic Gate Operation Software Using Arduino UNO. 4(5), 1054–1059.

Marwan Hakim. (2023). Dispenser Otomatis Menggunakan Sensor Ultrasonik Berbasis Arduino Uno. TEKNIMEDIA: Teknologi Informasi Dan Multimedia, 4(1), 112–116. https://doi.org/10.46764/teknimedia.v4i1.103

Mazzotta, M., Salaris, S., Pascale, M. R., Girolamini, L., Ciani, G., & Cristino, S. (2021). Study of long-term effectiveness of water safety plan applied to microfiltered water dispensers to improve water quality. Water (Switzerland), 13(20). https://doi.org/10.3390/w13202905

Mirmahdi, E., & Shirazi, O. G. (2021). Installation of Suitable Sensors for Object Detection and Height Control on Combine Harvester. International Journal of Mechanical Engineering, 8(5), 12–19. https://doi.org/10.14445/23488360/ijme-v8i5p103

Ramadhani, D. A., Hidayat, E. P., & Nugraha, A. T. (2022). Pemanfaatan Sensor Ultrasonik sebagai Purwarupa Pengukur Ketinggian Air pada Tangki Pembuangan Air Kotor di Kapal. Elektriese: Jurnal Sains Dan Teknologi Elektro, 12(02), 109–116. https://doi.org/10.47709/elektriese.v12i02.1871

Sistem, J., Banani, E., Meok, N. J., & Ray, F. F. G. (2026). Rancang Bangun Sistem Dispenser Penakar Volume Air Otomatis Berbasis Mikrokontroler Arduino Uno. 17(1), 83–93.

Soleh, M., & Subiyanta, E. (2021). Arduino Uno Based Automatic Water Faucet with Ultrasonic Sensor Keran Air Otomatis Berbasis Arduino Uno dengan Sensor Ultrasonic. 3(02), 24–27.

Wahyudi, Revassy, R. N., & Suparno. (2025). Perancangan Alat Automatic Water Refill Menggunakan Sensor Ultrasonic Hc-Sr04 Berbasis Arduino Uno. Jurnal Teletronic, 3(1), 14–21.

Downloads

Published

2026-10-16

How to Cite

Angelia, R. V., Elsi, Z. R. S., & Hidayat, K. M. W. (2026). Automatic Water Dispenser Based on Ultrasonic Sensor and Arduino Uno to Improve Hygiene. International Journal of Multidisciplinary Sciences and Arts, 5(4), 845–851. https://doi.org/10.47709/ijmdsa.v5i4.9737

Citation Tracker

Cited by: 0 documents

No citing documents were found.

Source: OpenAlex  · Updated 2026-11-08 14:25 UTC