Thứ Hai, 10 tháng 12, 2018

DIY Password Based Door Lock - Cửa khóa mã số

Introduction

Dale Carnegie gave us ‘How to stop worrying and start living’. We’re here to add yet another way to help you stop worrying; worrying about the safety of your abode, your workplace, and any other place you have. Behold the *drum rolls* DIY Password-Based Door Lock!
A simple yet effective way to prevent anybody from accessing your room without entering the correct password. Lie back and chill (and Netflix if you want) as your home and office stay protected from break-ins and thefts.
Want to make one for yourself? Then let’s get started in 3, 2, 1, go!

Components Required

Building Guide

Step 1: Connections

We will be connecting the Keypad and the lock to evive.
We are using Solenoid Lock with evive.Solenoid lock 2
It is connected to the channel M1.
Connect both lock and Keypad as shown below:Fritzing-Diagram

Step 2: Logic

Once you are done with the circuit, it’s time to understand the logic behind it.
We have installed RGB Strip. This Strip is to indicate the status of the entire system.
We have set the passcode of 4 digits (you can set as much as you want).
The screen on evive shows “Enter Password”.Enter Password
As soon as we press a digit the LED of the corresponding number turns to BLUE.LED glows
This shows the total number of digits entered by you.
Once you enter all 4 digits, and if the password is wrong: the screen displays “ACCESS DENIED” and the RGB turns RED.Access DeniedYou won’t be able to open the door now.
If the password is correct: the screen of evive displays “ACCESS GRANTED” and the RGB turns GREEN.Access Granted
And the solenoid gets the signal, thus the magnet attracts the slot, opening the door.

Step 3: Code

Apply the following code for the working of same. Also, you need to set the password in the code itself. You can change the number of digits you want in the passcode. 

Step 4: Application

There are a number of applications for this project. The one we are showing here is as the door lock.
We have attached the keypad to one of our doors and a solenoid to it.
NOTE: You can use any lock as per your choice.
You can enter the room only if you have the correct password.
This was one out of many applications.
The other application is in the Safebox. The safebox we made earlier uses the Fingerprint Sensor. You can add the same passcode lock here. 
Click here to make one:

Step 5: Conclusion

With this your DIY Password-Based Door Lock is ready. Time to stop worrying and start living, the STEMpedia way!

Circuit Diagram

DESCRIPTIONCIRCUIT DIAGRAM
Connect the 4 x 4 Keypad and RGB as shown in the figure.
Connect Solenoid Lock to Motor Channel M1.

Code

DESCRIPTIONDOWNLOAD CODE
Arduino Code for Keypad Based LockDownload
evive LibraryDownload

Không có nhận xét nào:

Đăng nhận xét

Bài đăng mới nhất

ALEPH-M CLASS A ANFİ DEVRESİ N KANAL MOSFET

Aleph-M çıkış gücü yaplaşık olarak 35w Class A sınıfı anfi için oldukca iyi bir değer çıkış modfetleri n kanal 2 adet irfp240 kullanılmış be...

Bài đăng phổ biến