Thứ Ba, 11 tháng 12, 2018

DIY Fingerprint Locker - Khóa vân tay

Introduction

Bored of keeping track of countless locks and their keys? How about using your own fingerprint to unlock each and every safe in your house, just like your Smartphone? Sounds cool, right? Let’s make an electronic Fingerprint locker that will keep all your secrets a secret from your enemies.
And not only one, but up to ten unique fingerprints can be added to the system, for you and the people you trust with your life. 😉
So, what are you waiting for? Let’s get started right away!

Components Required

IMAGECOMPONENTQUANTITYAVAILABLE IN KIT
evive1
Optical Fingerprint Read Sensor1
  • None
Male to Male Jumper Cable 20cm1
Multi Colour RGB Lights1
  • None
Screw Driver (+)1
M3 bolts of 12mm Length24
Thick Cardboard2
  • None
Colour Chart Paper1
  • None

Building Guide

Step 1: Assembly

 
evive Notes Icon
We have made this safe using MDF, which is laser cut. Thus giving the safe precision and robustness. You can even use Cardboard to make it.
 
  1. Take the cardboard and cut it in the given dimensions or you can laser cut MDF as given in the first image. The outer dimension are 1200 X 900 mm.cut outscut outs (4)cut out (3)cut out (2)cut out (1)components
  2. Take the Floor Plate.floor plate
  3. Using M3 bolt of 12 mm and M3 nuts attach the Left Wall with it.adding left wall
  4. Take the Door Plate and stick any colored chart paper, to make it look attractive.doorcolored door
  5. Take the plate of the Right Wall and attach one side of Hinge using M3 nuts and bolts.attaching hinge
  6. Now, take the Door and attach it to the hinge as shown in the figure.attaching hinge to the door
  7. Attach the Right Wall assembly to the base.Connecting side walls
  8. Next, take the Front Wall and cover it with the chart paper.
    colored front wall
  9. Attach the Front Wall and Back Wall plate with the above assembly.Adding the top layer
  10. As every door have handles or doorknobs to open it, we have made on handle 3D printed.Holder
  11. Attach the handle to the door using Hot Glue.
  12. This was the structure of the safe it’s time to add the main components to make the safe work.
  13. Let’s add the Solenoid Lock.Solenoid lock 2
  14. The Solenoid is nothing but a type of electromagnet. When the current passes through it, the magnet attracts the slot and thus pulling it back and opening the door. And when the current stops flowing due to the effect of spring the slot goes back to its original position by locking the door.
  15. Now, attach this solenoid lock to the edge of the door.Attaching Solenoid Lock on door
  16. Coming to the main part of the project, i.e. connecting the Fingerprint sensor.
  17. For Fingerprint sensor, we have made a 3D printed holder. You can also make it using the cardboard.
  18. Glue the Fingerprint sensor on top of the holder.
  19. We will also use a small strip of RGB light for indication.
  20. The final assembly will look like this:final assembly

Step 2: Circuitry

The Fingerprint sensor is connected as:
  1. GND to evive’s GND
  2. VCC to evive’s +5V
  3. RX to evive’s Digital Pin 11
  4. TX to evive’s Digital Pin 12
The LED strip is inserted as
  1. GND to evive’s GND
  2. VCC to evive’s +5V
  3. DIN to evive’s Digital Pin 2
The wires of Solenoid Lock are being inserted into the Motor Channel 1 of evive.

fingerprint door lock

Step 3: Logic

The solenoid is connected to Motor Channel 1. Thus, when the When the fingerprint gets matched the solenoid gets the signal, thus the magnet attracts the slot, opening the door.
The door opens up for 3 secs. After which the slot returns to its original position, closing the door.
If the fingerprint does not match, the door remains locked.

Step 4: Code

There are three modes of working with the safe. They are:
  1. Access Control Mode
  2. Enrollment Mode
  3. Delete Database Modemenu

Access Control Mode:

In this mode, fingerprints might already be inserted in the database. Thus, we only need to place our fingerprint to unlock.access control
If it recognizes the fingerprint entered, the LED will turn red and on TFT Screen ‘Access Granted’ will be displayed.access control2

Enrollment Mode:

There is a new user, thus fingerprint needs to be entered in the database. This mode deals with this situation. We can add number of users. From our code, we can add 10 users. We can select the number on which we want to enter the data, by rotating the potentiometer knob.choose number
The system will again ask to verify your fingerprint, thus asking twice for the fingerprint.enroll 2enroll 3enroll 4
Finally, on TFT Screen ‘Success’ is displayed.Success

Delete Database Mode:

If you need to erase the existing data, this option is used.delete database
The code for all the three modes is given:

Step 5: Conclusion

With this, your very own DIY Fingerprint Locker is now ready! Sit back, and Netflix and Chill without worrying about others stealing your stuff!

Circuit Diagram

DESCRIPTIONCIRCUIT DIAGRAM
The Fingerprint sensor is connected as:
  1. GND to evive’s GND
  2. VCC to evive’s +5V
  3. RX to evive’s Digital Pin 11
  4. TX to evive’s Digital Pin 12
The LED strip is inserted as
  1. GND to evive’s GND
  2. VCC to evive’s +5V
  3. DIN to evive’s Digital Pin 2
The wires of Solenoid Lock are being inserted into the Motor Channel 1 of evive.

Code

DESCRIPTIONDOWNLOAD CODE
Code for Electronic Safe BoxDownload
Door Lock Laser Cutting FileDownload
Neopixel LibraryDownload
Fingerprint Sensor LibraryDownload
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