Design and Implementation of an IoT-Based Smart Chicken Feeder System Using an ESP32 Microcontroller
Abstract
Manual chicken feeding still faces various obstacles, such as inaccurate scheduling, dependence on the presence of farmers, and less than optimal monitoring of feed availability, which can affect the efficiency of farm management. This study aims to design and implement an Internet of Things (IoT)-based Smart Chicken Feeder system using an ESP32 microcontroller to automate chicken feeding and monitor feed availability in real-time. The research method uses a prototype approach that includes needs analysis, hardware and software design, implementation, and system testing. The hardware consists of an ESP32, a servo motor as an actuator to open and close the feed chute, an HC-SR04 ultrasonic sensor to detect feed height, and an IoT platform as a monitoring medium. Tests were conducted on the timeliness of feeding, sensor detection accuracy, actuator response, and internet communication stability. The test results show that the system is able to carry out automatic feeding according to schedule, detect feed conditions properly, and transmit monitoring information in real-time. The developed system can improve feed use efficiency, reduce errors due to human factors, and support the implementation of the smart farming concept in chicken farms.
Downloads
References
A. Mulyana, Internet of things. repositori.telkomuniversity.ac.id, 2024. [Online]. Available: https://repositori.telkomuniversity.ac.id/home/catalog/id/231261/slug/internet-of-things.html
D. Kasoni, L. Liesnaningsih, R. Taufiq, and M. S. Anwar, “Prototipe Smart Fish Feeder Berbasis Automated System Untuk Meningkatkan Budidaya Ikan Lele,” J. Inform., 2023, [Online]. Available: https://jurnal.umt.ac.id/index.php/jika/id/article/view/7131
L. W. K. Lim, “Implementation of artificial intelligence in aquaculture and fisheries: deep learning, machine vision, big data, internet of things, robots and beyond,” J. Comput. Cogn. …, 2024, [Online]. Available: https://ojs.bonviewpress.com/index.php/JCCE/article/view/803
M. Dayoub, S. Shnaigat, R. A. Tarawneh, A. N. Al-Yacoub, and ..., “Enhancing animal production through smart agriculture: possibilities, hurdles, resolutions, and advantages,” Ruminants, 2024, [Online]. Available: https://www.mdpi.com/2673-933X/4/1/3
A. Syahfitri, “Internet of Things (IoT), Sejarah, Teknologi, dan Penerapannya,” Uranus J. Ilm. Tek. Elektro, Sains dan …, 2025, [Online]. Available: https://www.academia.edu/download/125750981/Internet_of_Things_IoT_.pdf
M. Octaria and M. I. P. Nasution, “Peluang dan Tantangan Penerapan Internet of Things (IoT) dalam Sistem Informasi Manajemen,” Switch J. Sains dan Teknol. …, 2024, [Online]. Available: https://journal.aptii.or.id/index.php/Switch/article/view/86
H. S. F. Fadhlullah, A. Widodo, K. A. Rahman, and ..., “Pengaruh Internet of Things (IoT) dalam Industri,” J. Gembira …, 2024, [Online]. Available: https://gembirapkm.my.id/index.php/jurnal/article/view/696
I. F. Ramadhan, M. I. Bustami, and ..., “Perancangan Smart System Ternak Ayam berbasis IoT mengunakan Arduino UNO,” J. Inform. Dan …, 2023, [Online]. Available: https://ejournal.unama.ac.id/index.php/jakakom/article/view/814
S. Salman, R. Muslim, L. D. Samsumar, and ..., “Smart automatic feed: Sistem pakan otomatis pada kandang peternak ayam,” J. Publ. Tek. …, 2023, [Online]. Available: https://scholar.archive.org/work/bqc3qhbyv5bong6pu5r3ui3qoi/access/wayback/https://ejurnal.stie-trianandra.ac.id/index.php/jupti/article/download/2870/2250
A. Ridhoi and K. Setyadjit, “Sistem Monitoring Suhu Dan Kelembaban Pada Budidaya Jamur Tiram Menggunakan ESP32,” Nucl. J., 2023, [Online]. Available: http://ejournal.undar.or.id/index.php/Nucleus/article/view/618
P. P. Wisesha, N. R. S. Muda, F. Kholid, and ..., “Sistem Monitoring Suhu Pada Kegiatan Lapangan Personel TNI-AD Berbasis Internet of Things (IoT) Menggunakan Bot Telegram Secara Real Time,” JTEIN J. Tek. …, 2024, [Online]. Available: http://jtein.ppj.unp.ac.id/index.php/JTEIN/article/view/601
L. O. Sari, M. F. E. Saputra, and E. Safrianti, “Sistem Monitoring Arus Listrik Berbasis Internet of Things (IoT) pada Solar Panel di Laboratorium Pembangkit Listrik Tenaga Surya (PLTS) UIN Suska Riau: Electric …,” MALCOM Indones. J. …, 2024, [Online]. Available: https://www.journal.irpi.or.id/index.php/malcom/article/view/1033
D. Darso, M. H. Al Hudry, F. Fathoni, and ..., “Perancangan Sistem Pendeteksi dan Monitoring Ketinggian Air Berbasis IoT Menggunakan NodeMCU ESP8266,” … J. Ilm. Tek. …, 2023, [Online]. Available: https://journal.literasisains.id/index.php/storage/article/view/2307
N. Cameron, “ESP32 microcontroller,” … Appl. Commun. Protoc. with ESP32 …, 2023, doi: 10.1007/978-1-4842-9376-8_1.
S. A. Arrahma and R. Mukhaiyar, “Pengujian Esp32-Cam Berbasis Mikrokontroler ESP32,” JTEIN J. Tek. Elektro …, 2023, [Online]. Available: http://jtein.ppj.unp.ac.id/index.php/JTEIN/article/view/347
N. Cameron, “ESP32 formats and communication,” Apress eBooks. https//doi. org/10.1007/978-1-4842 …, 2023, doi: 10.1007/978-1-4842-9376-8.
A. Zulfiqar, “Hands-on ESP32 with Arduino IDE,” Birmingham Packt Publ., 2024, doi: 10.0000/9781837637713-001.
I. Hidayat and T. H. H. Samosir, Pemanfaatan Mikrokontroler dalam Sistem Embedded Modern. books.google.com, 2025. [Online]. Available: https://books.google.com/books?hl=en%5C&lr=%5C&id=0MunEQAAQBAJ%5C&oi=fnd%5C&pg=PA1%5C&dq=mikrokontroler%5C&ots=3a4Bvy0Vhd%5C&sig=Djxjjc3xwa-_RXhAWocVSA9cD0E
D. F. Feriyanto, V. M. Tandayu, Y. Afrida, and ..., “IDENTIFIKASI DAN PEMILIHAN MIKROKONTROLER UNTUK PROJECT INTERNET OF THINGS (IOT),” Aisyah J. …, 2025, [Online]. Available: https://jti.aisyahuniversity.ac.id/index.php/AJIEE/article/view/656
M. J. Espinosa-Gavira, A. Agüera-Pérez, and ..., “Characterization and performance evaluation of ESP32 for real-time synchronized sensor networks,” Procedia Comput. …, 2024, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1877050924011207
M. W. Syamsudin, U. Latifa, and ..., “Perancangan kontrol aktuator berbasis nodemcu esp32 pada smart agriculture,” Aisyah J. …, 2023, [Online]. Available: https://pdfs.semanticscholar.org/3e55/06fbf2af8e524abe8b1e82bef32b2e1b1f7d.pdf
N. W. Al-Hafiz and H. Harianja, “Design of an Internet of Things-Based automatic cat feeding control device (IoT),” J. Mandiri IT, vol. 13, no. 1, pp. 161–169, 2024.
A. Holzinger, I. Fister, H. P. Kaul, and S. Asseng, “Human-centered AI in smart farming: toward agriculture 5.0,” IEEe Access, 2024, [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10510441/
I. Batra, C. Sharma, A. Malik, S. Sharma, M. S. Kaswan, and ..., “Industrial revolution and smart farming: a critical analysis of research components in Industry 4.0,” TQM …, 2025, [Online]. Available: https://www.emerald.com/tqm/article/37/6/1497/1258636
Y. Akkem, S. K. Biswas, and A. Varanasi, “Smart farming using artificial intelligence: A review,” Eng. Appl. Artif. …, 2023, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0952197623000830
S. Mathi, R. Akshaya, and K. Sreejith, “An internet of things-based efficient solution for smart farming,” Procedia Comput. Sci., 2023, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1877050923002521
A. A. Laghari, H. Li, A. A. Khan, Y. Shoulin, S. Karim, and ..., “Internet of Things (IoT) applications security trends and challenges,” … Internet Things, 2024, doi: 10.1007/s43926-024-00090-5.
G. P. O. Reddy, B. S. Dwivedi, and ..., “Applications of geospatial and big data technologies in smart farming,” Smart Agric. …, 2023, doi: 10.1007/978-981-19-8738-0_2.
E. Karunathilake, A. T. Le, S. Heo, Y. S. Chung, and S. Mansoor, “The path to smart farming: Innovations and opportunities in precision agriculture,” Agriculture, 2023, [Online]. Available: https://www.mdpi.com/2077-0472/13/8/1593
Y. Li, S. Guo, Z. Su, K. Ding, and X. J. Loh, “Lightweight and conformal acousto‐ultrasonic sensing network for multi‐scale structural health monitoring: A review,” FlexMat, 2025, doi: 10.1002/flm2.35.
M. F. Soambaton, D. Djuniadi, and ..., “Monitoring Kolam Ikan Nila Berbasis IoT dengan Sensor Amonia, Suhu, Ketinggian, dan PH,” J. Inform. dan …, 2024, [Online]. Available: http://journal.eng.unila.ac.id/index.php/jitet/article/view/4021
L. P. Hapsari, R. P. Pasaribu, and I. Anjani, “The use of an Arduino Uno ultrasonic sensor in desalination equipment’s water filling control,” Circuit J. Ilm. …, 2023, [Online]. Available: https://jurnal.ar-raniry.ac.id/index.php/circuit/article/view/15567/0
Copyright (c) 2026 M Yusfahmi, Nofri Wandi Al-Hafiz, Aprizal, Nacha Artha Hendrawan

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
This is an open-access article distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License which permits unrestricted use, distribution, and reproduction in any medium. Users are allowed to read, download, copy, distribute, search, or link to full-text articles in this journal without asking by giving appropriate credit, provide a link to the license, and indicate if changes were made. All of the remix, transform, or build upon the material must distribute the contributions under the same license as the original.












