IOT based biometric door lock with android application
Security is a defense against threats which provides an assurance of safety. Now and before security is one of the major concerns in places like home, offices, institutions, laboratories, banks etc. In order to keep our data confidentially so that no other unauthorized person could have access on th
2025-06-28 16:33:24 - Adil Khan
IOT based biometric door lock with android application
Project Area of Specialization Internet of ThingsProject SummarySecurity is a defense against threats which provides an assurance of safety. Now and before security is one of the major concerns in places like home, offices, institutions, laboratories, banks etc. In order to keep our data confidentially so that no other unauthorized person could have access on them, use of innovative technologies improved the security to a great extent till the technology becomes open to all. Varieties of security systems are now available such as password protected ones, RFID card technologies, biometric protected systems, OTP based, cryptography based and many more. However, none of them provide a complete solution in terms of complete physical security, easy remote access and securing information over the network.
Our proposed project mainly aims to overcome the shortcomings of existing systems by providing information of current situation when the owner is away from the house. It will also enhance the IoTs' network security using encryption and decryption of the user's data. The main idea of IoT based biometric door lock is to provide security to our beloved homes, libraries, hostels, hospitals, institutions, banks, offices and other organizations etc. To keep our data safe or to avoid them being stolen by third party, we will use Biometrics that is fingerprint template to unlock the door and an android application for remote access. Smart lock communicates with the WIFI-enabled mobile devices to provide secure access. The biometric door lock system will use biometrics interfaces with a biometric reader that is fingerprint scanner and a door lock that will secure a room or environment. Only those users will be allowed to unlock who will be registered users. On successful attempt, system will unlock the door and glow green light as an indication of authorized user. After defined time, door will be automatically locked. When an unauthorized user will try to unlock the door, then system will automatically generate an alarm; glow red light and send an alert to the owner. The user can access complete door lock from anywhere remotely using Internet. The android application basically converts Smartphone into a remote for door lock that allow the user to lock and unlock the door. The user can check real-time status of door and a notification will be received by the user via internet such that application can trigger a notification. User can unlock the door from anywhere by scanning his fingerprint on mobile's fingerprint scanner. When a user install application in his/her mobile device, SMS will be sent by the system owner to valid user. After authentication, user will be allowed to use the application. This feature will only allow the authorized users to access the door lock.
Project ObjectivesObjectives of IoT based Biometric Door Lock with Android Application are:
- To ensure secure identification purposes with highly optimized usage of existing technologies and resources.
- To develop an unlocking system based on fingerprint recognition.
- To increased security level to prevent an unauthorized unlocking of door
- To enhance security by using fingerprint scanner of android to unlock the door using application
- To develop an android application that allow the user to remotely access the door
- To develop a system which will warn the user on wrong attempts
- To develop a system which allow the user to become aware about real-time status of door lock
The user will interact with door lock using both fingerprint scanner and android application i-e the fingerprint sensor available in a smartphone.
HARDWARE IMPLEMENTATION
The programming language used to build the system is Arduino C language via the Arduino IDE. NodeMU ESP8266 controls all the devices connected to it. The first step is to create a program using Arduino IDE and uploading it into NodeMCU ESP8266 and connected to the power supply. This program sets up a communication link between the NodeMCU ESP8266 and a smartphone via WIFI. This communication link helps the NodeMCU ESP8266 in executing the commands sent by the smartphone. The devices are triggered according to the flow of the code. First, the fingerprints of the authorized users have to be registered inside the fingerprint sensor. The finger print sensor can store up to 1000 finger prints. The enrollment code: each fingerprint is enrolled using a unique numeral from 1-500 numbers. The finger print is stored in the flash memory of the biometric module. Upon scanning the fingerprint, the door will be unlocked. For unlocking, the users’ fingerprint template has to match with the previously stored template.
• Authorized user: If the user is authorized and the fingerprint is validated successfully by the sensor, the NodeMCU ESP8266 will start and tell solenoid lock to unlock the door and glow green light.
• Unauthorized user: If the user who tries to enter the door is found as unauthorized and if the validation fails, the NodeMCU ESP8266 will start and tell the solenoid lock to be in unlock state and will glow red light. The buzzer will trigger and notifies all invalid access cases, this is directly connected to NodeMCU ESP8266. It will simultaneously send an alert on android application via as notification and voice.
SOFTWARE IMPLEMENTATION
The android application will be designed using Android Studio. After installing the .apk file, the system owner will send SMS to valid user. After authentication, user has to get registered to the android application before using the application, providing personal details. On a single android phone only one user will be registered though one user can login on multiple phones. After successful registration user can log into the application. User will also abled to edit his registered information. If user forget PIN, application will allow the user to recover PIN by sending SMS on registered contact number. The user login to the Android application using a unique ID and PIN. Then the Log In is authenticated by the server. After successful login, user will allow to: lock the door, unlock the door, view real-time status of door lock, view alert via notification and voice. If user click on lock button. NdeMCU ESP8266 will send the signal to door lock to unlock the door. When user click on unlock button, a dialog box will appear which ask the user to scan his fingerprint on fingerprint sensor of mobile.
Benefits of the Project- Iot Based Biometric Door Lock with Android Application will increase security level because no two sets of people have the exact same set of fingerprints. The design of every fingerprint is completely unique to the individual and cannot be replicated easily. Therefore, fingerprint door lock will only be unlocked by a set of registered fingerprints is almost impossible for an intruder to gain entry. Thus, if an invalid user attempting to gain entry into user's home or office, the authorized user will be informed about invalid access. Unlike password locks, there is no possibility that biometric door lock can be hacked.
- When using IoT based biometric door lock, user does not need to carry a key or not to be afraid of losing or forgetting somewhere. User will not have to sit outside the door to wait for the mechanic to break the door lock. It can be reasonably argued that we cannot lose our fingers (thus your fingerprint). Biometric door lock opens / closes automatically, will be activated via android application.
- The fingerprint door locks will also be programmed for multiple users, so trusted friends and other family members can enter the home without a problem.
- The major benefit is that our proposed system will warn the house owner about invalid access through an alarm as well as by an alert on android application.
- Time saving with this door lock is similar to saving money. User save for opening the door for the first time. While he/she find the keys in bag or pocket, he will definitely lose 5 minutes while go home. For that difference in IOT based biometric door lock this time is reduced to less than a minute. Because user can unlock the door simply by scanning his/her fingerprint or by a single click using android application
- IoT based biometric door lock will offer the ability to check on real-time status of door lock without being there. It also simplifies an alert on invalid attempts. So long as user have a data connection, he/she will be able to check real-time door lock status.
Smart door locks provide security. It helps to control the front door of your house.This makes your house or residential place vulnerable to security threats.
An android application that uses the wifi technogy to establish communication between users and controller board.the prototype supportManual controlling and microcontroller controlling to lock and unlock home door.By connecting the circuit with a relay board and connection to Arduino controller board.it can be controlled by a android application available to provide remote access from smartphone.
| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 69447 | |||
| 1 Channel Relay Module | Equipment | 3 | 1460 | 4380 |
| Electric Door Lock | Equipment | 3 | 4000 | 12000 |
| 2 Channel Relay Module | Equipment | 3 | 2100 | 6300 |
| Jumper wires | Equipment | 3 | 800 | 2400 |
| Power Adapter | Equipment | 3 | 3080 | 9240 |
| NodeMCU ESP8266 | Equipment | 3 | 1500 | 4500 |
| Power Plug Jack | Equipment | 3 | 1600 | 4800 |
| Fingerprint sensor | Equipment | 3 | 4160 | 12480 |
| Bread Board | Equipment | 3 | 560 | 1680 |
| Heat Shrink Sleeve | Equipment | 3 | 651 | 1953 |
| Buzzer | Equipment | 3 | 1160 | 3480 |
| Switch Button | Equipment | 3 | 878 | 2634 |
| Mini Solderless Prototype Bread Board | Equipment | 3 | 1200 | 3600 |