Hand hygiene is a crucial measure for maintaining health and preventing the spread of germs through direct contact. Manual soap dispensers require users to touch specific parts of the container, thereby increasing the risk of cross-contamination. This study aims to design and build an automatic hand soap dispenser using an Arduino Uno and an ultrasonic sensor to minimize direct contact with the dispenser and enhance convenience and hygiene during use. The research employs the Hardware Development Life Cycle (HDLC) methodology, encompassing planning, requirements analysis, system and device design, development, testing, and implementation and maintenance. An Arduino Uno serves as the microcontroller, processing data from the ultrasonic sensor and controlling a relay connected to a DC pump. The ultrasonic sensor detects the presence of a hand within a preset range, prompting the Arduino Uno to signal the relay to activate the pump and automatically dispense the soap. Test results demonstrate that the device successfully detects hands via the ultrasonic sensor and automatically activates the pump according to the programmed logic. The designed device helps reduce the need for direct contact with the soap dispenser while offering a more practical and hygienic soap-dispensing process. Consequently, this automatic hand soap dispenser serves as a simple solution to support the practice of hand hygiene in daily life.
Copyrights © 2026