In the wake of increasing hygiene awareness, automation in liquid dispensing systems has gained significant relevance. This paper presents a low-cost, efficient, and compact solution for a smart touchless dispenser using the AT89C51 microcontroller. The system is designed to activate and deactivate a DC motor based on simple button-based user input, mimicking gesture control without the need for expensive sensors or complex interfacing modules. The use of push buttons as gesture proxies simplifies the hardware design and makes the system accessible for educational and prototype purposes. The motor-driven mechanism facilitates the dispensing of liquid such as soap or sanitizer in a contactless manner. The primary objective is to demonstrate how basic embedded system components can be utilized to implement practical automation with minimal resources. The proposed system ensures easy integration, low power consumption, and real-time response, making it ideal for public hygiene systems and small-scale embedded projects.
Introduction
The paper presents a low-cost, simplified smart touchless dispenser prototype using the AT89C51 microcontroller (8051 family). Instead of expensive infrared or ultrasonic sensors, it uses two tactile push buttons to simulate start and stop gestures, directly controlling a DC motor without additional driver circuitry. This minimalistic design offers an economical and educational platform for beginners in embedded systems.
The system architecture includes input switches connected to the microcontroller's Port 1, the microcontroller unit itself, a DC motor on Port 2, and a regulated 5V power supply. The device was simulated successfully using Proteus Design Suite and programmed in Embedded C via Keil µVision, showing quick and reliable motor control with no delay or debounce issues in simulation.
Key benefits of the design include simplicity, reliability, user-friendly control, and minimal hardware requirements. The paper also discusses practical upgrades such as replacing push buttons with IR proximity sensors for true touchless operation, swapping the DC motor for a water pump or servo motor for liquid dispensing, and adding transistor switches and voltage regulators for safe, stable hardware operation.
The project validates the AT89C51’s capabilities for automating liquid dispensing tasks efficiently and serves as a strong educational example and prototype for future development of fully automated, hygienic dispensers.
Conclusion
Global emphasis on hygiene and automation has accelerated demand for contact free systems—especially in health sensitive settings where traditional dispensers require touch and risk germ transmission. Although modern touchless solutions often rely on costly infrared or ultrasonic sensors and motor driver ICs, these components are impractical for low budget applications.
This paper presents a simplified smart touchless dispenser prototype based on the AT89C51 microcontroller (8051 family). Instead of complex sensors, it uses two tactile push buttons to mimic user gestures (start and stop) and drives a DC motor directly, without external driver circuitry. The minimalist approach yields an economical, educational platform for students and beginners in embedded systems.
References
[1] M. A. Mazidi, R. D. McKinlay, and J. G. Mazidi, The 8051 Microcontroller and Embedded Systems: Using Assembly and C, 2nd ed. Upper Saddle River, NJ, USA: Pearson/Prentice Hall, 2006.
[2] A. V. Deshmukh, Microcontrollers: Theory and Applications, New Delhi, India: Tata McGraw-Hill, 2005.
[3] B. Ram, Fundamentals of Microprocessors and Microcontrollers, 6th ed., New Delhi, India: Dhanpat Rai Publications, 2010.
[4] K. J. Ayala and D. V. Gadre, The 8051 Microcontroller, 3rd ed. Boston, MA, USA: Cengage Learning, 2010.
[5] S. K. Mandal, Microprocessor and Microcontroller Architecture, Programming and Interfacing Using 8085, 8086 and 8051, New Delhi, India: McGraw-Hill Education, 2017.
[6] D. D. Gajski, F. Vahid, S. Narayan, and J. Gong, Specification and Design of Embedded Systems, Upper Saddle River, NJ, USA: Prentice Hall, 1994.
[7] H. Hong and W. Y. Chung, “Design and implementation of a smart sensor-based automatic hand sanitizer system,” IEEE Sensors Journal, vol. 21, no. 12, pp. 13592–13601, Jun. 2021.
[8] A. N. Sloss, D. Symes, and C. Wright, ARM System Developer’s Guide: Designing and Optimizing System Software, San Francisco, CA, USA: Morgan Kaufmann, 2004.
[9] M. Monjur, “Design and Implementation of a Touchless Sanitizer Dispenser Using IR Sensors,” in Proc. Int. Conf. Electrical and Computer Engineering (ICECE), Dhaka, Bangladesh, 2021, pp. 346–349.
[10] Intel Corporation, MCS-51 Microcontroller Family User Manual, 1994. [Online].
[11] Atmel Corporation, AT89C51 Datasheet, 2009. [Online].
[12] Keil, µVision IDE for 8051 Microcontrollers – User Guide, Keil Tools, 2022. [Online].
[13] Labcenter Electronics Ltd., Proteus Design Suite – Simulation and PCB Design Software, 2023. [Online].
[14] T. S. Rappaport, Wireless Communications: Principles and Practice, 2nd ed. Upper Saddle River, NJ, USA: Prentice Hall, 2002.
[15] Texas Instruments, Design Guide for IR-Based Obstacle Detection, Texas Instruments Application Note, 2021. [Online].
[16] M. Hasan and R. N. Khan, “Microcontroller-Based Automation of Hand Sanitizer Dispensers,” International Journal of Embedded Systems and Applications, vol. 10, no. 2, pp. 1–8, Apr. 2022.
[17] IEEE Std 315-1975, IEEE Standard Graphic Symbols for Electrical and Electronics Diagrams, IEEE, 1975.