An Embedded Robotics System for Fire Detection, Autonomous Navigation, and Fire Suppression
The Smart Autonomous & Remote-Controlled Firefighting Robot is an embedded robotics project designed to detect, locate, and suppress fire hazards autonomously while also providing a manual remote-control mode.
The robot combines multiple sensing and control technologies:
- 🔥 Flame sensors for fire detection
- 🌫️ Gas sensor for hazardous gas monitoring
- 📏 Ultrasonic sensor for obstacle avoidance
- 📡 Bluetooth communication for remote control
- 🚗 Differential drive navigation
- 💧 Automatic water pump fire suppression
The system is developed using an ESP32/Arduino embedded platform, focusing on real-time sensor processing, decision-making, and robotic control.
The main objectives of this project are:
- ✅ Detect fire sources using flame sensors
- ✅ Determine fire direction using multiple sensors
- ✅ Monitor hazardous gas levels
- ✅ Navigate safely while avoiding obstacles
- ✅ Provide Bluetooth-based manual control
- ✅ Automatically activate the water pump
- ✅ Send status feedback during operation
🔥 Detect → 📍 Localize → 🚗 Navigate → 💧 Extinguish
The firmware is developed using Embedded C/C++ and focuses on real-time task management and hardware synchronization.
The robot uses a differential drive mechanism that allows independent control of the left and right motors.
- Independent motor control
- Forward and backward movement
- Left and right rotation
- Precise direction correction
- Smooth navigation
The movement system is controlled through dedicated functions:
moveForward();
moveBackward();
turnLeft();
turnRight();
stopMotors();These functions allow the controller to manage robot movement according to sensor feedback and user commands.
The robot follows a priority-based decision system:
| Priority | Task |
|---|---|
| 1 | Gas Detection |
| 2 | Obstacle Avoidance |
| 3 | Fire Localization |
| 4 | Manual Bluetooth Commands |
This hierarchy ensures that critical safety events are handled first.
The robot uses three flame sensors:
- Left flame sensor
- Center flame sensor
- Right flame sensor
The sensors allow the robot to estimate the fire direction.
Example:
Left Sensor Detection
↓
Turn Left
Center Sensor Detection
↓
Move Forward
Right Sensor Detection
↓
Turn Right
A gas sensor is integrated to monitor hazardous gas presence.
The robot continuously checks environmental conditions and includes gas detection as a high-priority safety task.
The ultrasonic sensor provides distance measurement to detect obstacles.
Functions:
- Measure distance
- Prevent collisions
- Improve navigation safety
The robot supports two operation modes:
In autonomous mode, the robot performs the firefighting mission without human intervention.
Workflow:
Environmental Monitoring
↓
Fire Detection
↓
Fire Localization
↓
Obstacle Checking
↓
Navigation Toward Fire Source
↓
Safe Distance Stop (~12 cm)
↓
Water Pump Activation
↓
Return To Monitoring
- Sensors continuously monitor the environment.
- Flame sensors detect fire.
- The robot identifies the fire direction.
- The robot moves toward the fire source.
- Ultrasonic sensing avoids obstacles.
- Robot stops at approximately 12 cm.
- Water pump activates for suppression.
- Robot returns to monitoring mode.
The user can control the robot remotely using Bluetooth commands.
| Command | Action |
|---|---|
| F | Move Forward |
| B | Move Backward |
| L | Turn Left |
| R | Turn Right |
| P | Pump ON |
| C | Pump OFF |
Example mission:
1. Robot monitors environment
2. Fire detected by flame sensors
3. Fire direction calculated
4. Robot navigates toward the source
5. Obstacles avoided using ultrasonic sensor
6. Robot stops at safe distance (~12 cm)
7. Water pump activated
8. Fire suppression completed
9. Robot resumes monitoring
Sensors
|
↓
ESP32 Controller
|
┌────────────┼────────────┐
↓ ↓ ↓
Motors Water Pump Bluetooth
↓ ↓ ↓
Movement Suppression Remote Control
Sensors:
- Flame Sensors
- Gas Sensor
- Ultrasonic Sensor
Smart-Autonomous-Firefighting-Robot/
├── assets/
│ ├── firefighting_robot_banner.gif
│ └── robot_demo.gif
│
├── docs/
│ ├── Autonomous_Firefighting_Robot_Report.docx
│ └── Autonomous_Firefighting_Robot_Presentation.pptx
│
├── src/
│ └── Firefighting_Robot_Main.ino
│
└── README.md
Complete project documentation:
-
📄 Project Report
docs/Autonomous_Firefighting_Robot_Report.docx -
📊 Project Presentation
docs/Autonomous_Firefighting_Robot_Presentation.pptx
The prototype successfully demonstrates:
- ✅ Autonomous fire detection
- ✅ Fire localization
- ✅ Gas monitoring
- ✅ Obstacle avoidance
- ✅ Bluetooth remote control
- ✅ Automatic water suppression
- ✅ Embedded real-time control
Possible improvements:
- 📷 AI-based fire detection using computer vision
- 🌡️ Thermal camera integration
- 🗺️ Autonomous mapping
- 📱 Mobile application monitoring
- ☁️ IoT remote supervision
- 🤖 Advanced navigation algorithms
- ESP32 / Arduino
- Flame Sensors
- Gas Sensor
- Ultrasonic Sensor
- DC Motors
- Motor Driver
- Bluetooth Communication Module
- Water Pump
- Buzzer
- Embedded C/C++
- Arduino IDE
- Sensor Integration
- Robotics Control
- Real-Time Embedded Systems
