Krushna Fapale
Team member
fapalekrushna3916Sanjivani University · Mechanical Engineering · Group 3
An Arduino robot that spots a flame with two IR sensors, turns toward it, closes in, sweeps a servo-aimed nozzle and fires a 3-second burst of water. Explore every part, trace the wiring and run the real firmware logic right in your browser.
01 Overview
What we built, why it matters and what we set out to learn.
A robotic system that detects fire and assists in fighting it. Ours uses an Arduino Uno as its brain and two IR flame sensors as its eyes.
When a sensor sees a flame, the robot turns toward it. Once the flame is straight ahead, the servo swings the nozzle across the fire zone and the mini water pump fires through a driver circuit. If the flame survives, the robot drives closer and tries again.
Fire accidents seriously damage lives, property and the environment. In dangerous areas it can be hard for people to get close to a fire, and manual firefighting exposes them to risk.
This project demonstrates how a small, low-cost robot can detect a flame and respond on its own, showing how automation and robotics can keep people at a safer distance.
Write, compile and upload the program to the Arduino Uno.
The control program that reads sensors and drives outputs.
Mechanical design and 3D modelling of the robot parts.
🖼️ Project poster
An intelligent robot to fight fires and save lives. Innovating for a safer tomorrow.
02 Hardware
Filter by role, search, and open any card for specs, pins and build tips.
03 Operation
Six stages, from power-up to water spray. Press play, or click a stage or a block.
04 Live simulator
A digital twin of FireFighterRobot.ino: same pins, same timings, same loop().
Move a flame and watch the robot turn toward it, spray, and close in if it falls short,
while the pins, the code and the Serial Monitor update live.
Try: drag a flame to the edge of a sensor cone and watch the robot turn · drag the robot or its ring · click empty floor to add a flame · double-click a flame to remove it · keys Space Q/E F Del
loop() trace05 Electronics
Hover a wire or a table row to follow it. Click a module to list only its pins, and use the legend to filter signal types.
| Arduino pin | In code | Connects to | Type | Note |
|---|
06 Firmware
Loaded live from firmware/FireFighterRobot in the repository. Press Explain for a guided tour of the important lines.
Loading firmware…
07 Build guide
Ten steps. Tick them off as you go; your progress is saved in this browser.
08 Impact
Real-world uses, an honest look at strengths and limits, and the upgrade roadmap.
09 Quick quiz
Ten questions, great for viva prep. Your best score is saved in this browser.
10 FAQ
No. It is an educational prototype that shows flame detection and an automatic response. Its small tank, short range and simple sensors are not suitable for real emergencies.
Most IR flame modules are active LOW: their DO pin sits HIGH (1) and drops LOW (0) when infrared from a flame crosses the threshold. That is why the code uses #define FLAME_ACTIVE LOW.
Both sensors face forward, about 14 cm apart. If only one sees the flame, it is off to that side, so the robot pivots toward it in 80 ms steps. When both see it (or it jumps to the other sensor right after a turn) the flame is straight ahead, so the robot sweeps and sprays. If the flame survives, it drives 300 ms closer and sprays again. Watch it in the simulator.
A motor is wired the other way round. Swap that motor's two wires on the L298N terminal (OUT1/OUT2 or OUT3/OUT4). If the whole robot reacts to the wrong side, swap the A0 and A1 sensor wires.
Sunlight and incandescent bulbs emit the same infrared band as flames. Turn the module's potentiometer to lower the sensitivity, shade the sensors, and test indoors. Try the ☀️ Sunlight switch in the simulator to see the effect.
This is almost always power. Run the pump and motors from the battery (not the Arduino's 5 V), put a flyback diode across the pump, add a large capacitor (for example 470 µF) near the servo, and connect all grounds together.
Edit config.h. Every pin and timing, such as PUMP_PIN or PUMP_ON_MS, is defined there, so FireFighterRobot.ino does not need to change.
11 Team
Department of Mechanical Engineering · Sanjivani University, Kopargaon · Group 3
Team member
fapalekrushna3916
Team member
gharevaibhav90The Fire Fighter Robot brings together an Arduino, flame sensors, motor control and a pump-driven nozzle in one small educational system. It shows how mechanical engineering, electronics and automation meet in a real, working machine.