Development of an Internet of Things-Based Animal Trap Using Motion Sensors and Camera: A Case Study on Rat Traps

Authors

  • Armand Maulana Politeknik Negeri Samarinda
  • Ahmad Rofiq Hakim Politeknik Negeri Samarinda
  • Abdullah Hanif Politeknik Negeri Samarinda

DOI:

https://doi.org/10.59934/jaiea.v5i3.2554

Keywords:

ESP32-Cam, Firebase, Internet of Things, Infrared Motion Sensor, NodeMCU ESP8266

Abstract

This research aims to develop and implement an Internet of Things (IoT)-based rat trap utilizing dual infrared motion sensors and an ESP32-CAM module. The system integrates infrared sensors calibrated as automated triggers for a servo-driven hatch door, with the ESP32-CAM providing remote visual validation, managed by a NodeMCU ESP8266 as the primary microcontroller. Telemetry data, real-time push notifications, and manual overrides are synchronized seamlessly through the Firebase Realtime Database and a custom Android application. Evaluated via black-box testing using white lab rats as test objects, the empirical results demonstrate that all integrated components operate effectively. The conditional automation sequence, including the 5-minute sensor masking and timeout safeguards, executed successfully without system failure. Furthermore, system integration proved highly stable, exhibiting an average control and data telemetry latency of 1–3 seconds, while mobile push notifications were delivered in less than 3 seconds. These findings confirm that the multi-sensor and camera infrastructure can be utilized optimally to deliver a responsive, reliable, and modern pest control solution.

Downloads

Download data is not yet available.

References

I. Irayanti et al., “Health Information : A Survey Study of Rat Vector in the Working Area of The Port Health Office Class II, Tarakan City,” J. Rekam Medis Manaj. Infomasi Kesehat., vol. 2, no. 1, pp. 14–18, 2022, doi: 10.53416/jurmik.v2i1.69.

Kemenkes, “Waspadai Musim Hujan dan Banjir!!! Leptospirosis Diam-diam Mematikan,” Https://Ayosehat.Kemkes.Go.Id/Waspadai-Musim-Hujan-Dan-Banjir-Leptospirosis-Diam-Diam-Mematikan. Accessed: Jun. 01, 2025. [Online]. Available: https://ayosehat.kemkes.go.id/waspadai-musim-hujan-dan-banjir-leptospirosis-diam-diam-mematikan

M. I. Ramadhan, D. Irawan, and Y. A. Suryo, “Perangkap Tikus Rumahan Otomatis Dengan Sistem Monitoring Berbasis Internet of Things (IoT),” J. Tek. Elektro dan Komputasi, vol. 5, no. 2, pp. 252–259, 2023, doi: 10.32528/elkom.v5i2.19035.

P. Alif, A. Amsal, J. D. Irawan, and F. X. Ariwibisono, “RANCANG BANGUN PERANGKAP TIKUS OTOMATIS BERBASIS IOT ( INTERNET OF THINGS ) UNTUK MEMBASMI HAMA TIKUS,” vol. 8, no. 5, pp. 8348–8355, 2024.

D. Aji Saputro, S. Luffiah Khasanah, and A. Tafrikhatin, “Perangkap Tikus Otomatis Menggunakan Sensor Inframerah Berbasis Wemos D1 Mini,” J. Pendidik. Tambusai, vol. 5, no. 3, pp. 6188–6195, 2021.

M. I. Andriansyah, J. Jamaaluddin, A. Ahfas, I. Anshory, and D. Hadidjaja, “JASEE Journal of Application and Science on Electrical Engineering Rancang Bangun Jebakan Tikus Berbasis Internet of Things dan Camera ESP32,” JASEE J. Appl. Sci. Electr. Eng., vol. 4, no. 2, pp. 43–53, 2023.

M. Iqbal, A. Bachri, and Z. Abidin, “Rancang Bangun Alat Penjebak Tikus (Mouse Trap) Otomatis Dikontrol Via Iot (Internet Of Things),” Resist. (Elektronika Kendali Telekomun. Tenaga List. Komputer), vol. 6, no. 2, pp. 99–102, 2023.

P. P. S. R. P. A. Rendi Fadjar Bakti, “Sistem Monitoring dan Kontrol Mousetrap dengan Feeder,” Polektro, vol. 11, no. 1, pp. 26–27, 2022.

A. T. S, P. Hari babu, and R. Divya Sree, “IR Sensor Based Obstacle Detection and Avoiding Robot PJAEE, 17 (9) (2020) IR Sensor Based Obstacle Detection and Avoiding Robot,” vol. 17, no. 9, pp. 3328–3336, 2020.

H. Technology, “MG996R Metal Gear Servo Motor,” pp. 1–7, 2019.

Downloads

Published

2026-06-28

How to Cite

Armand Maulana, Ahmad Rofiq Hakim, & Abdullah Hanif. (2026). Development of an Internet of Things-Based Animal Trap Using Motion Sensors and Camera: A Case Study on Rat Traps. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 5(3), 4845–4851. https://doi.org/10.59934/jaiea.v5i3.2554

Issue

Section

Articles