This project is an IoT-based fire detection and suppression system designed to improve the shortcomings of traditional fire alarm setups. It uses a multi-sensor grid to detect smoke and elevated temperatures, activates localized water pumps through relays, and transmits real-time alerts via ESP32 to a mobile app.
Built using Arduino UNO, ESP32, MQ2 smoke sensors, and DS18B20 temperature sensors, the system minimizes water waste by activating only the pump in the affected sector.
- π₯ Localized Detection using 2x2 sensor-pump grid (4 zones)
- π² Real-time Alerts through ESP32 to mobile application
- π§ Zone-wise Suppression using 4 individual 12V pumps
- π‘οΈ Multi-Sensor Input: MQ2 for smoke, DS18B20 for temperature
- π§ Microcontroller-based automation (Arduino UNO + ESP32)
- ποΈ Logs incidents with timestamp and sensor data
| Component | Quantity |
|---|---|
| Arduino UNO | 1 |
| ESP32 | 1 |
| MQ2 Smoke Sensor | 4 |
| DS18B20 Temp Sensor | 4 |
| 5V Relay Module (4-channel) | 1 |
| 12V Water Pumps | 4 |
| HW-131 Power Supply Module | 1 |
| Chassis, Breadboard, Wires | - |
1. Sensors take readings every second.
2. If both smoke and temp exceed threshold in a zone:
β Relay turns ON that zoneβs pump.
β ESP32 sends alert + data to mobile app.
3. After 15 seconds, if safe:
β Pump turns OFF.
β Alert stops.
β Event logged (timestamp + data).