IoT based Fire Intimation and Fire Extinguisher Robot with Call & Messages Alert through GSM Sim Card
Abstract – Major incidentarecausedbyunawarenessofthe potential cause and leads to heavy damages. The incident if reported and intimated at earliest to the right person straight away helps to minimize the impact of the fireincident.Various area which are very remote place and difficult for continuous human surveillance can be monitor by fire detection techniques which could be fixed sensor based or smoke detectors, but sensors have limitation of place they have been installed and may not be accurate or effective for detecting any fire hazard at early stage. If all these things are considered, then one can estimate the big losses can be minimize and by taking corrective preliminary action onecan save damage going to cause to any material, warehouse,store items etc. The purpose is to achieve best efficient intimation technique with maximum effectiveness to various type structured and designed rooms, storage facilities andsomany long architects which need safety and precautions from potential fire hazards.
Key Words: GSM Sim, Call Alert, Arduino Uno, Flame sensor, smoke detector, servo motor.
1.INTRODUCTION
Fireisoneofthemostdangerousemergenciesthatastorage facility, warehouse, any architectural construction can experience. In case of a fire, it's important for first responderstobeasquickaspossibleandtoknowwherethe fireis.WiththeincreasinguseofIoTdevicesinbuildings,it's naturaltowonderhowthistechnologycouldbeusedinthe emergencyresponseteam.
A fire detection robot has been developed that uses GSM signals to send notification alerts to the concern people relatedtothatbuildingwhenthereisafire.Therobotwill alsosendimagesofthescenetotheauthoritiessothatthey canrespondmorequickly.
This innovative project provides an improved way of notifyingpeopleinsideabuildingincaseofafire.Byusing GSMsignals,thenotificationsystemisrapidandefficient
Intoday'sworld,almosteverythingisconnected.Fromour carstooursmartphones,werelyonelectronicsystemstodo ourjobs.Unfortunately,thesesameelectronicsystemscan alsoposeadangerwhenthey'renotproperlymanagedor monitored.Inthispaper,wewilldiscussoneIoT-basedissue -fire.Fireisoneofthemostcommonanddeadliestdisasters
in modern society. Every year, fire kills more people than weapons accidents and car crashes combined. Fire emergency response requires personnel with specialized knowledgeandequipment,whichcanbedifficulttodeploy in an emergency when distances are large and communicationlinesareblockedbysmokeorflames.
Thankfully,wehavedevelopedtechnologiesthatallowusto remotely control devices and warn people about emergencies. One such technology is IoT-based fire alarm system. With this system, firefighters can directly receive alerts about fires from sensors installed throughout the building or area they are trying to contain. This system allows firefighters to dispatch the correct amount of personnelbasedonthesituationathand.
We hope this paperhasillustrated theimportance of IoTbasedfirealarmsystemsanddemonstratedtheirusefulness inemergencyresponsetimes.Webelievethatthesesystems will play an increasingly important role in disaster preparedness as our world becomes increasingly interconnected
1.1 Related Work
Automatic AI Fire detection and alert sending robot with water extinguisher mechanism has been created to help people detect fires and send alerts in real time. This technology uses several sensors to detect fires, as well as identifyanypotentialwatersourcesthatcouldbeusedtoput outthefire.Oncetherobothasdetectedafireorapotential watersource,itwillsendanalerttoyourphone.
Thistechnologycouldsavelives;notonlybydetectingfires, butalsobysendingalertsinrealtime.Ifyouareeverworried abouta fireinyourhome,automatic AIFiredetectionand alertsendingrobotwithwaterextinguishermechanismcould beaninvaluabletoolforyou.
Arduino Uno board has been used as main controller for brain of the robot. It has been programmed using C programming.
3.
Diagramismade usingfritzing. Controllerused in protois ArduinoUno TheArduinoUnocomeswithUSBinterface,6 analog input pins, 14 I/O digital ports that are used to connectwithexternalelectroniccircuits.Outof14I/Oports, 6pinscanbeusedforPWMoutput
Unoisamicrocontrollerboardbasedon8-bitATmega328P microcontroller.AlongwithATmega328P,itconsistsother componentssuchascrystaloscillator,serialcommunication, voltageregulator,etc.tosupportthemicrocontroller.
The software used for Arduino devices is called IDE (IntegratedDevelopmentEnvironment)whichisfreetouse
and required some basic skills to learn it. It can be programmedusingCandC++language.
3. Logic and Codes –
/* ArduinoFireFightingRobotver2.0Code */
#include<Servo.h> //includeservo.hlibrary
#include <SoftwareSerial.h> //include SoftwareSerial.h library
Servomyservo;
intpos=0; booleanfire=false;
const String PHONE = "+919403369629"; //use your numberwithcountrycode
#definerxPin2
#definetxPin3
SoftwareSerialsim800L(rxPin,txPin);
#defineLeft4 //leftsensor
#defineRight5 //rightsensor
#defineForward6 //frontsensor
#defineGAS_SENSOR7 //Gassensor
#defineLM18 //leftmotor
#defineLM29 //leftmotor
#defineRM110 //rightmotor
#defineRM211 //rightmotor
#definepump12 //waterpumb
voidsetup() {
Serial.begin(115200); sim800L.begin(9600);
sim800L.println("AT"); delay(1000); sim800L.println("AT+CMGF=1"); delay(1000);
pinMode(Left,INPUT);
pinMode(Right,INPUT);
pinMode(Forward,INPUT);
pinMode(GAS_SENSOR,INPUT);
pinMode(LM1,OUTPUT);
pinMode(LM2,OUTPUT);
pinMode(RM1,OUTPUT);
pinMode(RM2,OUTPUT);
pinMode(pump,OUTPUT);
myservo.attach(13); myservo.write(90);
while(sim800L.available()){ Serial.println(sim800L.readString()); } } voidput_off_fire() {
digitalWrite(LM1,HIGH); digitalWrite(LM2,HIGH); digitalWrite(RM1,HIGH); digitalWrite(RM2,HIGH); digitalWrite(pump,HIGH); delay(500);
for(pos=50;pos<=110;pos+=1){ myservo.write(pos); delay(10);
}
for(pos=110;pos>=50;pos-=1){ myservo.write(pos); delay(10);
}
digitalWrite(pump,LOW); myservo.write(90); fire=false; }
voidloop() { myservo.write(90);//Sweep_Servo();
if (digitalRead(Left) ==1 && digitalRead(Right)==1 && digitalRead(Forward)==1)
{ delay(500); digitalWrite(LM1,HIGH); digitalWrite(LM2,HIGH); digitalWrite(RM1,HIGH); digitalWrite(RM2,HIGH);
} elseif(digitalRead(Forward)==0)
{ digitalWrite(LM1,HIGH); digitalWrite(LM2,LOW);
digitalWrite(RM1,HIGH); digitalWrite(RM2,LOW); fire=true;
} elseif(digitalRead(Left)==0) { digitalWrite(LM1,LOW);
digitalWrite(LM2,LOW); digitalWrite(RM1,HIGH); digitalWrite(RM2,LOW); }
elseif(digitalRead(Right)==0) { digitalWrite(LM1,HIGH); digitalWrite(LM2,LOW); digitalWrite(RM1,LOW); digitalWrite(RM2,LOW); } delay(220);//changethisvaluetochangethedistance
if(digitalRead(GAS_SENSOR)==0)
{
Serial.println("GasisDetected."); send_sms(); }
while(fire==true) { put_off_fire();
Serial.println("FireDetected."); make_call(); }}
voidmake_call() {
Serial.println("calling...."); sim800L.println("ATD"+PHONE+";"); delay(20000);//20secdelay sim800L.println("ATH"); delay(1000);//1secdelay }
voidsend_sms()
{ Serial.println("sendingsms...."); delay(50);
sim800L.print("AT+CMGF=1\r"); delay(1000);
sim800L.print("AT+CMGS=\""+PHONE+"\"\r"); delay(1000);
sim800L.print("GasDetected"); delay(100);
sim800L.write(0x1A); delay(5000);
Infrared Sensor Flame Sensor used to detect fire. Wave lengthitcandetectis760nmto1100nm.Ithasadjustable thresholdvalue.Ithasoperatingvoltageof5VDC.
Smoke Sensor used is MQ-2 Semi-conductor sensor for combustiblegassuchasbutane.SensitivematerialofMQ-2 gassensorisSnO2,whichwithlowerconductivityinclean air. When the target combustible gas exists, the sensor’s conductivity is higher along with the gas concentration rising.MQ-2gassensorhashighsensitivitytoLPG,Propane and Hydrogen, also could be used to Methane and other combustible steam, it is with low cost and suitable for differentapplication.
Fig.4showsthetypicalsensitivitycharacteristicsoftheMQ2, ordinate means resistance ratio of the sensor (Rs/Ro), abscissa is concentration of gases. Rs means resistance in differentgases,Romeansresistanceofsensorin1000ppm Hydrogen.Alltestsareunderstandardtestconditions.
MQ-2 Sensor has affect as shown in fig. 5 due to atmosphericallyconditionsoftemperatureandhumidity.Its sensitivitygetsreduceasperrangegetsincrease.
The5Vrelayusedtolatchwaterpumpafterdetectionoffire. Therelaycanbeusedtotriggeranyfireextinguisherinplace ofwaterpump.Wecanusethispointasactivation.
Tosendcallandmessagealerts,protohasprovisionofGSM SIM800L module. It works on 2G network bandwidth. It requirestextmessagerechargeandtalktimebalance.
CompletemoduleprotoispoweredbyAAtwonumbersof batterieswhicharerechargeable.
Logic behind the sensor is to send text message alert on registeredmobilenumberinArduinoprogram.Thetextcan isselectableandcurrentlythetextgetsas‘GasDetected’.
ThemotorsareusedareBOMotor,whichconvertshigher RPMtolowerRPMwithhighertorquebyitsgearrationand setup.ItworksonDCVoltage.
Future Scope
IOT can be implemented onto the robot to control it from another location in manual mode. More sensors can be mountedtoachieveabetterperformanceandwecanalso reducethereactiontimedetectingthefiresource.Withthe addition of a 360º camera we can achieve a great field of view.Thestoragecanbereplacedwithawaterpipelinefor extinguishinglargerfiresource.Colordetectionoffireisnot veryreliable.Henceathermalcameracanbeinstalledrather than the USB camera to achieve better detection of fire sourcebasedonintensity.
Conclusion
Accidents brought on by fire can cause serious injury and property damage. In addition to a thorough evaluation of manyfire-fightingrobots,thispaperdiscussesautonomous robotsforfiredetectionandextinguishment.Abettersystem formonitoringwaterqualitywilldefinitelyarisefromthis, andpromptinterventioncanmakethewatersuppliessafe. Although there have been many effective fire-fighting gadgets,thestudyissueisstilldifficult.Thisdocumentgives asummaryofthecurrentresearchbeingdonetoimprove
fire-fightingrobotintelligence,cost,andeffectiveness.The application of cutting-edge sensors to measure various qualityparametersandtheuseofwirelesscommunication standardstoincreaseproductivity
ACKNOWLEDGEMENT
Theauthorscanacknowledgeanyperson/authoritiesinthis section.Thisisnotmandatory.
REFERENCES
[1] Vol. 2, Issue 1, pp: (42-46), month: April 2015 –September 2015 at International journal of recent research in mathematics computer science and informationtechnology
[2] Volume6,Issue2April2018,ISSN:2320-2882
[3] Design and study of firefighting robot, International journalofEngineeringResearch&Technology(IJERT) ISSN:2278-0181Vol.6Issue04,April-2017
[4] GoogleSearchEngineforTechnicaldatasheetsofused components
[5] Hossain,MdAnowar,HimaddriShakharRoy,MdFazlul Karim Khondakar, Md Hasib Sarowar, and Md Azad Hossainline. "Design and Implementation of an IoT BasedFirefightingandAffectedAreaMonitoringRobot." In 2021 2nd International Conference on Robotics, ElectricalandSignalProcessingTechniques(ICREST), pp.552-556.IEEE,2021.
[6] Pramod, B.N., K.N.Hemalatha, B. J. Poornima, and R.Harshitha."FireFightingRobot."In2019International Conference on Information and Communication Technology Convergence (ICTC), pp. 889-892. IEEE, 2019.
[7] Ramasubramanian, Sreesruthi, Senthil Arumugam Muthukumaraswamy, and A. Sasikala. "Fire Detection usingartificialintelligenceforfire-Fightingrobots."In 2020 4th International Conference on Intelligent ComputingandControlSystems(ICICCS),pp.180-185. IEEE,2020.
[8] Mittal, Shiva, Manish Kumar Rana, Mayank Bhardwaj, MeenakshiMataray,andShubhamMittal."CeaseFire: thefirefightingrobot."In2018InternationalConference onAdvancesinComputing,CommunicationControland Networking(ICACCCN),pp.1143-1146.IEEE,2018.
[9] Raj, P. Anantha, and M. Srivani. "Internet of Robotic Thingsbasedautonomousfire-fightingmobilerobot."In 2018IEEEInternationalConferenceonComputational Intelligence and Computing Research (ICCIC), pp. 1-4. IEEE,2018.
[10] Sampath,B.Swetha."Automaticfireextinguisherrobot. " In 2011 8th International Conference on Ubiquitous RobotsandAmbientIntelligence(URAI),pp.215-218. IEEE,2011.
[11] Aliff, Mohd, M. Yusof, nor Samsiah Sani, and Azavitra Zainal. "Development of firefighting robot (QROB)."Development10,no.1(2019).
[12] Chien, Ting L. , H. Guo, Kuo L. Su, and Sheng V. Shiau. "Developamultipleinterfacebasedfirefightingrobot." In2007IEEEInternationalConferenceonMechatronics, pp.1-6.IEEE,2007
BIOGRAPHIES
1. RahulSonawane StudentatBCOE,Badlapur Dept.ofMechanicalEngineering
2. ShashankSingh StudentatBCOE,Badlapur Dept.ofMechanicalEngineering
3. AniketSolkar StudentatBCOE,Badlapur Dept.ofMechanicalEngineering
4. KamleshSonawane StudentatBCOE,Badlapur Dept.ofMechanicalEngineering
5. Prof.YogeshShekate FacultyofMechanicalEngineering, BCOE,Badlapur