Development of an IoT-Based Egg Incubator with PID Control System and Web Application

Muhamad Prabowo - Politeknik Negeri Semarang, Semarang, 50275, Indonesia
Ilham Sayekti - Politeknik Negeri Semarang, Semarang, 50275, Indonesia
Sri Astuti - Politeknik Negeri Semarang, Semarang, 50275, Indonesia
Septiantar Nursaputro - Politeknik Negeri Semarang, Semarang, 50275, Indonesia
Supriyati Supriyati - Politeknik Negeri Semarang, Semarang, 50275, Indonesia

Citation Format:



The rapid development of technology significantly impacts various aspects of life, including the field of livestock farming. The advancement of technology is expected to enhance the rate and effectiveness of production, particularly in the hatching of chicken eggs or chick breeding. The existing technology relies on manual on/off systems and manual monitoring, hindering successful egg-hatching rates and percentages. Therefore, this research aims to explain the development of an automated egg incubator using a Proportional Integral Derivative (PID) control system with hypertuning parameters, as well as temperature and humidity monitoring, along with a protection system based on voltage sensors, all integrated with the Internet of Things (IoT). The PID control is employed to regulate the temperature of the egg incubator, ensuring stability according to the predetermined set point temperature. The IoT system in this study comprises an ESP32 node as a microcontroller connected to a sensor, using Firebase and User app for monitoring the egg incubator. The study employed PID control with parameter values Kp=10, Ki=3, and Kd=8. The research yielded time-efficient egg incubation and prevention of turning delays. The DHT21 sensor achieved a 90% success rate in detecting room temperature (38°C) and humidity (77%-84%) within the incubator, while PID control effectively maintained the target temperature. The ACS712 sensor accurately detected current in the heater, power supply, and motor. The Kodular application can display sensor readings. The future implication is developing a more adaptive PID method toward changes and nonlinear dynamics.



Egg Incubator; PID Control, Sensor, IoT, Fire Base.

Full Text:



M. C. A. Prabowo, S. S. Hidayat, and F. Luthfi, “Low Cost Wireless Sensor Network for Smart Gas Metering using Antares IoT Platform,” 3rd Int. Conf. Appl. Sci. Technol. iCAST 2020, vol. 1, no. 1, pp. 175–180, 2020, doi: 10.1109/iCAST51016.2020.9557692.

O. Eze Aru, “Development of a Computerized Engineering Technique to Improve Incubation System in Poultry Farms,” J. Sci. Eng. Res. 2017, 4(6)109-119 Res., vol. 4, no. 6, pp. 109–119, 2017.

I. C. Boleli, V. S. Morita, J. B. Matos, M. Thimotheo, and V. R. Almeida, “Poultry Egg Incubation: Integrating and Optimizing Production Efficiency,” Brazilian J. Poult. Sci., vol. Special Is, no. 2, pp. 1–16, 2016, doi:

W. S. M. Sanjaya et al., “The Development of Quail Eggs Smart Incubator for Hatching System based on Microcontroller and Internet of Things (IoT),” 2018 Int. Conf. Inf. Commun. Technol. ICOIACT 2018, vol. 1, no. 1, pp. 407–411, 2018, doi: 10.1109/ICOIACT.2018.8350682.

I. N. Lestari, E. Mulyana, and R. Mardi, “The Implementation of Mamdani’s Fuzzy Model for Controlling the Temperature of Chicken Egg Incubator,” Proc. - 2020 6th Int. Conf. Wirel. Telemat. ICWT 2020, vol. 1, no. 1, pp. 1–5, 2020, doi: 10.1109/ICWT50448.2020.9243647.

M. Amdadul Bari, M. Julhas Hossain, and M. Monirujjaman Khan, “Development of Smart Egg Incubator,” 2021 IEEE 12th Annu. Ubiquitous Comput. Electron. Mob. Commun. Conf. UEMCON 2021, vol. 1, no. 1, pp. 527–533, 2021, doi: 10.1109/UEMCON53757.2021.9666653.

A. Faroqi, M. R. Efendi, D. T. Ismail, and W. Darmalaksana, “Design of arduino uno based duck egg hatching machine with sensor DHT22 and PIR sensor,” Proc. - 2020 6th Int. Conf. Wirel. Telemat. ICWT 2020, vol. 1, no. 1, pp. 0–5, 2020, doi: 10.1109/ICWT50448.2020.9243640.

P. Tangsuknirundorn and P. Sooraksa, “Design of a Cyber-Physical System using STEM: Chicken Egg Incubator,” Proceeding - 5th Int. Conf. Eng. Appl. Sci. Technol. ICEAST 2019, vol. 1, no. 1, pp. 1–4, 2019, doi: 10.1109/ICEAST.2019.8802564.

R. Jaichandran, R. Shobana, K. Mohamed Tharick, L. Raja, H. Anandaram, and K. Vijaipriya, “Automatic Hatching System by designing IoT-based Egg Incubator,” 3rd Int. Conf. Smart Electron. Commun. ICOSEC 2022 - Proc., vol. 1, no. 1, pp. 501–506, 2022, doi: 10.1109/ICOSEC54921.2022.9952082.

D. A. Thomas, C. Reji, J. Joys, and S. Jose, “Automated Poultry Farm with Microcontroller based Parameter Monitoring System and Conveyor Mechanism,” Proc. Int. Conf. Intell. Comput. Control Syst. ICICCS 2020, no. Iciccs, pp. 639–643, 2020, doi: 10.1109/ICICCS48265.2020.9120982.

M. A. Kabir and M. A. Abedin, “Design and Implementation of a Microcontroller Based Forced Air Egg Incubator,” 2018 Int. Conf. Adv. Electr. Electron. Eng. ICAEEE 2018, vol. 1, no. 1, pp. 1–4, 2019, doi: 10.1109/ICAEEE.2018.8642976.

S. U. A. Naeemul Islam, Naeemul Islam, Asif Mohammed Arfi, “Design and Implementation of IoT Based Perspicacious Egg Incubator System,” Naeemul Islam. Naeemul Islam. Asif Mohammed Arfi, Sohan Ul Alam, vol. 1, no. 1, pp. 251–255, 2019, doi: 10.1109/IEMECONX.2019.8877043.

G. V. Kutsira, N. I. Nwulu, and E. M. Dogo, “Development of a Small Scaled Microcontroller-Based Poultry Egg Incubation System,” 2019 Int. Conf. Artif. Intell. Data Process. Symp. IDAP 2019, vol. 1, no. 1, pp. 1–7, 2019, doi: 10.1109/IDAP.2019.8875897.

L. A. Szolga and A. Bondric, “Smart System for Incubating Eggs,” 2020 IEEE 26th Int. Symp. Des. Technol. Electron. Packag. SIITME 2020 - Conf. Proc., vol. 1, no. 1, pp. 260–264, 2020, doi: 10.1109/SIITME50350.2020.9292305.

K. B. Azahar, E. E. Sekudan, and A. M. Azhar, “Intelligent Egg Incubator,” Int. J. Recent Technol. Appl. Sci., vol. 2, no. 2, pp. 91–102, 2020, doi: 10.36079/lamintang.ijortas-0202.129.

K. Chitra, T. Kalpana, M. Hemalatha, S. Hari Vishnu, K. Kishore, and S. Manoj, “Automatic Egg Incubator Using IoT,” 2023 Int. Conf. Comput. Commun. Informatics, ICCCI 2023, vol. 1, no. 1, pp. 0–5, 2023, doi: 10.1109/ICCCI56745.2023.10128323.

F. Peprah, S. Gyamfi, M. Amo-Boateng, E. Buadi, and M. Obeng, “Design and construction of smart solar powered egg incubator based on GSM/IoT,” Sci. African, vol. 17, no. 1, p. e01326, 2022, doi: 10.1016/j.sciaf.2022.e01326.

A. A. Aldair, A. T. Rashid, and M. Mokayef, “Design and Implementation of Intelligent Control System for Egg Incubator Based on IoT Technology,” 2018 4th Int. Conf. Electr. Electron. Syst. Eng. ICEESE 2018, vol. 1, no. 1, pp. 49–54, 2018, doi: 10.1109/ICEESE.2018.8703539.

D. Lourençoni, D. C. T. C. De Brito, P. T. L. De Oliveira, S. H. N. Turco, and J. S. Cunha, “FUZZY CONTROLLER APPLIED TO TEMPERATURE ADJUSTMENT IN INCUBATION OF FREE-RANGE EGGS Temperature variation in egg incubation can negatively affect the hatching time and weight gain of chicks , hence improving the incubator temperature accuracy can improve,” vol. 4430, 2022, doi: FUZZY.

N. Khera and S. Kohli, “Comparison of Fuzzy and On/Off Controller for Winter Season Egg Hatching Incubator System,” 2018 Int. Conf. Sustain. Energy, Electron. Comput. Syst. SEEMS 2018, vol. 1, no. 1, pp. 1–4, 2019, doi: 10.1109/SEEMS.2018.8687365.

R. Rakhmawati, Irianto, F. D. Murdianto, A. Luthfi, and A. Y. Rahman, “Thermal optimization on incubator using fuzzy inference system based IoT,” Proceeding - 2019 Int. Conf. Artif. Intell. Inf. Technol. ICAIIT 2019, pp. 464–468, 2019, doi: 10.1109/ICAIIT.2019.8834530.

A. Metwally, “Improving Performance of the Poultry Eggs Incubator using the Pulse Repetition Frequency,” J. Soil Sci. Agric. Eng., vol. 11, no. 5, pp. 151–156, 2020, doi: 10.21608/jssae.2020.103591.

P. Dutta and N. Anjum, “Optimization of Temperature and Relative Humidity in an Automatic Egg Incubator Using Mamdani Fuzzy Inference System,” Int. Conf. Robot. Electr. Signal Process. Tech., vol. 1, no. 1, pp. 12–16, 2021, doi: 10.1109/ICREST51555.2021.9331155.

Kelebaone Tsamaase, “Construction and Operation of Solar Powered Egg Incubator,” Int. J. Eng. Res., vol. V8, no. 12, pp. 675–677, 2020, doi: 10.17577/ijertv8is120232.

S. Purwanti, A. Febriani, Mardeni, and Y. Irawan, “Temperature Monitoring System for Egg Incubators Using Raspberry Pi3 Based on Internet of Things (IoT),” J. Robot. Control, vol. 2, no. 5, pp. 349–352, 2021, doi: 10.18196/jrc.25105.

S. Gutierrez, G. Contreras, H. Ponce, M. Cardona, H. Amadi, and J. Enriquez-Zarate, “Development of Hen Eggs Smart Incubator for Hatching System Based on Internet of Things,” 2019 IEEE 39th Cent. Am. Panama Conv. CONCAPAN 2019, vol. 2019-Novem, no. 1, pp. 4–8, 2019, doi: 10.1109/CONCAPANXXXIX47272.2019.8976987.

F. A. Maharani, F. Magfirah, H. Nirwana, and F. Ulfiah, “Rancang Bangun Alat Penetas Telur Otomatis Berbasis IoT,” in Prosiding Seminar Nasional Teknik Elektro dan Informatika (SNTEI) 2021, 2021, pp. 43–50. doi: 10.56795/fortech.v3i1.106.

S. B. Santoso, S. Adhy, N. Bahtiar, and I. Waspada, “Development of The Smart Chicken Eggs Incubator Based on Internet of Things Using The Object Oriented Analysis and Design Method,” ICICoS 2020 - Proceeding 4th Int. Conf. Informatics Comput. Sci., vol. 1, no. 1, pp. 1–6, 2020, doi: 10.1109/ICICoS51170.2020.9299000.

T. Munasinghe, E. W. Patton, and O. Seneviratne, “IoT Application Development Using MIT App Inventor to Collect and Analyze Sensor Data,” Proc. - 2019 IEEE Int. Conf. Big Data, Big Data 2019, vol. 1, no. 1, pp. 6157–6159, 2019, doi: 10.1109/BigData47090.2019.9006203.

G. Y. I. Idrees Sarhan Hussein Kocher1, “Smart Egg Incubator Based on Microcontroller: a Review,” Acad. J. Nawroz Univ., vol. 11, no. 4, pp. 139–146, 2022, doi: 10.25007/ajnu.v11n4a1401.

S. A. Nawaz, S. Satheeskumaran, C. Venkatesan, A. R. Suhas, and L. Niranjan, “Design and implementation of chicken egg incubator for hatching using IoT,” Int. J. Comput. Sci. Eng. Vol. 24, No. 4, 2021, vol. 24, no. 4, p. 363, 2021, doi: 10.1504/ijcse.2021.10039967.

E. Petkov, T. Kalushkov, G. Shipkovenski, R. Radoeva, and D. Valcheva, “Fault Tolerance Smart Incubator with IoT Control and Alerts,” ISMSIT 2022 - 6th Int. Symp. Multidiscip. Stud. Innov. Technol. Proc., vol. 1, no. 1, pp. 929–933, 2022, doi: 10.1109/ISMSIT56059.2022.9932792.

B. Supriyo, Dadi, S. Warjono, A. Wisaksono, S. Astuti, and K. Utomo, “PID Based Air Heater Controller Implemented with Matlab/Simulink and Arduino Uno,” Proc. - 2018 5th Int. Conf. Inf. Technol. Comput. Electr. Eng. ICITACEE 2018, vol. 1, no. 1, pp. 28–32, 2018, doi: 10.1109/ICITACEE.2018.8576955.

M. Huba, D. Vrancic, and P. Bistak, “PID Control with Higher Order Derivative Degrees for IPDT Plant Models,” IEEE Access, vol. 9, no. 1, pp. 2478–2495, 2021, doi: 10.1109/ACCESS.2020.3047351.