Fingerprints are not enough and reliable to make your own security system, you always require a secondary option to unlock the door incase of any failure. So in this article I made a complete home security system using which you can unlock the door with fingerprints or Keypad. So let’s see how to make it.
Components Required
- ESP32 board
- Fingerprint Sensor
- Solenoid Door lock
- Hex Keypad
- OLED Display
- 5V Relay
- BC547 transistor
- 330 ohm Resistor
- 1n4007 diode
- 12V/1A Power Adapter
Connection Diagram

Modes
This project was made to add security level at my studio. This project has a lot of features so let’s discuss all the features separately
Fingerprint Unlock Mode
This is the default mode of this system. As soon as you turn on the device, It will first try to get connected to the router with the provided WiFi Credentials. If the router is nearby, it will get connected to it otherwise it will jump out of that loop after 10 sec. Then the device lands up in this fingerprint mode.
In this mode we can unlock the door by placing the registered fingerprints on the sensor. A small fingerprint Icon on the display reveals that the system is in fingerprint unlock mode and it’s waiting for the valid fingerprints.

If the valid fingerprint is detected, it will unlock the door for 3 sec and will lock the door again. Now there are two conditions, if this device has a proper internet connection, then it will register the attendance of that person to the google sheets with the help of IFTTT and you’ll see “Registered” on the screen. And if the device don’t have proper connection, it won’t registered the attendance and will go back to the initial stage after printing “Not Registered” on the screen.
Maze Lock Mode
I programmed this mode specially for the guests visiting the studio. Now I can’t fit everyone’s fingerprint in the system and for that I designed this mode in which a person can unlock the door by entering the secret password.
To go to the maze lock mode, you need to press and hold the button ‘A’ on the keypad.

After that, you can enter the secret code ‘1234’, which you can change according to your choice in the code and press the hash button to enter the code. The system will recognise the code and will unlock the door.

Here also the attendance will be marked if the device has active internet connection but for this mode, the attendance will be marked with a fixed ID 200. As the fingerprint sensor can store only 128 unique fingerprints, it can mark the attendance for ID 1 to ID 127.
Hence I used a different and unique ID for this Maze lock mode. With this we can easily recognise that wether the attendance is marked with fingerprints or with the maze lock mode.
Enrolment Mode
Initially the fingerprint sensor don’t have any fingerprint data in it. So we have to register our fingerprints for the first time and then the system will start recognising it. And togo to the enrolment mode, you just need to press and hold the button ‘C’ on the keypad.

Pressing the C button don’t directly take you to the enrolment mode, infact you need to give enter the password before that. This security level was necessary to add otherwise anyone can enrol the fingerprints and can open the door.

So after entering the correct password here, the system will take you to the enrolment mode. Here you need to enter the ID on which you want to register the fingerprints. You can enter any number ranging from 1 to 127 as this sensor can store upto 128 fingerprints in it. So in my case I entered the ID number as 55.

After that, you need to follow the steps shown in the screen and with this you can easily enrol your fingerprint in the system.
I have also added a feature of ‘Back Button’ in which you can come back to fingerprint mode from any other mode by just pressing the button ‘B’ on the keypad.
Code
I have uploaded the code used for this project on my GitHub Repository whose link is mentioned below.
https://github.com/techiesms/Fingerprint—Hex-Keypad-based-door-lock-system
PCB Design
I have designed the PCB of this project on EasyEDA.com You can download the Gerber file of this PCB file from the Link mentioned below.
https://easyeda.com/techiesms/fingerprint-based-door-lock-and-attendance-system
Tutorial Video
I have made a full tutorial video for this project in which you’ll get all the details regarding this project.
This awesome blog is no doubt interesting and also factual. I have picked up a bunch of handy tips out of it. I ad love to visit it over and over again. Thanks a bunch!
Quis non odit sordidos, vanos, leves, futtiles? Nam adhuc, meo fortasse vitio, quid ego quaeram non perspicis. Nosti, credo, illud. Nemo pius est, qui pietatem. Hoc mihi cum tuo fratre convenit. Bibi Andrew Borras
Major thankies for the post.Much thanks again. Awesome.
Wow, great blog article.Really thank you! Want more.
Thanks for the blog.Much thanks again. Awesome.
I needed to thank you for this great read!! I absolutely enjoyed every little bit of it. I have got you book-marked to look at new things you postÖ
Thank you for your article.Thanks Again. Much obliged.
It’s yes hm fhabrd to vcvome by well-informed people in this pavrticular subjecjt,hobwever, ytou seem like you knosw what you’re talking a about!Thanks
I’m not sure where you are getting your information, but great topic.I needs to spend some time learning more or understanding more.Thanks for fantastic information I was looking for this info formy mission.
https://hydroxychloroquinex.com/ how to get hydroxychloroquine tablets
Hello there! Do you know if they make any plugins to assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results. If you know of any please share. Thanks!
Very good blog post.Much thanks again. Really Great.
I appreciate you sharing this article.Really thank you! Keep writing.
a monthly basis. better graphics and you prefer
It as really a cool and useful part of info. I am glad that you simply shared this useful information with us. Please maintain us informed such as this. Thanks with regard to sharing. Flory Lewiss Land
Thanks , I’ve recently been looking for infoapproximately this subject for a while and yours is the best I’ve found out so far.However, what about the bottom line? Are you sure concerning the source?My blog post – 159.203.199.234
wow, awesome article.Really thank you! Really Cool.
natural ed treatments indian pharmacies without an rx – mens erections
Say, you got a nice post.Really looking forward to read more. Great.
Heya i am for the first time here. I came across this board and I find Itreally useful & it helped me out a lot. I hope to give something back and aidothers like you helped me.
sparknotes college essays homework help geometry personal statement essays
I truly appreciate this blog post.Thanks Again. Great.
Howdy! This post could not be written any better! Reading throughthis post reminds me of my previous room mate! He always kept chatting aboutthis. I will forward this post to him. Fairly certain he will have a good read.Thank you for sharing!
Thanks for sharing, this is a fantastic article post. Much obliged.
wonderful points altogether, you just won a logo new reader. What might you suggest in regards to your publish that you just made a few days ago? Any certain?
Really informative blog article.Much thanks again. Fantastic.
another hot day in the sunshine house on appleton drive ..janedoeeUHHH
It’s nearly impossible to find educated people on this topic, but youseem like you know what you’re talking about!Thanks
Thanks for sharing, this is a fantastic blog article.Really thank you! Really Great.
Really quite a lot of valuable knowledge.write my essay review dissertation paper college writing services
I blog often and I really appreciate your information. The article has truly peaked my interest. I’m going to take a note of your blog and keep checking for new information about once a week. I subscribed to your RSS feed too.
Really informative article. Really Cool.
Major thanks for the blog.Really thank you!
A big thank you for your blog post.Really looking forward to read more. Really Cool.
I am so grateful for your article post.Much thanks again. Cool.
highland creek apartments village green apartments
Very informative blog post.Really thank you! Much obliged.
Appreciate you sharing, great blog article.Really thank you! Cool.
Great blog article. Really Cool.
how to get off lisinopril losartan potassium/hydrochlorothiazide
Howdy! This article could not be written any better! Looking at this post reminds me of my previous roommate! He continually kept talking about this. I’ll send this article to him. Pretty sure he’ll have a good read. I appreciate you for sharing!
Awesome content and thank you for sharing it. I’ll be back to see more.
Your style is very unique compared to other folks I’ve read stuff from. Thank you for posting when you have the opportunity, Guess I will just book mark this blog.
I am so grateful for your article.Thanks Again. Keep writing.
Really enjoyed this article.Thanks Again. Will read on…
Hey there! I just would like to give you a huge thumbs up for your excellent information you’ve got right here on this post. I will be returning to your blog for more soon.
Thank you ever so for you article.Really thank you! Much obliged.
Im grateful for the article post.Really thank you!
I will right away snatch your rss as I can not to find your e-mail subscription link or newsletter service.Do you have any? Kindly let me recognise in order that Icould subscribe. Thanks.
What’s up i am kavin, its my first time to commenting anywhere, when i read this post i thought i could also make comment due to thissensible post.
Hello, I log on to your new stuff daily. Your writing style iswitty, keep it up!
Looking forward to reading more. Great blog post.Thanks Again. Want more.
I like the valuable information you provide in your articles. I’ll bookmark your blog and check again here frequently. I’m quite certain I will learn many new stuff right here! Good luck for the next!
A big thank you for your article post.Really looking forward to read more. Awesome.