Anda di halaman 1dari 8

Fire Alarming and Authentication System for

Workhouse using Raspberry Pi 3 in IOT


T
TB.TSREENIVASAN,M.Tech1,M.Balaji2,TA.Kalyani3,K.BharathT4,S.BhaskarTNaiduT5T
1
DepartmentTofTElectronicsTandTCommunicationTEngineeringT
JNTUATUniversity
Email:Tbalaji.matta.143@gmail.com,Talimisettykeerthi@gmail.com,Tbhaskarsompalli413@gmail
.com,bharat.k.k87@gmail.com.

Abstract—Ensuring minimum rights and safety of the garment electricityTsupplyTwhenTfireTbreaksTout,TandTitTtakesTaTl


workers has become a burning issue nowadays. The workers of otTofTtimeTforTtheTfireTserviceTtoTreachTtheTdisasterTsp
garment factories are facing some labyrinths and broken out of ot.InTthisTperspective,TaTsystemTtoTdetectTfireTandTalarm
fire is surely one of them. The investors are losing their interest TtheTemployeesTbeforeTitTbreaksToutTisTaTcryingTneed.T
and the prominence of this sector is getting toneless. In this InTthisTpaper,TweTdesignedTanTIOTTbasedTfireTalarming
paper, we have propounded a system which is capable to detect TsystemTtoThelpTdetectTfireTasTsoonTasTpossibleTandTsa
fire and can provide the location of the affected region. veTpreciousThumanTlives.TTheTsystemTwillTuseTseveralTs
Raspberry Pi 3 has been used to control multiple Arduino which ensorsTtoTdetectTanyTsymptomsTofTfire.TTheTsensorsTwil
are integrated 1with a couple of sensors and camera. A 360○ relay
lTbeTplacedTonTproperTplacesTafterTdoingTsurveysTonTth
motor is assembled with the camera so that it can snap the image
eTfactoryTforTitsTvulnerableTplacesTofTfire.TAfterTchoosi
in whatever angle the fire is detected. We have provided a
confirmation of the fire suspecting system to avoid any false
ngTtheTbestTplacesTforTplacingTtheTsensors,TtheTsensorT
alarm. The system will immediately send a message along with willTbeTactivated.TTheTdataTcollectedTbyTsensorsTwillTbe
the image of the affected spot and Arduino’s location. An admin TsentTtoTArduinoTmicrocontrollersTplacedTonTvariousTpla
can confirm or deny theT impeachment and if the admin ces.TTheTmicrocontrollerTwillTthenTprocessTtheTdata.TAll
confirms the situation as a breaking out of fire, then the system TtheTmicrocontrollersTwillTbeTcontrolledTcentrallyTbyTRas
will immediately raise an alarm and an automatic message will be pberryTPiTmicrocomputer.TIntelligentTalgorithmTisTusedTt
sent to the nearby fire brigade. oTdecideTwhenTtoTstartTalarmTforTfire.TBesides,TtheTsyst
emTwillTstopTgasTandTelectricityTsuppliesTonTsensingTfir
Keywords—
eTbreakToutTandTwillTstartTfiringTsuppressionTsystem,Tlik
TFireTDetection;TRaspberryTPi;TWiFiTmodule;TSensors;TArdui
eTopeningTfireTextinguishingTwaterTvalves.TAtTtheTsame
no;TCamera;TAuthentication;TNotification.
TtimeTtheTsystemTwillTsendTSMSTusingTGSMTmoduleTt
I. INTRODUCTION oTtheTnearbyTfireTserviceTstationTinformingTthemTofTthe
Tincident.TTheTsystemTwillTalsoTinformTtheTlocationTofT
TheTReadyTMadeTGarmentsT(RMG)TindustryTisTtheT theTfireTtoTtheTadministratorTusingTGPSTmodule.TSeveral
mainTdrivingTforceTofTtheTeconomyTofTBangladesh.TThe TtypesTofTsensorsTwillTbeTused,TforTexample,Ttemperatur
TRMGTsectorTofTBangladeshTisTtheTmainTcatalystTbehin eTsensor,TgasTsensor,TsmokeTsensor,TflameTsensor,Tetc.
dTtheTaveragedTGDPTgrowthTrate.TOverT4.2TmillionTem
ploymentTopportunitiesThaveTbeenTprovidedTbyTthisTsecto II. RELATED WORKS
r.TMoreTthanTaTmillionTlaborersTareTworkingTinTtheseTg
armentsTfactories.TButTthisToutstandingTgrowthTisTbeingT SowahTet.Tal.T[3]TdesignedTandTimplementedTaTfireT
challengedTbyTtheTfrequentTaccidentsTinTfactoriesTandTin detectionTsystemTforTvehicleTusingTfuzzyTlogic.TTheyTus
dustries. edTtemperature,TflameTandTsmokeTsensorsTforTsensingTfir
e.TTheTsystemTalsoTcanTextinguishTfireTinT20TsecondsTa
OverTtheTpastTdecadeTtheTRMGTsectorTofTBanglades ndTtheyTusedTtheTair-
hThasTbeenTthroughTaTnumberTofTtragicTaccidents.TTheT conditioningTsystemTforTextinguishingTfire.TTheTauthorTin
majorityTofTthoseTaccidentsTwereTcausedTbyTfire.TOnT24 T[4]TproposedTaTparadigmTforTdetectingTforestTfireTwith
TNovemberT2012,TfireTtookT117TlivesTinT“TazreenTFashi TtheThelpTofTwirelessTsensorTnetwork.TTheTauthorsThave
onTfactory”TinTcapitalTDhakaT[1].T8TlivesTwereTlostTwh TfocusedTonThowTtoTprocessTtheTdataTcollectedTbyTtheT
enTaTfireTbrokeToutTatTaTtextileTfactoryTinTtheTMirpurT sensorsTratherTthanThowTtoTdetectTorTsenseTtheTfire.TTh
industrialTdistrictTonTMayT9,T2013.TOnT14TDecemberT20 eyTusedTneuralTnetworkTforTprocessingTtheTcollectedTdat
10,T30TpeopleTdiedTandT200TwereTseriouslyTinjuredTwhe aTandTmakeTtheTnetworkTenergyTefficient.TATfireTalarmi
nTfireTbrokeToutTatTtheTgarmentTfactory,T“That’sTItTSpo ngTsystemTbasedTonTvideoTprocessingTpropoundedTinT[5]
rtswearTLtd"TinTAshulia,TDhaka.TTwentyTtwoTlivesTwere .TTheyTusedTsmokeTcolorTandTspreadingTcharacteristicsTo
TlostTwhenTaTdeadlyTfireTbrokeToutTatTtheT"GaribTandT fTsmokeTtoTdetectTpossibleTfireToutbreak.TButTprocessing
Garib"TfactoryTinTGazipur,TDhakaTonTFebruaryT2010T[2] TtheTimagesTisTtimeTconsumingTandTneedsTsophisticated
.TThisTincidentTshowsTthatTmanyTgarmentTfactoriesTdoTn Tresources.TInTcaseTofTaTgarmentTfactory,TtheTfireTshoul
otThaveTproperTfireTpreventionTandTrescueTsystem.THund dTbeTdetectedTasTsoonTpossibleTbecauseTtheTgarmentsTar
redsTofTfactoriesTareTvulnerableTtoTfireTbrokeToutTbecau eTveryTmuchTsusceptibleTtoTfire.TInT[6],TaTfireTmonitori
seTtheTfactoriesTareTveryToldTandTlackTfireTdetectionTtec ngTandTcontrolTsystemTwasTdesignedTwhereTtheyTusedTv
hnology.TMoreover,TmostTofTtheTfactoriesT doT notT have ariousTsensorsTlikeTflame,Tsmoke,TgasTsensorsTforTdetect
T anT automaticT systemT toT stopT fuelT and ingTfireTandTstaringTfireTextinguishingTprocess.
Fig.T1.TSystemTArchitecture.

TheyTalsoTusedTtheTGSM/GPSTsystemTforTlocatingTt agentsTcollectTdataTfromTtheTsensorTnodesTandTreturnTth
heTexactTlocationTofTtheTfire.TInTourTproposedTsystem,T emTtoTtheTsink.TTheyTdidTnotTimplementTtheTsystem.
weTareTusingTmoreTsensorsTthanTtheTaforementionedTsyst
emTandTweTprocessTthemTcentrallyTusingTRaspberryTPiT III. SYSTEMTDESCRIPTION
computerTwhichTcanThandleTaTlotTofTArduinoTalongTwit A. System Architecture
hTsensorsTveryTsmoothlyTandTefficiently.
TheTpropoundedTautonomousTsystemTusesTRaspberryT
FuziTet.Tal.T[7]TdesignedTaTfireTalertTdetectionTsyste PiT3TasTmainTdevice,TArduinoTMegaTasTsecondaryTdevic
mTwithTZigBeeTwirelessTmodule.TTheTsystemTconsistsTo eTandTconsistsTofcoupleTofTsensorsTandTmoduleTwhichTa
fTArduinoTUnoTMicrocontroller,TtemperatureTsensor,Tbuzz reTtheTLightTintensityTsensor,TGasTsensor,TESP-
erTalarmTandToperatingTsoftware.TTheTsystemTusedTonly 01TWLANTSensorTModule,TServoTmotor,TCameraTmodul
TtemperatureTsensorTforTdetectingTfireTandTtheTreceiverT e,TGSMTmoduleTandTRelayTmodule.TheTlightTintensityTs
couldTreceiveTsignalTfromTaTdistanceTofT10Tmeter.TOurT ensorThasTaTphoto-
proposedTsystemTusesTbuilt-inTWi- resistorT\thatTcanTdetectTtheTintensityTofTlightTinTtheTpar
FiTmoduleTonTArduinoTmicrocontrollerTandTraspberryTpi ticularTplaceTorTenvironment.TTheToutputTsignalTofTthisT
Tcomputer.TKwonTet.Tal.T[8]TdesignedTandTimplemented sensorTisTanalogTvalue.TTheTvalueTofTtheTsensorTdepend
TaTsystemTtoTdetectTfireToutbreakTusingTcameraTimageT sTonTtheTbrightnessTofTlight.TGasTsensorTcanTdetectTthe
processing.TAlthoughTthisTisTaTnovelTapproach,TitTisTnot TexistenceTofTgasTinTaTparticularTarea.TTheTCameraTmo
TasTefficientTandTaccurateTinTdetectingTfireTasTsensorTba duleTtakesTtheTshotTofTtheTlimitedTplaceTandTtheTservoT
sedTsystem.TT.TIslamTet.Tal.T[9]TdevelopedTaTfireTdetecti motorTrotatesTtheTcameraTmodule.TTheTESP-
onTsystemTusingTtheTZigBeeTwirelessTsystem.TTheTautho 01TWLANTsensorTmoduleThelpsTtoTsendTdataTtoTtheTRa
rsTusedTlocalizationTtechniqueTforTfindingTtheTpositionTa spberryTPiT3TbyTwirelessTcommunicationTsystem.TheTRel
ndTdistanceTofTfire.TTheTsystemThasTaThighTrelativeTcos ayTmoduleTisTusedTtoTactivateTtheTalarmTandTtheTGSM
tTandTtheTauthorsTusedTthreeTsensorsTtoTlocalizeTaTfire. TmoduleThelpsTtoTnotifyTtheTmasterTuserTorTtheTadmin.
TATprototypeTforTdetectingTforestTfireTusingTaTwirelessT TIfTtheTlightTintensityTandTgasTsensorThaveTdesireTvalue
sensorTnetworkTwasTpresentedTinT[10].TTheyTusedTmobil ,TthenTtheTcameraTmoduleTtakesTsnapTofTtheTlocationTa
eTagentTasTsoftwareTapartTfromTsensorTnodes.TTheTsoft ndTsendsTitTtoTtheTArduino.
wareTmobile

Fig.T2.TSystemToverviewTconsideringTaTthree-storiedTbuilding.
Fig.T3.TLogicTdiagramTofTcontrollingTofTRaspberryTPi.

TheTcameraTModuleTcanTrotateT360°TbyTusingTaTser B. Logical Description


voTmotor.TAfterTthisTconditionTisTtrueTtheTfireTalarmTwi InTthisTautonomousTsystemTtheTprocessToccurTinTtwo
llTtriggerTbyTtheThelpTofTtheTRelayTmodule.TArduinoTM Tparts.TOneTpartTisTArduinoTreadTtheTdataTfromTsensors
egaTcanTsendTthisTdataTtoTtheTRaspberryTPiTbyTusingTE TandTtheTotherTpartTisTRaspberryTpiTreceiveTtheTdataTw
SP- hatTwasTtakenTbyTArdunio.THere,TtheTsystemTisTusingTf
01Tmodule.TWhenTRaspberryTPiTreceivesTtheTdata,TthenT ewTsensors.TOneTofTthemTisTLightTintensityTsensorTmod
itTwillTsendTtheTdataTtoTtheTadminTbyTusingTGSMTmod uleTisTdenotedTasTATandTtheTotherToneTisTGasTsensorT
uleTandTanTadminTwillTcheckTtheTvalidityTofTtheTwarnin moduleTisTdenotedTasTB.
gTmessageTofTourTsystemTandTconfirmTorTdenyTanyTsus
pect.

Fig.T4. Logic diagram of operation of Arduino.


IfTbothTtheTsensorTvalueTisThitTupTtoTmarkTthatTme gasses.TItTisTusedTinTindoorsTatTroomTtemperature.TTheT
ansTA>200TandTB>500,TthenTtheTconditionTisTtrueTandT sensorThasTtoTbeTcalibratedTtoTdetectTsmokeTwithTproper
theTcameraTmoduleTwillTrotateT60°TbyTtheThelpTofTserv TloadTresistorTandT burn-
oTmotor.TThisTconditionTwillTactiveTwhenTonlyTaTsingle in,T whichT canT beT doneT byT gasT sensorT module.T The
TpairTofTsensorTvalueTisTtrue.TButTifTtheTtwoTpairTareT moduleTconsistsTwithTfourTmaleTpinsTwhichTareTVcc,TG
activeTatTtheTsameTtime,TthenTtheTconditionTwillTbeTA> ND,TAOUTT(AnalogTout)TandTDOUTT(DigitalTout).TWe
140TandTB>350TforTbothTpairs.TAfterTthatTcameraTmodu TwillTbeTusingTAOUTTpensTforTtakingTaTreadingTinTthe
leTtakesTtheTsnap,TthenTitTthrowsTtheTpairTnoTtoTtheTR TanalogTpinTofTArduinoTasTallTtheTvaluesTwillTbeTconv
aspberryTPiT3TbyTusingTESP- ertedTtoTdigitalTtogetherTlater.TTheTArduCamTMT9D111T
01TusedTasTWifiTmodule.TWhenTraspberryTpiTreceivedTt willTbeTusedTtoTcaptureTtheTviewTofTtheTsituationTwhich
heTsnapTandTsensorTpairTnoTthenTitTwillTcompareTwithT TisT2TMegapixelTopticalTlensedTcameraTsensorTmodule.T
IPTandTsensorTpairTno.TIfTmatched,TthenTgenerateTanTM TheTcameraTcanTcaptureTinT4:3TformatTwithTRGBTBayer
MSTandTsendTtheTMMSTtoTtheTAdminTviaTGSMTmodul TpatternedTcolorTfilterTarray.TThereTareTtwoTframeTrate,T
e.TTheTGSMTmoduleTwaitsTforTreply.TIfTtheTreplyTisT“ whichTareTUXGATandTSVGA.TWeTwillTbeTusingTtheTS
FireTOK”TthenTitTwillTtriggerTtheTalarmTusingTrelay.TIf VGATframeTrateTasTitTconsumesTlessTdata.TTheTmodule
TtheTreplyTisT“NoTfire”TthenTitTwillTstopTtheTalarm.TIf ThasTbuiltTinTXenonTflashTinTitTsoTthatTitTcanTcaptureT
TtheTreplyTisTunknownTsomething,TthenTitTwillTreturnTa inTbothTdayTandTnightTtime.TTheTmoduleThasTalsoTauto
nTinvalidTreply.TAfterT5TminutesTitTwillTcheckTtheTcond TfocusTsystemTsoTthatTitTcanTautomaticallyTsetTtheTrang
itionTautomatically.TByTusingTthisTsingleTpairTandTmulti eTforTtheTmostTperfectTfocusing.T360°TServoTmotorThas
TpairTsensorTcombinationTweTcanTcoverT360TdegreeTand TbeenTusedTtoTrotateTtheTcameraTintoTeveryTlinearTangle
TdetectTfireTactivityTonTaTparticularTplace. TsoTthatTisTcanTcaptureTfromTallTpositions.TTheTservoTi
sTableTtoTdealTwithTfromT4.8-
IV. SYSTEMTIMPLEMENTATION 6.0TVolts.TATthreeTpinsTpowerTandTcontrolTcableTisTatta
ForTimplementationTofTtheTsystem,TweTwillTbeTusing chedTwithTit,TwhereTtheTArduinoTrotatesTtheTservoTinTth
TtwoTdifferentTtypesTofTmicro- eTspecificTangle,TgivingTinputTinTtheTsignalTpinTfromTits
controllers,TtheTRaspberryTPiT3TandTtheTArduinoTMegaT TdigitalTI/OTpins.TATSingleTChannelTRelayTmoduleTwill
2560Trev3.TTheTcodeTwrittenTArduinoTwouldTcontainTaT TbeTattachedTtoTeachTArduino,TsoTthatTitTcanTtriggerTth
specificTIPTaddressTforTeachTArduinoTtoTidentifyTtheTea eTalarmTwheneverTitTgetsTreplyT1TfromTtheTESP-01TWi-
chTofTthem.TEachTArduinoTactingTasTServerTtakesTtheTa FiTmodule.TESP-
nalogTreadingsTfromTtheTsensors,TcomparesTthemTtoTthe 01ThasTaTESP8266TchipsetTinTitTthatTallowsTmicrocontro
TthresholdTvalue.TIfTtheTsensorTvaluesTgetTtoTreachTofTt llersTtoTcommunicateTwirelessly.TTheTcommunicationTwit
hreshold,TtheTArduinoTperformsTnecessaryTactions,Tinclud hTtheTadministrationTandTtheTsystemTwillTbeTmaintained
ingTthrowingTtheTdataToverTIPTviaTESP- TbyTtheTGSMTcellularTconnectionTforTwhichTSIM808TG
01,TwhichTcontainsTsnapTofTtheTsituation,TpairTnumberTo SMTmoduleTwillTbeTusedTinTtheTsystem.TSIM808TGSM
fTtheTsensorTandTalsoTtheTIPTtheTofTArduino,TsoTthatTt TmoduleTisTtheTlatestTGSMTmoduleTthatThasTGSM,TGP
heTadminTcanTlocateTtheTactualTplaceTwhereTtheTsituatio STandTBluetoothTconnectivityTsystem.TItTcanTsendTandTr
nTisThasty.TDuringTtransmissionTofTtheTdataTtheTArduino eceiveTdataTfromTGSM,TGPSTandTBluetoothTandTcanTals
TconvertsTtheTanalogTdataTtoTdigitalTsoTthatTitTcouldTbe oTactToverTATTcommands.TTheTGSMTmoduleTwillTbeTc
TunderstoodTbyTRaspberryTPi.TTheTcodeTwrittenTbyTpyth onnectedTwithTtheTRaspberryTPiT3TandTitTwillTsendTthe
onTprogrammingTlanguageTinTraspberryTpiTseeksTdataTfr TlocationTandTsnapTviaTMMS.TTheTmoduleTwillTthenTw
omTRouterTviaTeachTIPTasTClientTifTthereTisTany.TWhe aitTforTaTspecificTreplyTthatTwouldTtriggerTATTcommand
neverTtheTRaspberryTPiTisTableTtoTgetTtheTdata,TitTstarts TthatTwillTbeTpassedToverTtoTtheTArduinoTforTactingTor
TprocessingTdataTforTfurtherTactions. Tnot.
TheTmotherboardTnamedTRaspberryTPiT3TactingTasTa A.TStepsTofTImplementation:
TClientTisTbothTaTmicro- StepT1T(ConfigureTtheTProgrammableTDevices):TWrite
controllerTandTaTCPUTwhichThasTaTprocessorTofT1.2Ghz TaTprogramTforTeachTprogrammableTdeviceTwhichTare-
T64-bitTquad- TRaspberryTPiT3,TArduinoTMegaT2560,TGSMTModuleTSI
coreTARMv8TCortexTA53TCPUTaloneTwithT1GBTramTof M808,TESP-01TSerialTtoTWi-
T900Mhz,T4TUSBTports,T1THDMITport,T1TaudioTI/OTpo FiTModule,TArduCamTMT9D111TandTtheTWirelessTRoute
rtTandT1TEthernetTportTinTit,TincludingT40TGPIOTpinsT r.TProgramTinTRaspberryTPiTwouldTbeTwrittenTinTPython
whichTcanTbeTconfiguredTasTdigitalTinputTorToutput.TThe TtoTtraverseTeachTArduinoTwithTIPTspecifiedTtoTeachTAr
TboardTRaspberryTPiT3ThasTbuiltTinTwirelessTmoduleTin duino.TAllTtheTIPsTofTfromTallTtheTArduinoTshouldTbeT
TitTthatThasTbothT802.11nTwirelessTLANTandTBluetoothT putTinTaTlistTofTRaspberryTPi’sTprogram.TTheTPythonTpr
4.1TincludingTBLETfeatureTbyTwhichTweTcanTbothTrecei ogramTshouldTalsoThaveTtheTfunctionalityTtoTcommunicat
veTandTtransmitTdataTwirelesslyTwithoutTanyTotherTpartia eTwithTSIM808TGSMTmoduleTwhereTtheTcellTnumberTof
lTdevice.TInTtheTproposedTsystem,TweTwillTbeTusingTfou TtheTadministratorTshouldTbeTmentioned.TATProgramTsho
rTpairsTofTsensors,TwhereTthereTwillTbeTTEMT6000Tligh uldTbeTwrittenTforTallTtheTArduino,TsoTthatTtheyTcanTta
tTintensityTsensorTandTMQ- keTreadTanalogueTdataTfromTsensors,TcanTrotateTservoTin
02Tgas/smokeTsensorTinTeachTpair.TTheTTEMT6000TisTa T360°,TtakingTsnapTfromTArduCamTMT9D111,TsendingT
nTambientTlightTsensorTwhichThasTthreeTfemaleTpinsTinT &TreceivingTdataToverTESP-01TWi-
it,TthatTareTVcc,TGNDTandTtheTSignalTpinTofTtheTArdui FiTmoduleTandTalsoTtoTtriggerTrelayTon.TSIM808TGSMT
noTwillTbeTgettingTtheTanalogTreadings.TTheTsensorTacts moduleTshouldTbeTsetTwithTaTSIMTcardTinTitTandTshoul
TlikeTtheTtransistor,TtheTgreaterTtheTincomingTlightTisTth dTbeTconfiguredTasTaTGSMTdeviceTviaTUARTTconnectio
eThigherTtheTanalogTvalueTgetsTto.TTheTMQ- n.TTheTESP-01TWi-
02Tgas/smokeTsensorTusesTaTsmallTheater,TincludingTanT FiTmodulesTshouldTbeTconfiguredTasTbothTSTATandTAP
electro- TsoTthatTcanTbothTsendTandTreceiveTdataTandTalsoTsetti
chemicalTsensorTinsideTthatTisTsensitiveTtoTMethane,TBut ngTthemTupTwithTuniqueTSSIDTandTaTcommonTpasswor
ane,TLPG,TsmokeTandTalsoTflammableTandTcombustibleT dTsoTthatTeachTmoduleTcouldTbeTidentifiedTandTaccessT
easily.TTheTSSIDTandTpasswordTofTtheTrouterTshouldTb ectedTwithTtheTtransferTpinTofTthatTsetTofTArduino.TPin
eTmentionedTinTtheTESP- T5TandTPinT6TneedsTtoTbeTconnectedTwithTtheT3.3vTpor
01TsoTthatTtheyTcanTautomaticallyTaccessTtheTrouterTan tTofTArduinoTandTpinT4TneedTtoTbeTgrounded.
dTcommunicate.TTheTArduCamTMT9D111TshouldTbeTco
StepT7T(ConnectingTtheTSIM808TGSMTmoduleTwithTR
nfiguredTasT4:3Tformat,TSVGATframeTandTtheTsnapTp
aspberryTPiT3):TOneTofTtheTtransferTpinTofTSIM808TGS
ixelsizeTintoT2TMPTsoTthatTitTcanTcaptureTandTstoreTth
MTmoduleTgetsTconnectedTwithTGPIOT17TpinTofTRaspbe
eTimageTefficiently.
rryTPiTandToneTofTtheTreceiverTpinTofTSIM808TGSMTm
StepT2T(BurningTtheTcodesTinTtheTsketchTofTArduinoT oduleTgetsTconnectedTwithTGPIOT18TpinTofTRaspberryTP
andTSettingTupTcodeTinTRaspberryTpiT3):TTheTArduinoTp i.
rogramTshouldTbeTburntTtoTeachTsketchTofTallTtheTArdu
StepT8T(PoweringTupTallTtheTdevices):TInTtheTpropose
inoTconfiguringTtheTcodeTwithTspecificTIPTandTMACTad
dTsystem,TtheTmainTdevicesTthatTwillTbeTdirectlyTconnec
dress.TTheTprogramTforTtheTRaspberryTPiTmayTbeTkeptT
tedTtoTtheTpowerTsourcesTareTtheTRaspberryTPiT3,TArdu
inTanyTfolderTbutTtheTpathTofTtheTfileTshouldTbeTmenti
ino,TSIM808TGSMTmoduleTandTtheTRouter.TRaspberryTP
onedTatT/etc/rc.localTfile,TsoTthatTtheTprogramTrunsTauto
iT3TandTeachTofTtheTArduinoTneedsTtoTbeTconnectedTwi
maticallyTonTtheTstartupTandTRaspberryTPiTcouldTactTas
thTaT5vT2.5TpowerTsupplyTadapter.TTheTSIM808TdrawsT
TaTmicro-controller.
aTgoodTamountTofTpower,TsoTitTneedsTaTpowerTsupplyT
StepT3T(IntegratingTtheTsensorTmodules):TEachTArduin adapterTofT7vT~T12vTtoTbeTfunctional.TTheTvoltageTofTt
oTwouldTbeTconnectedTtoT8TsensorsTwhereT4TofTthemT heTrouterTdependsTonTitsTmodel,TbutTgenerallyTitTisT12v
willTMQ- .
02TandT4TofTthemTwillTbeTTEMT6000TthatTmeansTinTt
otalT4TpairsTwhereTeachTpairTwillTcontainTaTMQ-
02TandTaTTEMT6000.TTheTsignalTpinTofTtheTsensorsTwi VT.EXPERIMENTEDTRESULT
llTbeTconnectedTtoTtheTArduinoTfromTA0-
A7TpinTwithToneTMQ-
02TandToneTTEMT6000TrepeatedlyTaccordingTtheTFig.T6 AfterTassemblingTourTsystem,TtheTreadingTofTtheTsens
TVCCTandTGNDTpinTofTallTtheTsensorsTwillTbeTconnec orsThasTbeenTchecked.TWeThaveTtestedTtheTsystemTrespo
tedTtoTtheT5vTandTGNDTpinTofTArduino. nseTinTdifferentTsituations.TTheTsensorTreading,auto
snapping and sending that snap, authentication and current
StepT4T(ConnectingTtheTServoTandTRelayTmodule):TTh status of the place are displayed in fig. 8.
eTRelayTmoduleTandTtheTServoTmotorTbothThaveTaTdigit
alTinputTpin,TwhichTwillTbeTconnectedTtoTtheTD49TandT
D35TpinTofTtheTArduino.TVCCTandTGNDTpinTofTrelayT
moduleTwillTbeTconnectedTtoTtheT3.3vTandTGNDTpinTof
TtheTArduino.TVCCTandTGNDTpinTofTservoTmotorTwill
TbeTconnectedTtoTtheT3.3vTandTGNDTpinTofTtheTArduin
o.
StepT5T(PluggingTtheTArduCamTMT9D111):TPluggingT
theTArduCamTMT9D111TisTmoreTcomplexTthanTotherTm
odulesTasTitThasTbothTinputTandToutputTalongTwithTtrigg
ering,TcapturingTandTstoringTfunctionality.TTheTconnectio
nThasTtoTbeTestablishedTaccordingTtoTtheTFig.T5,TsoTtha
tTtheTcameraTcanTfunctionTproperly.TTheTdigitalTandTana
logueTpinsTcanTbeTchangedTtoTaccommodateTallTtheTcon
nectionTproperly,TbutTtheTneedsTtoTbeTmentionedTinTthe
TprogramTwrittenTforTtheTfunctionalityTofTtheTcamera.Aft
erTconnectingTtheTcameraTneedsTtoTbeThookedTupTwithT
servoTmotorTforTtheTrotationalTpurpose.

Fig.T8.TSensorTreading,TtakingTandTsendingTsnap,TauthenticationTandTfi
reTstatusTdisplayingTinTLED.

Fig.T5.TPluggingTtheTArduCamTMT9D111

StepT6T(SettingTupTtheTESP-01TWi-FiTmodule):TESP-
01TmoduleThasTtotalT8Tpins,TwhereT1stToneTisTtheTtrans
ferTpinTandTtheTlastToneTisTreceiverTpin.TTheTtransferT
pinTneedTtoTbeTconnectedTwithToneTofTtheTreceiverTpin
TofTtheTArduinoTandTtheTreceiverTpinTneedTtoTbeTconn
TABLETI.TCOMPARISONTWITHTOTHERTRELATEDTWORKS
T
DWAFAS TheTsystemTdidn’tTexplain TheTpropoundTsystemTuses
[11] anyTapproachTtoTdetect smokeTsensorTaloneTwithTlight
fires. ambientTsensorTtoTdetectTfire.
NoTauthenticationTsystem ThereTisTanTauthentication
toTdetectTfalseTalarm. systemTtoTcheckTifTtheTsituati
on
isTalarming.
FRASHB The paper only proposed This system is applicable for
[12] Some scenarios and actions Almost all the scenarios and as it
According to those. Has an authentication system,
There are less possibilities of
System errors.
FAHB Costly and time consuming Cost effective and efficient as it
[13] As multiple sensor nodes Is an upgraded of MSBN which
Decide the possibilities of Uses sensor nodes but with less
Fire occurrence. Sensor decision.

Fig.T9TshowsTtheTtriggeringTpointTofTservoTdependin
gTonTsmokeTandTlightTambientTdata.TAfterTproperTanaly
sis,TweTfoundTthatTtheTsmokeTSensorTgivesTaTvalueT0~3
0ppmTinTnormalTstateTandTraiseTfromT500ppmTuptoT200
00ppmTonTalarmingTsituation.TTheTlightTambientTalsoTgi
vesTvalueTwithinT60~80TonTnormalTstateTandTraiseTtoT2
00~350TreactingTonTflamingTlight.TAccordingTtoTexperim
entTresult,TweTfoundTtheTthresholdTonT500ppmTonTsmok
eTsensorTandT200TforTlightTambientTsensor.

3000TSmokeTSensor
T
TLightTAmbientTSensor
T
2000

1000

TOffTOffTOffTOffTOnTOnTOffTOffTOffTOn

Fig.T9.TTriggeringTservoTmotorTafterTsensingTtheTstateTofTsmokeT
sensorTandTlightTambientTsensor.

CONCLUSION
InTthisTpaper,TweTdiscussedTtheTlatestTtechnologyTth
atTcanThelpTtoTreduceTcatastrophicTaccidentsTcausedTby
Tfire.TWeTdesignedTtheTwholeTsystemTandTevaluatedTits
TeffectivenessTasTwellTasTscalability.TWithTtheTimprove
mentTofTsensorTtechnology,TtheTsystemTwillTbecomeTmo
reTefficientTandTuseful.TIfTthisTsystemTcanTbeTsuccessfu
llyTintegratedTinTeveryTfactories,TthenTitTisThopedTthatT
theTlossTofTlifeTandTpropertyTdueTtoTtheTfireTaccidents
TwillTreduceTremarkablyTandTtheTcountry’sTeconomyTwi
llTnotTbeTstumbledTbyTsuchTtragicTaccidents.
REFERENCES
[1] EthirajanTAnbarasan,T“DhakaTBangladeshTclothesTfactoryTfireTkill
sTmoreTthanT100,”TinTBBC,T25TNovemberT2012.
[2] Oxfam,T“31TdieTinTBangladeshTfactoryTfireTasTbrandsTdoTtooTlit
tle,TtooTlate,”TinTpress.
[3] Sowah,TRobert,TetTal.,T“DesignTandTimplementationTofTaTfireTdet
ectionTandTcontrolTsystemTforTautomobilesTusingTfuzzyTlogic,”Tin
TProceedingsTofTIndustryTApplicationsTSocietyTAnnualTMeeting,T
2016.
[4] Yu,TLiyang,TNengTWang,TandTXiaoqiaoTMengT“Real-
timeTforestTfireTdetectionTwithTwirelessTsensorTnetworks,”TinTPro
ceedingsTofTInternationalTConferenceTonTWirelessTCommunication
s,TNetworkingTandTMobileTComputing,TVol.T2,T2005.
[5] Chen,TThou-Ho,TetTal.T“TheTsmokeTdetectionTforTearlyTfire-
alarmingTsystemTbaseTonTvideoTprocessing,”TinTProceedingsTofTI
nternationalTConferenceTonTIntelligentTInformationTHidingTandTM
ultimedia,T2006.

Anda mungkin juga menyukai