Autonomous Vision-Based Fire Detection in Rice Farms: A Solar-powered IoT System Utilizing Hybrid CNN LSTM Networks
Keywords:
CNN-LSTM, Edge computing, Fire detection, GSM notification, IoT, Rice farm monitoringAbstract
Agricultural fires in rice paddies that burn out of control are a major hazard to agricultural production and rural lives globally. Standard fire detection systems, based on point sensors, smoke and heat, ineffectively detect fire in open field conditions where wind currents easily carry signals away. This work suggests a solar energy self-governing Vision-Based Fire Detection (VBFD) system designed for an environment of remote monitoring of a rice farm. This system has a hybrid spatial-temporal architecture. To eliminate the effect of the environment, a CNN is used to extract the spatial features from the images by performing the convolution task, and to distinguish image details, an LSTM algorithm is used to perform the temporal (temporal “flicker”) feature extraction task. The system runs on a “Raspberry Pi 4B” edge computing platform, which uses on-device inference to eliminate latency and reliance on the cloud. The study evaluated a custom-trained CNN using a validation set of 199 images and compared it to a pretrained CNN with a MobileNetV2 backbone. Experimental results show that the custom CNN outperforms the MobileNetV2 model with a better overall correctness of 97% and a fire detection recall of 0.98 in comparison to the MobileNetV2 with 93% accuracy and 0.92 recall. The custom model’s performance in identifying a fire with a high probability when it results in a false negative only 2% of the time is crucial to minimizing the effects of catastrophic losses. It also has an integrated SIM800L GSM module that allows immediate SMS notification sending and an integrated solar-powered UPS system for 24/7 off-grid operation. The study delivers a scalable, high-recall, early warning solution that can play a substantial role in current Climate Smart Agriculture. The present study can be perceived as an effective, cost-effective tool for ensuring safe food production in high-risk areas.
References
Intergovernmental Panel on Climate Change, Climate change and land: An IPCC special report on climate change, desertification, land degradation, sustainable land management, food security, and greenhouse gas fluxes in terrestrial ecosystems. Cambridge, U.K.: Cambridge University Press, 2022.
O. Asif, Md. B. Hossain, M. Hasan, M. T. Rahman, and M. E. H. Chowdhury, “Fire-detectors review and design of an automated, quick responsive fire-alarm system based on SMS,” International Journal of Communications, Network and System Sciences, vol. 7, no. 9, pp. 386–395, Sept. 2014.
Y. Chunyu, F. Jun, W. Jinjun, and Z. Yongming, “Video fire smoke detection using motion and color features,” Fire Technology, vol. 46, pp. 651–663, Oct. 2009.
R. B. Mohite, A. J. Chinchawade, U. P. Waghmode, Z. V. Thorat, V. B. Mane and V. E. Pawar, “Smart farm protection system using IoT,” 2023 4th International Conference on Signal Processing and Communication (ICSPC), Coimbatore, India, 2023, pp. 158–162.
A. Bayegizova et al., “Fire detection using deep learning methods,” International Journal of Electrical and Computer Engineering (IJECE), vol. 14, no. 1, Feb. 2024.
M. Wang, P. Yue, L. Jiang, D. Yu, Tianyu Tuo, and J. Li, “An open flame and smoke detection dataset for deep learning in remote sensing based fire detection,” Geo-spatial Information Science, vol. 28, no. 2, pp. 511–526, 2025.
Q. Liu, H. Chen, and D. Lin, “Research and optimization of a multilevel fire detection framework based on deep learning and classical pattern recognition techniques,” Scientific Reports, vol. 15, Jul. 2025.
Q. An, X. Chen, J. Zhang, R. Shi, Y. Yang, and W. Huang, “A robust fire detection model via convolution neural networks for intelligent robot vision sensing,” Sensors, vol. 22, no. 8, Apr. 2022.
P. Barmpoutis, P. Papaioannou, K. Dimitropoulos, and N. Grammalidis, “A review on early forest fire detection systems using optical remote sensing,” Sensors, vol. 20, no. 22, Nov. 2020.
B. Kim and J. Lee, “A video-based fire detection using deep learning models,” Applied Sciences, vol. 9, no. 14, Jul. 2019.
S. H. V. Sangaraju and J. T. Jose, “Early fire and smoke detection using deep learning - InceptionV3 with attention mechanism through a real-time surveillance,” 2023 International Conference on Computational Intelligence, Networks and Security (ICCINS), Mylavaram, India, 2023, pp. 1–6.
P. W. A. Chandra, R. Racahyo, Sunardi, M. I. Martadinata, and Y. Suprihartini, “Microcontroller-based bird repellent device at the airport: Design, sensor, and power supply,” Journal of Airport Engineering Technology (JAET), vol. 5, no. 2, pp. 135–149, 2025.
S. Uppal, S. Raheja and N. Ranjan Das, “Fire detection alarm system using deep learning,” 2023 13th International Conference on Cloud Computing, Data Science & Engineering (Confluence), Noida, India, 2023, pp. 54–58
A. Sharma et al., “IoT and deep learning-inspired multi-model framework for monitoring active fire locations in agricultural activities,” Computers & Electrical Engineering, vol. 93, Jul. 2021.
A. Verma, K. Yadav, S. Malik, and R. Chaudhary, “Design and construction of automatic fire fighting robot with SMS notification,” in Advanced Production and Industrial Engineering, R. M. Singari and P. K. Kankar, Eds. Amsterdam, The Netherlands: IOS Press, 2022, pp. 491–498.
M. Nischitha and B. S. Rajeshwari, “Solar powered IoT based environment monitoring system,” 2023 9th International Conference on Signal Processing and Communication (ICSC), NOIDA, India, 2023, pp. 469–472.
M. S. Mohammed, Amel H. Abbas, and N. A. Z. Abdullah, “Intelligent surveillance system for fire detection using YOLOV8,” Iraqi Journal for Computers and Informatics, vol. 50, no. 1, pp. 105–122, Jun. 2024.
S. Sawant, B. Chauhan, S. Kumarth, G. Chaudhari and P. Thakkar, “Integrated fire detection system using ML and IOT,” International Journal for Research in Applied Science and Engineering Technology, vol. 12, no. 5, pp. 2091–2100, May 2024.
J. Julian, A. B. Dewantara, and F. Wahyuni, “Design of smoke detection system using deep learning and sensor fusion with recursive feature elimination cross-validation,” IAES International Journal of Artificial Intelligence (IJ-AI), vol. 13, no. 2, Jun. 2024.
G. Murugesan, J. Nawas M, J. M, M. Farhan M., and S. P,. “AI enabled fire-detecting drone using deep learning model,” International Journal of Innovative Research in Information Security, vol. 10, no. 03, pp. 142–146, Apr. 2024.
A. Alshibli, “Farm alarm detection system (FADS) frameworks,” Applied computing Journal, vol. 2, no. 1, pp. 174–192, Jan. 2022.
P. D. Alfa and P. E. Panji, “Application of rice pest repellent using ESP32 microcontroller and Internet of Things based sound wave,” East Asian Journal of Multidisciplinary Research, pp. 4261–4272, 2023.
A. Julisma M, Jamaluddin, and Fatahillah, “Microcontroller based bird pest repellant modifications using a PIR sensor,” PATANI (Pengembangan Teknologi Pertanian dan Informatika), vol. 6, no. 2, pp. 22–25, Sept. 2023.
A. Upadhyay et al., “Deep learning and computer vision in plant disease detection: a comprehensive review of techniques, models, and trends in precision agriculture,” Artificial Intelligence Review, vol. 58, Jan. 2025.
J. L. Cummings, P. A. Pochop, R. M. Engeman, J. E. Davis Jr., and T. M. Primus, “Evaluation of flight controlR to reduce blackbird damage to newly planted rice in Louisiana,” International Biodeterioration & Biodegradation, vol. 49, no. 2–3, pp. 169–173, 2002.
I. S. Dalmis, B. Kayisoglu, S. Tug, and M. R. Durgut, “Energy and exergy analysis of rice straw gasification,” Latin American Applied Research - An International Journal, vol. 52, no. 2, pp. 111–117, Mar. 2022.