{"id":4249,"date":"2025-06-30T10:40:05","date_gmt":"2025-06-30T03:40:05","guid":{"rendered":"https:\/\/filkom.ub.ac.id\/project\/?p=4249"},"modified":"2025-06-30T10:40:05","modified_gmt":"2025-06-30T03:40:05","slug":"pedulihutan-sistem-deteksi-dini-kebakaran-hutan-dengan-kamera-esp32-dan-mekanisme-respons-otomatis","status":"publish","type":"post","link":"https:\/\/filkom.ub.ac.id\/project\/2025\/06\/pedulihutan-sistem-deteksi-dini-kebakaran-hutan-dengan-kamera-esp32-dan-mekanisme-respons-otomatis\/","title":{"rendered":"PeduliHutan &#8211; Sistem Deteksi Dini Kebakaran Hutan dengan Kamera ESP32 dan Mekanisme Respons Otomatis"},"content":{"rendered":"<h2><b>\ud83d\udc3e Project Name<\/b><\/h2>\n<p><span style=\"font-weight: 400\">Sistem Deteksi Dini Kebakaran Hutan dengan Kamera ESP32 dan Mekanisme Respons Otomatis<\/span><\/p>\n<h2><b>\ud83c\udf10 Project Domain<\/b><\/h2>\n<p><span style=\"font-weight: 400\">This project falls under <\/span><b>Artificial Intelligence of Things (AIoT)<\/b><span style=\"font-weight: 400\"> and <\/span><b>environmental monitoring<\/b><span style=\"font-weight: 400\">, focusing on developing an integrated technological solution for <\/span><b>real-time forest fire detection and automatic response<\/b><span style=\"font-weight: 400\"> using ESP32-CAM cameras and machine learning algorithms.<\/span><\/p>\n<h2><b>\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1 Meet Our Team<\/b><\/h2>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-4292\" src=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Anggota.png\" alt=\"\" width=\"1195\" height=\"295\" srcset=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Anggota.png 1195w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Anggota-300x74.png 300w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Anggota-1024x253.png 1024w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Anggota-768x190.png 768w\" sizes=\"(max-width: 1195px) 100vw, 1195px\" \/><\/p>\n<h2><b>\u2757 Problem Statements<\/b><\/h2>\n<p><span style=\"font-weight: 400\">\ud83d\udd52 Forest fires in Indonesia have become an increasingly urgent problem, with 58 incidents recorded in 2025, damaging 125.89 hectares of land.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udc36 These fires cause ecosystem damage, air quality degradation, and health threats to surrounding communities due to smoke.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83c\udf0d The increasing frequency of fires necessitates a more effective and responsive detection system to minimize negative impacts.<\/span><\/p>\n<h2><b>\ud83c\udfaf Goals<\/b><\/h2>\n<p><span style=\"font-weight: 400\">\ud83c\udf7d\ufe0f To develop an effective and real-time forest fire detection system using ESP32 cameras and machine learning algorithms.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udcc9 To analyze environmental factors affecting the accuracy of forest fire detection.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udcf2 To integrate an efficient automatic response mechanism with the detection system to minimize the impact of forest fires.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udca1 To identify and overcome challenges in implementing the early detection system in the field.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udd01 To evaluate the system&#8217;s contribution to forest fire mitigation efforts in Indonesia.<\/span><\/p>\n<h2><b>\ud83d\udca1 Solution Statements<\/b><\/h2>\n<p><span style=\"font-weight: 400\">\u2696\ufe0f Utilizing ESP32-CAM cameras as the main component to capture periodic forest images. <\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\u23f1\ufe0f Analyzing captured images using a Convolutional Neural Network (CNN) model to detect signs of fire or smoke.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udce1 Automatically activating a water sprinkler mechanism and sending notifications to users via a web dashboard when a potential fire is detected.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udd01 Processing and storing collected data for further analysis, allowing for future system evaluation and improvement.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udcfa Employing local processing on the ESP32 for efficient operation even with limited connectivity.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udd14 Integrating IoT and machine learning technologies for early detection and rapid mitigation actions.<\/span><\/p>\n<h2><b>\ud83e\uddf0 Prerequisites \u2013 Component Preparation<\/b><\/h2>\n<p><span style=\"font-weight: 400\">\ud83e\udde0 ESP32: Dual-core microcontroller with Wi-Fi and Bluetooth capabilities, up to 240 MHz.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udcf8 ESP32-CAM: Integrates ESP32 with an OV2640 camera (up to 2MP resolution) for image and video capture.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udd14 Active Buzzer: Produces sound with DC voltage, used as an alarm indicator.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udd04 Relay: Electromagnetic switch to control large electrical currents with small currents, used for the water pump.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udca7 HC-SR04 Ultrasonic Sensor: Measures distance by emitting ultrasonic waves, used for water level detection.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\u26a1 Step-Down Converter (5A): Buck converter to lower voltage from a 7V battery to 5V or 3.3V for the microcontroller.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udd0b Battery (7Volt): Provides DC power to the entire system, typically Li-ion or Li-Po for high capacity.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83d\udcbb Convolutional Neural Network (CNN): Machine learning architecture for image processing and pattern recognition, used for fire detection.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\u2601\ufe0f Amazon Web Services (AWS): Cloud platform providing various computing, storage, and data analysis services, including AWS VPC, AWS RDS (MySQL), and AWS EC2.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">\ud83c\udf10 Next.js: An open-source React-based framework for building high-performance web applications (for the web dashboard).<\/span><\/p>\n<h2><b>\ud83d\udcc4 Datasheet<\/b><\/h2>\n<p><span style=\"font-weight: 400\">\ud83d\udd17 ESP32 Technical Reference Manual:<\/span><a href=\"https:\/\/www.espressif.com\/\"> <span style=\"font-weight: 400\">https:\/\/www.espressif.com\/<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-4271\" src=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-193717.png\" alt=\"\" width=\"744\" height=\"465\" srcset=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-193717.png 744w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-193717-300x188.png 300w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">\ud83d\udd17 ESP32-CAM Specifications Table<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-4273\" src=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-193726.png\" alt=\"\" width=\"779\" height=\"469\" srcset=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-193726.png 779w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-193726-300x181.png 300w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-193726-768x462.png 768w\" sizes=\"(max-width: 779px) 100vw, 779px\" \/><br \/>\n<\/span><\/p>\n<p><span style=\"font-weight: 400\">\ud83d\udd17 <\/span>Kaggle FIRE Dataset: <a href=\"https:\/\/www.kaggle.com\/datasets\/phylake1337\/fire-dataset\">FIRE Dataset<\/a><\/p>\n<h2><b>\ud83e\udde9 Schematic<\/b><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4274\" src=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-191453.png\" alt=\"\" width=\"1156\" height=\"775\" srcset=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-191453.png 1156w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-191453-300x201.png 300w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-191453-1024x687.png 1024w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/Screenshot-2025-06-20-191453-768x515.png 768w\" sizes=\"(max-width: 1156px) 100vw, 1156px\" \/><\/p>\n<h2><b>\ud83c\udfac Demo and Evaluation<\/b><\/h2>\n<h3><b>\ud83d\udee0\ufe0f Setup<\/b><\/h3>\n<p><span style=\"font-weight: 400\">This system uses two independent ESP32-CAM units running local CNN algorithms for image classification. A central ESP32 microcontroller receives classification results, makes decisions, and controls actuators and cloud communication. Hardware components include a water pump, ultrasonic sensor, relay module, buzzer, step-down converter, and battery. The firmware is developed using C++ in Arduino IDE, and Edge Impulse is used for the CNN model. AWS VPC handles network and subnet configuration. AWS RDS (MySQL) is used for structured data storage, and AWS EC2 acts as the web server for the dashboard.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4251\" src=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/8_SISTEM-DETEKSI-DINI-KEBAKARAN-HUTAN-DENGAN-KAMERA-ESP32-DAN-MEKANISME-RESPONS-OTOMATIS.png\" alt=\"\" width=\"824\" height=\"403\" srcset=\"https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/8_SISTEM-DETEKSI-DINI-KEBAKARAN-HUTAN-DENGAN-KAMERA-ESP32-DAN-MEKANISME-RESPONS-OTOMATIS.png 824w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/8_SISTEM-DETEKSI-DINI-KEBAKARAN-HUTAN-DENGAN-KAMERA-ESP32-DAN-MEKANISME-RESPONS-OTOMATIS-300x147.png 300w, https:\/\/filkom.ub.ac.id\/project\/wp-content\/uploads\/sites\/3\/2025\/06\/8_SISTEM-DETEKSI-DINI-KEBAKARAN-HUTAN-DENGAN-KAMERA-ESP32-DAN-MEKANISME-RESPONS-OTOMATIS-768x376.png 768w\" sizes=\"(max-width: 824px) 100vw, 824px\" \/><\/p>\n<h3><b>\ud83d\udc15 Demo<\/b><\/h3>\n<p><span style=\"font-weight: 400\">The system periodically captures images, processes them with the CNN model, and if fire is detected, activates the buzzer, turns on the water pump, and sends real-time data (classification results, water level status) to the AWS cloud dashboard via WiFi. A 2-second delay verification is implemented to reduce false positives.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><a href=\"https:\/\/drive.google.com\/file\/d\/1gPi_gY9533flUaJgrIiGtppEzE1DOUec\/view?usp=sharing\"><span style=\"font-weight: 400\" data-rich-links=\"{&quot;fple-t&quot;:&quot;Capstone.mp4&quot;,&quot;fple-u&quot;:&quot;https:\/\/drive.google.com\/file\/d\/1gPi_gY9533flUaJgrIiGtppEzE1DOUec\/view?usp=sharing&quot;,&quot;fple-mt&quot;:&quot;video\/mp4&quot;,&quot;type&quot;:&quot;first-party-link&quot;}\">Demo Video<\/span><\/a><\/p>\n<h3><b>\ud83d\udd2c Evaluation<\/b><\/h3>\n<p><span style=\"font-weight: 400\">Functional testing confirmed stable operation and execution of the programmed logic. Key strengths include the 2-second delay verification for false positive reduction, redundancy with two ESP32-CAM units, stable hardware integration, and real-time data transmission to AWS. Challenges include suboptimal CNN accuracy potentially leading to false positives and dependence on WiFi quality for cloud data transmission. Future improvements include enhancing detection accuracy with better training datasets, considering Raspberry Pi for improved processing, and upgrading camera quality.<\/span><\/p>\n<h2><b>\u2705 Conclusion<\/b><\/h2>\n<p><span style=\"font-weight: 400\">This project successfully developed an <\/span><b>early forest fire detection system with ESP32 cameras and automatic response mechanisms<\/b><span style=\"font-weight: 400\">. It effectively integrates image processing, automatic water pump and buzzer activation, and cloud monitoring. The project demonstrates the feasibility of a <\/span><b>low-cost yet effective solution<\/b><span style=\"font-weight: 400\"> for small-scale forest fire detection and mitigation, significantly contributing to early prevention efforts.<\/span><\/p>\n<h2><b>\ud83d\udcf2 Contact Us!<\/b><\/h2>\n<p><a href=\"https:\/\/www.linkedin.com\/in\/tengku-muhammad-fadlan-praditya-a4a356154\/\"><span style=\"font-weight: 400\">Tengku Muhammad Fadlan Praditya | LinkedIn<\/span><\/a><\/p>\n<p><a href=\"https:\/\/www.linkedin.com\/in\/azriel-darmawan-2ab309342\/\">Azriel Darmawan | Linkedln<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/TengkuFadlan\"><span style=\"font-weight: 400\">TengkuFadlan | GitHub<\/span><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Repositories:<\/span><\/p>\n<p><a href=\"https:\/\/github.com\/TengkuFadlan\/PeduliHutan-ESP32\"><span style=\"font-weight: 400\">TengkuFadlan\/PeduliHutan-ESP32<\/span><\/a><\/p>\n<p><a href=\"https:\/\/github.com\/TengkuFadlan\/PeduliHutan-Next.js\"><span style=\"font-weight: 400\">TengkuFadlan\/PeduliHutan-Next.js<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udc3e Project Name Sistem Deteksi Dini Kebakaran Hutan dengan Kamera ESP32 dan Mekanisme Respons Otomatis \ud83c\udf10 Project Domain This project falls under Artificial Intelligence of Things (AIoT) and environmental monitoring, focusing on developing an integrated technological solution for real-time forest fire detection and automatic response using ESP32-CAM cameras and machine learning algorithms. \ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1 Meet Our&#8230;<\/p>\n","protected":false},"author":349,"featured_media":4251,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[9],"tags":[],"class_list":["post-4249","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence-of-thing-aiot"],"_links":{"self":[{"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/posts\/4249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/users\/349"}],"replies":[{"embeddable":true,"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/comments?post=4249"}],"version-history":[{"count":2,"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/posts\/4249\/revisions"}],"predecessor-version":[{"id":4900,"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/posts\/4249\/revisions\/4900"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/media\/4251"}],"wp:attachment":[{"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/media?parent=4249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/categories?post=4249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/filkom.ub.ac.id\/project\/wp-json\/wp\/v2\/tags?post=4249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}