Fire Fighting Robot Using ARDUINO UNO

by Rithik0 in Circuits > Arduino

260 Views, 2 Favorites, 0 Comments

Fire Fighting Robot Using ARDUINO UNO

DIY-Arduino-based-Fire-Fighting-Robot (1).jpg

Fire accidents still occur despite numerous precautions, risking human lives during rescues and firefighting. However, with advancements in robotics, we can now replace humans with robots for firefighting, enhancing both efficiency and safety.

In this project, we'll build a simple fire-fighting robot using an Arduino that detects fire, moves towards it, and pumps water to extinguish it. This basic robot will teach the fundamental concepts of robotics, paving the way for creating more advanced robots in the future. 

Let's dive in and build a robot that can save the day—one flame at a time!

Supplies

- Arduino UNO

- Fire sensor or Flame sensor (3)

- Servo Motor (SG90)

- L293D motor driver module

- Mini DC Submersible Pump

- Small breadboard

- Robot chassis with motors (2) and wheels (2)

- Small can

- Connecting wires

Circuit Diagram

DIY-Arduino-based-Fire-Fighting-Robot-circuit-diagram.png

Connect all the shown connections either before or after assembling the bot. The connections are simple and straightforward.

Depending on your chassis, you might need to tweak the container setup for the pump. I used a small aluminum can as the water tank, mounted on a servo motor to control water direction. Hot glue secured the servo fin to the can, and nuts and bolts fixed the servo to the chassis. The pump inside the can pushes water through a tube, and the servo rotates the can to aim the water.

Time to channel your inner engineer and get assembling!

Programming Your Arduino

Once your hardware is ready, upload the Arduino code. Key parts of the code are explained below.

The fire sensor outputs HIGH when fire is detected and LOW when no fire is detected. Continuously check the sensors and stop the motors if no fire is detected. If fire is detected, the robot moves towards it. When the fire is directly ahead, the robot moves forward and sets a variable `fire` to true.

When `fire` is true, the robot executes the `put_off_fire` function until the fire is extinguished. In `put_off_fire()`, the robot stops, turns on the pump, and uses the servo motor to spray water uniformly.

For the nitty-gritty details of the code, check out the conclusion section. Time to get coding and let your robot save the day!

Working Demonstration

Test the robot step-by-step: first, ensure it can follow the fire using the sensors, then check the pump and servo motor functionality. Once everything works, run the complete program.


The robot's fire detection range depends on the fire size. Adjust the sensor sensitivity using the potentiometers on the modules. I powered the robot with a power bank, but you can use a battery or a 12V power source. Explore our Robotics Section for more DIY projects.

Time to bring your robot to life and let it fight fires like a pro!

Conclusion

This project demonstrates how to build a basic Fire Fighting Robot using Arduino, capable of detecting and extinguishing fires autonomously. For detailed explanations, code, and additional resources, please visit our comprehensive article, Arduino Based Fire Fighting Robot.