Project tutorial
Arduino based Fire Fighting Robot using falme sensor

Arduino based Fire Fighting Robot using falme sensor © LGPL

How to make fire fighting robot using Arduino uno and flame sensor | arduino fire fighting robot.

  • 16,529 views
  • 1 comment
  • 7 respects

Components and supplies

Necessary tools and machines

Hy gluegun
Hot glue gun (generic)

About this project

Code

Arduino based Fire Fighting RobotC/C++
How to make fire fighting robot using Arduino uno and flame sensor | arduino fire fighting robot.In the event of a fire breakout, to rescue people and to put out the fire we are forced to use human resources which are not safe. With the advancement of technology especially in Robotics it is very much possible to replace humans with robots for fighting the fire. This would improve the efficiency of firefighters and would also prevent them from risking human lives. Today we are going to build a Fire Fighting Robot using Arduino, which will automatically sense the fire and start the water pump
In this project, we will learn how to build a simple robot using Arduino that could move towards the fire and pump out water around it to put down the fire. It is a very simple robot that would teach us the underlying concept of robotics; you would be able to build more.
#include <Servo.h>
Servo myservo;
 
int pos = 0;    
boolean fire = false;
#define Forward_S 8 //forward sensor
 #define LM1 2       // left motor
#define LM2 3       // left motor
#define RM1 4       // right motor
#define RM2 5       // right motor
#define pump 6
 
void setup()
{
  pinMode(Forward_S, INPUT);
  pinMode(LM1, OUTPUT);
  pinMode(LM2, OUTPUT);
  pinMode(RM1, OUTPUT);
  pinMode(RM2, OUTPUT);
  pinMode(pump, OUTPUT);
 
 }
 
void put_off_fire()
{
    delay (500);
 
    digitalWrite(LM1, HIGH);
    digitalWrite(LM2, HIGH);
    digitalWrite(RM1, HIGH);
    digitalWrite(RM2, HIGH);
    
   digitalWrite(pump, HIGH);
   delay(500); 
  }
  digitalWrite(pump,LOW);
  fire=false;
}
 
void loop()

    {
    //Do not move the robot
    digitalWrite(LM1, HIGH);
    digitalWrite(LM2, HIGH);
    digitalWrite(RM1, HIGH);
    digitalWrite(RM2, HIGH);
    }
    
    else if (digitalRead(Forward_S) ==0) //If Fire is straight ahead
    {
    //Move the robot forward
    digitalWrite(LM1, HIGH);
    digitalWrite(LM2, LOW);
    digitalWrite(RM1, HIGH);
    digitalWrite(RM2, LOW);
    fire = true;
    }
    
    
delay(300); //Slow down the speed of robot
 
     while (fire == true)
     {
      put_off_fire();
     }
}

Schematics

How to make fire fighting Robot using Arduino
In the event of a fire breakout, to rescue people and to put out the fire we are forced to use human resources which are not safe. With the advancement of technology especially in Robotics it is very much possible to replace humans with robots for fighting the fire. This would improve the efficiency of firefighters and would also prevent them from risking human lives. Today we are going to build a Fire Fighting Robot using Arduino, which will automatically sense the fire and start the water pump
In this project, we will learn how to build a simple robot using Arduino that could move towards the fire and pump out water around it to put down the fire. It is a very simple robot that would teach us the underlying concept of robotics; you would be able to build more.
Vlcsnap 2019 01 02 15h14m17s392 xbczticrys

Comments

Similar projects you might like

Arduino-Based Automatic Water Tap Using IR Sensor

Project tutorial by Creatjet3D R&D Team

  • 22,508 views
  • 8 comments
  • 27 respects

IoT Based Homemade Robot with Android and Voice Control Tech

Project showcase by Md Amirul Islam

  • 3,977 views
  • 1 comment
  • 10 respects

Amazing 6WD Off-Road Robot | Arduino RC Robot

Project tutorial by Jithin Sanal

  • 21,276 views
  • 1 comment
  • 82 respects

Arduino Bluetooth Robot for Android Device

Project showcase by aip06

  • 7,786 views
  • 2 comments
  • 23 respects

WiFi Robot

Project tutorial by Team Kartik

  • 6,612 views
  • 1 comment
  • 16 respects

WiFi ESP8266 and DHT22 Sensor

Project tutorial by hbolanos2001

  • 38,354 views
  • 7 comments
  • 31 respects
Add projectSign up / Login