Flying Trap (Fly-T): An Automatic Termite Trapping Based on IoT and Hybrid Energy System using NodeMCU

Main Article Content

Ryo Pambudi
Much Aziz Muslim


This paper proposes an automated productive caste termite trap device based on a hybrid energy system and the Internet of Things called Flying Trap (Fly-T). This tool is equipped with ultraviolet light with a frequency of 365 nm which is used to attract termites to enter and trap into Fly-T storage tank until they die. Dead termites will be detected by an ultrasonic sensor with a certain limit value then the relay cuts off electric current so that the light turns off and the tank door automatically opens to expel dead termites. The automatic control system on Fly-T is built using the NodeMCU ESP32 microcontroller to optimize the performance of sensors, relays, servo, and wifi connections in recording data to an IoT-based cloud database. The Fly-T is also controlled by command via a Telegram Bot equipped with solar panels and a windmill turbine generator. The results show that Fly-T can run automatically, easily, and save time efficiently, and is environmentally friendly.

Article Details

How to Cite
Pambudi, R., & Muslim, M. A. (2023). Flying Trap (Fly-T): An Automatic Termite Trapping Based on IoT and Hybrid Energy System using NodeMCU. Journal of Electronics Technology Exploration, 1(2), 71 - 76.


J. J. Anyango et al., “The impact of conventional and organic farming on soil biodiversity conservation: A case study on termites in the long-term farming systems comparison trials in Kenya,” BMC Ecol., vol. 20, no. 1, pp. 1–15, 2020, doi: 10.1186/s12898-020-00282-x.

N. Subekti, B. Priyono, and A. N. Aisyah, “Biodiversity of Termites and Damage Building in Semarang, Indonesia,” Biosaintifika, vol. 10, no. 1, pp. 176–182, 2018, doi: 10.15294/biosaintifika.v10i1.12832.

N. Subekti and Saniaturrohmah, “Toxicity of essential oils against termite Macrotermes gilvus Hagen (Blattodea: Termitidae),” J. Phys. Conf. Ser., vol. 1567, no. 3, 2020, doi: 10.1088/1742-6596/1567/3/032053.

S. A. Meshram, S. A. Kapade, A. D. Chaudhari, and K. B. Nagane, “IRJET-Design a Solar Light Trap for Control of Field Crop Insects DESIGN A SOLAR LIGHT TRAP FOR CONTROL OF FIELD CROP INSECTS,” Int. Res. J. Eng. Technol., p. 1252, 2018, [Online]. Available:

E. P. Mwanga et al., “Evaluation of an ultraviolet LED trap for catching Anopheles and Culex mosquitoes in south-eastern Tanzania,” Parasites and Vectors, vol. 12, no. 1, pp. 1–12, 2019, doi: 10.1186/s13071-019-3673-7.

N. Q. Mohammed, M. S. Ahmed, M. A. Mohammed, O. A. Hammood, H. A. N. Alshara, and A. A. Kamil, “Comparative analysis between solar and wind turbine energy sources in iot based on economical and efficiency considerations,” Proc. - 2019 22nd Int. Conf. Control Syst. Comput. Sci. CSCS 2019, no. June, pp. 448–452, 2019, doi: 10.1109/CSCS.2019.00082.

P. Srivastava, M. Bajaj, and A. S. Rana, “IOT based controlling of hybrid energy system using ESP8266,” 2018 IEEMA Eng. Infin. Conf. eTechNxT 2018, no. March, pp. 1–5, 2018, doi: 10.1109/ETECHNXT.2018.8385294.

T. Kaur, J. Gambhir, and K. Sanjay, “Arduino Based Solar Powered Battery Charging System For Rural SHS,” 2016 7th India Int. Conf. Power Electron. IEEE, pp. 1–5, 2016.

M. Salhaoui, M. Arioua, A. Guerrero-González, and M. S. García-Cascales, “An IoT control system for wind power generators,” Commun. Comput. Inf. Sci., vol. 855, pp. 469–479, 2018, doi: 10.1007/978-3-319-91479-4_39.

S. Tedeschi, J. Mehnen, N. Tapoglou, and R. Roy, “Secure IoT Devices for the Maintenance of Machine Tools,” Procedia CIRP, vol. 59, no. TESConf 2016, pp. 150–155, 2017, doi: 10.1016/j.procir.2016.10.002.

B. Prasetiyo, Alamsyah, and M. A. Muslim, “Analysis of building energy efficiency dataset using naive bayes classification classifier,” J. Phys. Conf. Ser., vol. 1321, no. 3, 2019, doi: 10.1088/1742-6596/1321/3/032016.

C. Vashi, S., Ram, J., Modi, J., Verma, S., & Prakash, “Internet of Things (IoT) A Vision, Architectural Elements, and Security Issues,” 2017 Int. Conf. I-SMAC (IoT Soc. Mobile, Anal. Cloud)(I-SMAC) IEEE, pp. 492–496, 2017, doi: 10.1109/ICECCT.2017.8117893.

M. Al-Kuwari, A. Ramadan, Y. Ismael, L. Al-Sughair, A. Gastli, and M. Benammar, “Smart-home automation using IoT-based sensing and monitoring platform,” Proc. - 2018 IEEE 12th Int. Conf. Compat. Power Electron. Power Eng. CPE-POWERENG 2018, pp. 1–6, 2018, doi: 10.1109/CPE.2018.8372548.

D. Misra, G. Das, T. Chakrabortty, and D. Das, “An IoT-based waste management system monitored by cloud,” J. Mater. Cycles Waste Manag., vol. 20, no. 3, pp. 1574–1582, 2018, doi: 10.1007/s10163-018-0720-y.

X. Wang, Y. Dong, M. Chen, F. Su, and L. Ling, “Research on real-time temperature control method for multi-visualization of hot runner system based on internet of things,” J. Appl. Sci. Eng., vol. 22, no. 4, pp. 683–690, 2019, doi: 10.6180/jase.201912_22(4).0010.

P. Eliopoulos, N. A. Tatlas, I. Rigakis, and I. Potamitis, “A ‘smart’ trap device for detection of crawling insects and other arthropods in urban environments,” Electron., vol. 7, no. 9, 2018, doi: 10.3390/electronics7090161.

W. P. Lai and W. Y. Chung, “Designing an ultrasonic ranging front-end integrated circuit architecture for dual-mode operation with ringing effect reduction,” J. Chinese Inst. Eng. Trans. Chinese Inst. Eng. A, vol. 38, no. 7, pp. 878–886, 2015, doi: 10.1080/02533839.2015.1047796.

P. Li and G. Zhu, “IMC-based PID control of servo motors with extended state observer,” Mechatronics, vol. 62, no. June, p. 102252, 2019, doi: 10.1016/j.mechatronics.2019.102252.

M. S. Kamalesh, B. Chokkalingam, J. Arumugam, G. Sengottaiyan, S. Subramani, and M. A. Shah, “An intelligent real time pothole detection and warning system for automobile applications based on iot technology,” J. Appl. Sci. Eng., vol. 24, no. 1, pp. 77–81, 2021, doi: 10.6180/jase.202102_24(1).0010.

M. A. Rosid, A. Rachmadany, M. T. Multazam, A. B. D. Nandiyanto, A. G. Abdullah, and I. Widiaty, “Integration Telegram Bot on E-Complaint Applications in College,” IOP Conf. Ser. Mater. Sci. Eng., vol. 288, no. 1, 2018, doi: 10.1088/1757-899X/288/1/012159.

Y. Findawati, A. Idris, Suprianto, Y. Rachmawati, and E. A. Suprayitno, “IoT-Based Smart Home Controller Using NodeMCU Lua V3 Microcontroller and Telegram Chat Application,” IOP Conf. Ser. Mater. Sci. Eng., vol. 874, no. 1, 2020, doi: 10.1088/1757-899X/874/1/012009.

Abstract viewed = 51 times

Most read articles by the same author(s)