IoT-Based Temperature and Humidity Monitoring and Control System for Quail Cages Using the K-Nearest Neighbors Algorithm
DOI:
https://doi.org/10.61132/ijmicse.v3i2.416Keywords:
Humidity Monitoring, Internet of Things, Quail Cage, Smart Farming, Temperature ControlAbstract
The stability of the microclimate in the cage is a necessity in quail farming, since the temperature and humidity directly influence the comfort, growth, health and egg production of the animals. Manual monitoring is limited by farmer availability, reaction times, and inconsistent observations, particularly in the context of rapid environmental change. This work describes the development of an Internet of Things (IoT)-based temperature and humidity monitoring and control system with the K-Nearest Neighbors (K-NN) algorithm to categorize the quail cage environment states and to facilitate autonomous actuator management. The system was designed utilizing ESP32 microcontroller, DHT22 sensor, Incandescent bulb, Blower, Firebase real time database and a monitoring application based on Flutter. The temperature and humidity data were collected from the cage environment, identified by K-NN according to the established environmental classes and used to determine actuator responses. The experimental findings indicated that the system could monitor the cage conditions in real time and operate the lamp and blower according to the intended control logic. The DHT22 sensor produced an average temperature error of approximately 3.77% and an average humidity error of approximately 7.04%. The real-time monitoring delay ranged from 1 to 4 seconds, with an average delay of about 2 seconds. In preliminary classification testing, the K-NN results showed full agreement with manual decisions for the tested samples. These findings indicate that the developed IoT and K-NN-based system can support more efficient quail cage microclimate management and provide a practical low-cost smart farming solution for small-scale poultry farmers.
References
Agusta, Y. (2007). K-Means penerapan permasalahan dan metode terkait. Jurnal Sistem dan Informatika, 3.
Aleluia, V., Soares, V., Caldeira, J., & Gaspar, P. (2023). Livestock monitoring prototype implementation and validation. Revista de Informática Teórica e Aplicada, 30(1), 53–65. https://doi.org/10.22456/2175-2745.127207
Amelia, M. (2023). Peningkatan bobot badan burung puyuh (Coturnix coturnix japonica) melalui suplementasi IGP herbal. Jurnal Nutrisi Ternak Tropis, 6(2), 83–89. https://doi.org/10.21776/ub.jnt.2023.006.02.2
Andari, A., Enisa, E., Wulandari, R., & Suci, D. (2018). Efek suplementasi “jamu rempah” pada puyuh (Coturnix coturnix japonica) terhadap performa dan kadar kolesterol telur. Jurnal Ilmu Nutrisi dan Teknologi Pakan, 16(2), 34. https://doi.org/10.29244/jintp.16.2.34-41
Asri, A., & Harissatria, H. (2021). Pengaruh suhu lingkungan di Kota Solok terhadap suhu rektal, konsumsi pakan dan konsumsi air minum burung puyuh (Coturnix coturnix japonica). Jurnal Peternakan Mahaputra, 1(2), 60–67. https://doi.org/10.36665/jpm.v1i2.78
Aulia, L. M., Wibowo, S. A., & Vendyansyah, N. (2021). Penerapan IoT pada rancang bangun sistem miniatur robot pemadam api untuk membantu proses evaluasi pra evakuasi. JATI (Jurnal Mahasiswa Teknik Informatika), 257–259. https://doi.org/10.36040/jati.v5i1.3307
Chairunnas, A. (2024). Optimization of livestock monitoring system in outdoor based on Internet of Things (IoT). JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer, 9(2), 323–329. https://doi.org/10.33480/jitk.v9i2.5312
Cosi, S., & Vargas-Cuentas, N. (2021). Prototype of a system for quail farming with Arduino Nano platform, DHT11 and LM35 sensors, in Arequipa, Peru. International Journal of Emerging Technology and Advanced Engineering, 11(11), 140–146. https://doi.org/10.46338/ijetae1121_16
Damayanti, A. (2024). Sistem informasi administrasi kependudukan dengan algoritma C5.0 untuk klasifikasi penerima Program Keluarga Harapan (PKH). JATI (Jurnal Mahasiswa Teknik Informatika, 8(1), 63–68. https://doi.org/10.36040/jati.v8i1.8720
Efendi, Y. (2018). Internet of Things (IoT) sistem pengendalian lampu menggunakan Raspberry Pi berbasis mobile. Jurnal Ilmiah Ilmu Komputer, 4(2), 21–27.
Malaric, R. (2011). Instrumentation and measurement in electrical engineering. Universal-Publishers.
Mudjanarko, S. W., Winardi, S., & Limantara, A. D. (2017). Pemanfaatan Internet of Things (IoT) sebagai solusi manajemen transportasi kendaraan sepeda motor. Prosiding Seminar Nasional Aplikasi Teknologi Prasarana Wilayah X (ATPW). https://doi.org/10.17605/OSF.IO/6UE4B
Nysa, J. (2023). Perbandingan jarak Euclidean, Manhattan, Chebyshev pada klasifikasi status gizi balita menggunakan metode K-Nearest Neighbors (K-NN). JATI (Jurnal Mahasiswa Teknik Informatika, 7(4), 2443–2450. https://doi.org/10.36040/jati.v7i4.7544
Priya, O., & Ramasamy, S. (2021). Impact of Internet of Things (IoT) in smart agriculture. https://doi.org/10.3233/APC210176
Rizal, M. (2024). Sistem pemantau suhu dan kelembaban kandang puyuh menggunakan metode logika fuzzy Sugeno berbasis Internet of Things. Jurnal Fasilkom, 14(1), 242–249. https://doi.org/10.37859/jf.v14i1.6977
Saptadi, A. H. (2014). Perbandingan akurasi pengukuran suhu dan kelembaban antara sensor DHT11 dan DHT22. JURNAL INFOTEL: Informatika Telekomunikasi Elektronika, 6(2), 49. https://doi.org/10.20895/infotel.v6i2.16
Shahid, N., & Aneja, S. (2017). Internet of Things: Vision, application areas and research challenges. In International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (pp. 583–587).
Siagian, C. (2024). Sistem pemantauan suhu, kelembaban, cahaya, dan pH air pada rumah walet berbasis Internet of Things. Journal of Telecommunication Electronics and Control Engineering (JTECE), 6(1), 1–12. https://doi.org/10.20895/jtece.v6i1.988
Suprijatna, E., Atmomarsono, U., & Kartasudjana, R. (2005). Ilmu dasar ternak unggas. Penebar Swadaya.
Ta’wim, A. (2024). Kelayakan usaha ternak burung puyuh di Kecamatan Prambon Kabupaten Nganjuk. JINTAN: Jurnal Ilmiah Pertanian Nasional, 4(1), 61–69. https://doi.org/10.30737/jintan.v4i1.5290
Ulya, S., Soeleman, M., & Budiman, F. (2021). Optimasi parameter K pada algoritma K-NN untuk klasifikasi prioritas bantuan pembangunan desa. Techno.Com, 20(1), 83–96. https://doi.org/10.33633/tc.v20i1.4215
Yahya, M., & Erwanto, D. (2020). Design of temperature and humidity control systems in quail puppies cages using fuzzy logic method. JEEE-U (Journal of Electrical and Electronic Engineering-UMSIDA), 4(1), 42–56. https://doi.org/10.21070/jeeeu.v4i1.31042
Zhang, X., Cao, Z., & Wei, D. (2020). Overview of edge computing in the agricultural Internet of Things: Key technologies, applications, challenges. IEEE Access, 8, 141748–141761. https://doi.org/10.1109/ACCESS.2020.3013005
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 International Journal of Mechanical, Industrial and Control Systems Engineering

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


