element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino Projects
  • Products
  • Arduino
  • Arduino Projects
  • More
  • Cancel
Arduino Projects
Blog Automatic Fire Detection and Extinguishing Robot Using Arduino
  • Blog
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Rithik_Krisna
  • Date Created: 31 May 2024 12:52 PM Date Created
  • Views 3132 views
  • Likes 5 likes
  • Comments 6 comments
  • arduino_projects
  • Automatic Fire Detection and Extinguishing Robot Using Arduino
  • Flame sensor
Related
Recommended

Automatic Fire Detection and Extinguishing Robot Using Arduino

Rithik_Krisna
Rithik_Krisna
31 May 2024
Automatic Fire Detection and Extinguishing Robot Using Arduino

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

In this project, we'll build a simple fire-fighting robot using 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 get started!

Materials Required:
- 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:

Here is the complete circuit diagram for the Fire Fighting Robot:

image

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

Depending on your chassis, you might need to modify the container setup for the pump. I used a small aluminum can for the water tank and mounted it on a servo motor to control the water direction. I attached the servo fin to the bottom of the can with hot glue and fixed the servo motor to the chassis with nuts and bolts. The pump inside the can pushes water through a tube, and the servo rotates the can to control the water direction.


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.

You can find the details of the code in the conclusion part.



Working of Fire Fighting Robot:

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.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

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.


Conclusion:

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

  • Sign in to reply
  • beacon_dave
    beacon_dave over 1 year ago in reply to kmikemoo

    "...I do like the sweeping motion of the "water cannon"...."

    It would be interesting to see if some form of a simple spray nozzle attachment would help dampen down and extinguish the fire upon approach.

    Also perhaps there is some potential for adding a foaming agent into the spray.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo over 1 year ago in reply to DAB

    Something that I learned only a couple of years back was that some metal fires burn so hot that they actually ignite the chemicals in a dry chemical fire extinguisher. Scream
    I was also surprised to learn that water was still the weapon of choice in fighting electric car battery fires.  During that session, I gained a new appreciation for how complicated it can be to fight a fire.

    I do like the sweeping motion of the "water cannon". Laughing

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Rithik_Krisna
    Rithik_Krisna over 1 year ago in reply to DAB

    yes, of course there is.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago

    I like the idea, but there are some fires that water should not be used on.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo over 1 year ago

    NICE!!  Great project.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube