Smart Door Monitoring and Locking system

Page 1

International Research Journal of Engineering and Technology (IRJET) e ISSN:2395 0056

Volume: 09 Issue: 06 | June 2022 www.irjet.net p ISSN:2395 0072

Smart Door Monitoring and Locking system

Immadisetty Naga Venkata Sai Kedharnadh1 , Padakandla Yaswanth2 , Gunjal PatikPrakash3 , Gopisetty Sandeep Kumar4 , Sangisetty Gopinath5 , kanwalijeet singh6 1,2,3,4,5 B Tech students, Department of Electronics and Communication Engineering, LovelyProfessional University, Jalandhar Delhi, Grand Trunk Rd, Phagwara, Punjab 144001 6 Assistant Professor, Department of Electronics and Communication Engineering, Lovely Professional University, Jalandhar Delhi, Grand Trunk Rd, Phagwara, Punjab 144001. ***

Abstract:

Protection, security, and safety are the most important things in our daily life. These days, the advancement of Technology has evolved into one of the leading IoT based projects such as smart home technology. For An instance, this type of system makes livelihood more safe, convenient, and secure. people are more familiar with these technologies nowadays and smart home applications provide a controlled way of action just within the tip of a finger, for example, managing the schedules for home lightning, electricity bills,groceries list, and home security as well. the facial and fingerprint recognition of authorized persons is well established to keep the homes more secured for accessibility. A setup of a display monitor connection with the camera in front of the door is also required to send the information to the owner who is trying to enter his house through that door and the owner has the right to give access to the person who wants to open the door. Even we can provide voice lock by texting voice with raspberry pi arm processor which can revert any messages to the owner. To satisfy all these needs we came up with a new solution that is more secure, reliable, looks, and works smart. For this, we used a raspberry pi microcontroller linked with a biometric sensor for fingerprint recognition and a camera module for capturing the user image and used a bot in telegram for communication like sending alert messages and receiving commands from the owner.

Introduction:

The way of living, the lifestyle of people is changing. security and safety became the most precious things these days. Peoplelookforcomfortintheirday to dayactivities andtherefore demand for digitalization is the need of the hour. As a result, automation is the key to a technological era. One of them isvideo surveillance. Video Surveillance isoften done wheresecuritymustbethere,topreventtheft,orelsetomonitortheworkofemployees.Elderlypeople,differently abled people,orkidsaremostofthetimeathome,withoutanyoneovertosupervisethem.Providingsecurityandsafetyisour major concern here. This paper proposes a” DOOR MONITORING AND SECURITY SYSTEM” ,using face detection, fingerprint recognition, and automated doorlocks (to open and close the door) using raspberry pi. A data set with the fingerprintsofthepermittedpeoplearemadeandstored.Whensomefaceisdetectedinfrontofthecamera,theframewill be captured as a temporary image file in the face detection part. Next, the user will start accessing the door by using biometrics. Here, fingerprint recognition will be done by comparing the user’s fingerprint with the fingerprints storedin thedataset.Ifamatchisfound,thatis, thepersonis beensuccessfullyrecognized.Thesignalwill begiventoraspberrypi, accesswillbegrantedandthe doorwillbeopened.Ifthereisnomatch, accesswillbedeniedandthedoorwillnot open. then comes the second situation now the captured image is sent to the owner through a telegram message and asks for accessifgranted,thedoorwillopenotherwiseitremainsclosed.

Thispaperwillusepythoninbuiltlibraries(Ex:Telepot)andAPIstoimplementthis.Pythonisahugeandrichcommunity with properdocumentationandworkstobeused.The proposed work is less costly and affordable to working people for theirhouseholds.Thesystemisefficientandeasytouse

1. Literature Survey

Nowadays people are more concerned aboutthe security of keeping their assets securely.And many people are facing difficulties in securing their assets. So, securing the placesbecame more and more important. Without providing rightful

© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page365
Keywords: Door access control through Telegram Bot, Fingerprint recognition, Raspberry Pi; Relay,Web camera module.

International Research Journal

of

Engineering

and

Technology (IRJET) e ISSN:2395 0056

Volume: 09 Issue: 06 | June 2022 www.irjet.net p ISSN:2395 0072

security to the system, it can be accessed by an Unauthorized Person.As there are various researches done on the door lockingsystems,suchasfacerecognitionsystems,ThumbScanner,RadioFrequencyIdentificationbased,andmanymore.

There are several ways to make smart door lock systems which are important for securing places like homes, offices, banks,vehicles,etc.Intheseplacespossibilityofrobberiesconstantlyrising.Overthelastfewyearsresearchhasbeendone ondifferenttypesofsmartdoorlockingsystemsconsistingofsoundalarms,butwiththeemergenceoftechnologiessmart doors nowwork on microcontrollers, sensor based IoTbased Global Positioning Systems, and sometechnologies like MP lab,GSM,proteus,Irisscanner,biometriclocks,asmartcardwithchipandpassword,etc.Eachoneofthemhasitsprosand cons. In most systems, communication is done through SMS so the system can be cost efficient and the messagewill be deliveredquickly.

Here,inthispaper,wehavechosenthemostsecured,reliablesmartlockingsystemwhichisabiometricdoorlockingsystem with image capture. We opted for the biometric based lock technology which is more secure when compared to other locking systems. The gsm centered thumb locking system scans the fingerprint and provides access to authorized individuals[4].Thenitcapturesthephotographofthepersonwhoisneartothecamera,PIRsensordetectsifanypersonis standing in front of the door and it’s designed in such a way it will only capture the photograph of the person if he is standing from a certain distance from the door which was stored in the database system. Firstly, the system scans the fingerprint and it will start the process of recognizing the user print which was storedin the database. It minimizes the chanceoferrorindetectingtheperson[5].

Whenanunauthorizedpersontriestoenterthedoormotionsensordetectsthepresenceoftheperson,capturestheimage, and sendsit to the owner through a bot created in telegram API. which can pretty much be secured and reliable. For supposeapersonwhosefingerprintdetailsarenotstoredinthedatabasesystemwantstoentertheroomwiththeowner’s permission,itcanbedonebytheimagecapturewhichwillbeforwardedtotheownerthroughSMSinTelegram.Thenthe ownercangrantaccessbytheopenorclosecommandwhichwillbeonlyavailabletotheowner

2. System setup:

Thegoalofourprojectistogetaneffectiveandhomeautomatedentrancelocksystemusing,Fingerprintsensor,camera, RaspberryPi,TelegrambotAPI,andelectroniclock.Humandetectionistocontrolthedoorlockautomatically.Humansare tracked in actual time using a frontal faceXML file once the human face is detected, then send an instruction to the RaspberryPiBoardtoopentheDoorLock.TheseinstructionsaresentseriallyfromtheVisualBasicapplication.

Fig 2.1 SchematicDiagramofProposedwork

© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page366

International Research Journal of Engineering and Technology (IRJET) e ISSN:2395 0056

3.1 Hardware components used:

3.1.1 Raspberry Pi: Asknown,themicrocontrollerisoneofthemajorcomponentsforanyIoTdeviceasapartofthis we selected raspberry pi for this proposedsystem.AsitcontainsinbuiltWi Fi and Bluetooth modules int and has a BCM 2835SOCprocessorandcontainsa1GHzclockspeedand512MBRAM

3.1.2 RELAY: We used an SPDT type relay itoperates at twelve volts. It is electrically operated to pass the current throughitscoil. Therelaywouldbeonwhenlogic‘one’is passedthroughtheport.Itisturnedoffwhenlogic‘zero’ispassedthroughthe port.

3.1.3 PIR Sensor:PassiveInfraRedsensors,alsoknownasPIR,areoftenusedtodetectobjectsorhumans.Thesesensors arewidelyusedtosenseaperson’spresenceinsmart systems likealarms andautomatedlightsystems. Hereinthis case PIRsensorisplacedtodetectapersonwhocomesneartothesystem.

3.1.4 FINGERPRINT SENSOR: Biometricor fingerprint sensors areusedtoscan,authenticateand recognizethe person orindividualwhoistryingtoaccessthesystem.these sensors replaced the password or pinsystemasthisismorereliable. Hereinthissystemfingerprintsensorisplacedtocheckwhethertheauthorizeduseristryingtoenterthedoorornot

3.2 Software Requirements:

3.2.1 Python Idle:weusedittodoprogrammingasperourrequirements.ProgrammingisdoneinPythonlanguage.It isopen sourcesoftwarethatmakesiteasytowriteanduploadtotheRaspberryPi.

3.2.2 Telegram Bot API: TelegramBotAPIisa newandadvancedopensourcefeature whichisdevelopedbyTelegram tocreateanddevelopbotsinanHTTPinterfacemosteasilyandefficientlyforfree

3. Working model in a flow chart: Fig 4.1: Flowchart of the proposed work

Volume: 09 Issue: 06 | June 2022 www.irjet.net p ISSN:2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal

367
| Page

International Research Journal of Engineering and Technology (IRJET) e ISSN:2395 0056

Volume: 09 Issue: 06 | June 2022 www.irjet.net p ISSN:2395 0072

5. Result:

So,inthisprojectSystemconsistsofmainlytwothingsfingerprintrecognitionandfacecapturing.

If anyone tries to open the door using a fingerprint sensor, the system will check whether the fingerprint matches the database.Ifthefingerprintismatchedwiththedatabasethedoorgetsopen(showninfig5.1).

Ifthefingerprintisnotmatchedwiththedatabase,thenthesystemcapturestheimageandsendstheimageasamessage or notification to the owner (shown in fig 5.2). After the owner checked the message or notification received in the telegramthentheownerdecideswhethertogiveaccessornot.Iftheownergivesaccessthedoorgetsopenotherwisedoor remainsclosed.

Figure 5.1:

Figure 5.2:

6. CONCLUSION

Automationis theneedof thehour and peoplelookfor comfortintheirdaily lives through different automationandIoT techniquesandproducts.Inthispaper,weimplementedadoorunlockingsystemusingfingerprintsandRaspberrypihave beenused.ThisSmartDoorUnlockingsystemisdesignedinsuchamannerthatitiscost efficientandeveryonecanafford it.Several issuesofcommon securitycamerascanbe solvedusingthis dual mechanism ofautomaticallyclosingthedoor and securing the area. Since this system is small and integrated into the door itself it occupies very less space. When a user/personcomesinfrontofthedoorthemotionsensordetectstheuser/personandthecameraclicksthephotoofthe user/person.Theuser/personthenusesafingerprinttounlockthedoorifthefingerprintusedispresentinthedatabase thedoorisopenedandapictureissenttotheuserviatelegramandifitdoesnotmatchwiththedatabasethesystemsendsa phototo the ownerthrough telegramandask forpermissiontoopenthedoor.Ifpermission isgranted bytheowner the dooropensandifnotitremainsclosed.Thissystemcouldhelppeoplemaketheirlifeeasierandsaferatthesametimefrom intruders.

7. FUTURE WORKS

Thisprojecthasalotofscopeinthefutureasitfocusesonsecurityandsafetyandcanbeinstalledinallthehomesaround the world as it is cost efficient so that everyone can affordit.Overthecomingtime,AIcanalsobeimplemented with this systemtoknowhowmanytimesthedoorwasaccessedatwhattimeoftheday,andhowauserbehavescanberecorded with help of AI. This type oftechnology can further smartly secure our homes and business. If further developed this technology can be used as a mic and a speaker installed at the door and the owner can talk to the user from his place. Thesearesomeoftheusesandfutureworksofthesmartdoorunlockingsystem.

© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page368

International Research Journal of Engineering and Technology (IRJET) e ISSN:2395 0056

Volume: 09 Issue: 06 | June 2022 www.irjet.net p ISSN:2395 0072

8. References:

1. Pradnya R. Nehete, J. P. Chaudhari, S. R.Pachpande,K.P.Rane,(2016)[1]

2. DAHE,S.A.(2015).Studyconceptualdesignofbiometricstechnologyindoorlocksecuritysystem.JournalofKerbala University,Vol.13No.3Scientific,312 328.[2]

3. Hussaini, H., Adamu, M. Z, Ajagun, A. S., Ijemaru, G. K. & Oresanya, B. O. (2014): Design of a GSM Based Biometric AccessControlSystemControlTheoryandInformatics,Vol.4(8),pp1 21.[3]

4. KawserWazedNafi,TonnyShekhaKar, SayedAnisul Hoque,“ANADVANCEDDOORLOCKSECURITYSYSTEM USING PALMTOP RECOGNITION SYSTEM”, International Journal of Computer Applications (0975 8887), Volume 56 No.17, October2012.[5]

5. Suraj Pawar, Vipul Kithani, Sagar Ahuja, Sagar Ahuja, “Smart Home Security using IoTand Face Recognition”, IEEE 2018.[5]

6. Dwi Ana Ratna, Wati Dika Abadianto, “Design of Face Detection and Recognition System for Smart Home Security Application”,20172ndICITISEE.[6]

7. KaranMaheshwari,NaliniN,“FacialRecognitionEnabledSmartDoorUsingMicrosoftFaceAPI”,IJETA2017.[7]

8. Prof.M.R.Sanghavi,SrujalSancheti,BhaktiPatel,Sanjana Shinde,NehaLunkad,“Smart DoorUnlockSystemUsingFace RecognitionandVoiceCommands”,IRJET2020.[8]

9. Shaik Anwar, Shaik Anwar, “IOT based Smart Home Security System with Alert and Door Access Control using Smartphone”,IJERT2016.[9]

10. A.Ibrahim, A.Paravath, P.Aswin, S.M.Iqbaland S.U.Abdulla, "GSM based digital door lock security system" in Power, Instrumentation,Contro[10]

© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page369

Turn static files into dynamic content formats.

Create a flipbook