AUTOMATIC FIRE FIGHTING SYSTEM
The Automatic Fire Fighting System is an Arduino Nano based project that detects a flame using a flame sensor and automatically turns ON a water pump when a flame is detected.
The flame sensor is connected to digital pin D11. When a flame is detected, the Arduino activates the pump through a motor driver. When there is no flame, the pump remains OFF.
Supplies
Deshbot shield
nano
flame sensor
water pump
Circuit Connections
Flame Sensor
Flame Sensor PinArduino Nano
VCC - 5V
GND - GND
DO - D11
Pump Motor Driver
Motor DriverArduino Nano
IN1 - D8
IN2 - D9
The water pump is connected to the motor driver and should use a suitable external power supply.
Working Principle
The flame sensor detects infrared radiation produced by a flame.
The Arduino Nano reads the digital output of the flame sensor using:
In this project, the sensor is configured so that:
When a flame is detected, the Arduino turns ON the pump.
When no flame is detected, the Arduino turns OFF the pump.
Flame Detection
When the flame sensor detects a flame:
The Arduino activates the motor driver:
The pump starts running and can spray water toward the detected fire.
The Serial Monitor displays:
No Flame Condition
When the flame sensor does not detect a flame:
The Arduino switches OFF the pump:
The Serial Monitor displays:
Downloads
Conclusion
The Automatic Fire Fighting System demonstrates how an Arduino Nano can detect a flame and automatically control a water pump.
When the flame sensor detects a flame, the Arduino receives a LOW signal on D11 and turns the pump ON through D8 and D9. When the flame is no longer detected, the pump is switched OFF.
This project demonstrates flame sensing, digital input, motor-driver control, and automatic fire-response logic using an Arduino Nano.