Design Of Automatic Cage Disanitation Based On Esp32 With Mq137 & Dht22 Sensors To Monitor Ammonia

Authors

  • Ferdinan Riski Suganda Program Studi Sistem Komputer, Fakultas Teknik Dan Informatika, Universitas Islam Balitar
  • Haris Yuana Program Studi Sistem Komputer, Fakultas Teknik Dan Informatika, Universitas Islam Balitar
  • Udkhiati Mawaddah Program Studi Sistem Komputer, Fakultas Teknik Dan Informatika, Universitas Islam Balitar

DOI:

https://doi.org/10.55227/ijhet.v5i4.1118

Keywords:

ESP32, MQ137, Ammonia Gas (NH₃), Goat Pen Sanitation; Automatic System

Abstract

The goat pen sanitation process is generally still carried out manually, making it less effective and efficient, and risking delays in handling when ammonia gas levels increase. This condition can reduce the quality of the pen environment and impact livestock health and productivity. This study aims to design and build an ESP32-based automatic goat pen sanitation system using an MQ137 sensor to maintain pen cleanliness and reduce ammonia gas levels. The method used is Research and Development (R&D), which includes the design, manufacturing, and testing stages of the system. The system utilizes the ESP32 as a microcontroller, an MQ137 sensor to detect ammonia gas (NH₃), a DHT22 sensor to measure temperature and humidity, and a relay and water pump as spraying actuators. Sensor data is processed by the ESP32 to control sanitation automatically. When ammonia levels exceed 25 ppm, the pump will activate spraying and stop once ammonia levels return to normal limits. The results of the study indicate that the system was successfully built and is able to carry out the pen sanitation process automatically according to the design. This system is expected to improve the effectiveness and efficiency of pen sanitation and help maintain the quality of the pen environment in a sustainable manner.

Downloads

Download data is not yet available.

References

Budiawan, A., Suryono, R. R., & Darwis, D. (2025). Implementasi Sensor Gas Amonia Berbasis Internet of Things pada Peternakan Ayam Potong dengan Sistem Monitoring dan Pengendalian Kualitas Udara Otomatis. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 5(1), 343–349. https://doi.org/10.57152/malcom.v5i1.1649

Budiman, A., & Muskhir, M. (2025). IoT-based temperature, humidity, and ammonia control system for chicken coop. Journal of Industrial Automation and Electrical Engineering, 02(02), 236–243.

Enal Wahyudi, A., Kurniyan Sari, S., Aziz, F., & Jeffry, J. (2025). Implementation of an Internet of Things (IoT)-Based Air Quality Monitoring System for Enhancing Indoor Environments. Journal of System and Computer Engineering (JSCE), 6(1), 124–130. https://doi.org/10.61628/jsce.v6i1.1466

Ramadhan, A. M. F. (2024). Sistem Monitoring Suhu, Kelembapan, Dan Gas Amonia.

Sains, J. (2024). Nucleus Journal. Rancang Bangun Pembersih Kandang Anak Ayam Menggunakan Konveyor Berbasis Internet Of Things, 3(2), 102–108.

Sukma, I. M., Muhammad Imam Ghozali, & Wibowo Harry Sugiharto. (2025). Sistem Peringatan Dini Berbasis IoT untuk Monitoring dan Pengelolaan Gas Amonia dan Suhu pada Kandang Ayam. Jurnal Sistem Komputer Dan Informatika (JSON), 7(1), 112–120. https://doi.org/10.30865/json.v7i1.8995

Downloads

Published

2026-11-27

How to Cite

Suganda, F. R., Haris Yuana, & Udkhiati Mawaddah. (2026). Design Of Automatic Cage Disanitation Based On Esp32 With Mq137 & Dht22 Sensors To Monitor Ammonia. International Journal of Health Engineering and Technology, 5(4). https://doi.org/10.55227/ijhet.v5i4.1118