Development of Pill Detection System for Automatic Medicine Dispenser

Main Article Content

Sumet Heamawatanachai
Akkarawin Krongchai
sakara tunsophon


This research is the study and development of a highly accurate pill detection system for an automatic medicine dispenser. We chose eight different types of pills, which varied in both shape and size for our experiment. The study determined various parameters that affected the systems performance, which included the friction coefficient between the pill and the developed system, the appropriate inclination of the slope for pill dispensing, the test of the infrared sensor signal, and the overall efficiency evaluation of the developed system. The results showed that the friction coefficients between the pill samples and the developed system, were approximately 0.47 to 0.70, and the most suitable inclination angle for dispensing the pills, was 35 degrees. The combination of the slope plate with a vibrating motor exhibited the most efficient way for dispensing the pills. The infrared sensor signal detection level was set at 50% of the normal signal amplitude, to achieve a high accuracy detection system. The overall efficiency evaluation of the pill detection system, demonstrated a 100% accuracy of all the tested samples. In conclusion, our developed pill detection system demonstrated high accuracy results, which can be further implemented for automated pill dispensers.


Download data is not yet available.

Article Details

How to Cite
Heamawatanachai, S., Krongchai, A., & tunsophon, sakara. (2021). Development of Pill Detection System for Automatic Medicine Dispenser. Naresuan University Engineering Journal, 16(1), 14–27.
Research Paper


Ahadani, M. A., De Silva, L. C., Petra, I., Hameed, M. F. A., & Wong, T. S. (2012). Low Cost Robotic Medicine Dispenser. Procedia Engineering, 41, 202-209.

Al-Mallahi, A. A., & Kataoka, T. (2013). Estimation of massflow of seeds using fibre sensor and multiple linear regression modelling. Computers and Electronics in Agriculture, 99,116-122.

Besharati, B., Navid, H., Karimi, H., Behfar, H., & Eskandari, I. (2019). Development of an infrared seed-sensing system to estimate flow rates based on physical properties of seeds. Computers and Electronics in Agriculture, 162, 874-881.

Boquete, L., Rodriguez-Ascariz, J. M., Artacho, I., Cantos-Frontela, J., & Peixoto, N. (2010). Dynamically programmable electronic pill dispenser system. Journal of Medical Systems, 43(3), 357-366.

Brahma, D., Marak, M., & Wahlang, J. (2012). Rational use of drugs and irrational drug combinations. The Internet Journal of Pharmacology, 10(1), 14081.

Bumrungrad International Hospital. (2012, January 26). Aged without disease.

Che, Y., Wei, L., Liu, X., Li, Z., & Wang, F. (2017). Design and experiment of seeding quality infrared monitoring system for no-tillage seeder. Nongye Gongcheng Xuebao/Transactions of the Chinese Society of Agricultural Engineering, 33, 11-16.

Foundation of Thai Gerontology Research and Development Institute. (2019, November 7). Situation of The Thai Elderly 2018.

Karimi, H., Navid, H., Besharati, B., Behfar, H., & Eskandari, I. (2017). A practical approach to comparative design of non-contact sensing techniques for seed flow rate detection. Computers and Electronics in Agriculture, 142,165-172.

Liu, W., Hu, J., Zhao, X., Pan, H., Ali Lakhiar, I., & Wang, W. (2019). Development and experimental analysis of an intelligent sensor for monitoring seed flow rate based on a seed flow reconstruction technique. Computers and Electronics in Agriculture, 164, 104899.

Muenpa, R., & Phuripunvanich, N. (2016, December 28). Rational Drug Use: RDU.

Thongkham, T., Deesopa, P., & Phattananan, P. (2019). The Model of Vibrating Screen [Bachelor’s Degree], King Mongkut’s University of Technology North Bangkok.

Wannaprapa, M., & Phichetjamroen. V. (2001). Automatic tablet dispensing system. Proceedings of the 39th Kasetsart University Annual Conference: Engineering (pp. 200-208). Kasetsart University.