DIY Electronic Locker Using Fingerprint Sensor

by theSTEMpedia in Circuits > Arduino

8489 Views, 59 Favorites, 0 Comments

DIY Electronic Locker Using Fingerprint Sensor

Thumbnail.JPG
Thumbnail1.jpg

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!

Things You'll Need:

Cut Outs Needed:

cut outs.jpg
cut out (4).png
cut out (3).png
cut out (2).png
cut out (1).png
components.JPG

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 is 1200 X 900 mm.

Assembling the Base

floor plaet.JPG
adding side wall.JPG
door.JPG
colored door.JPG

  • Take the Floor Plate which is of size 250 X 315 mm.
  • Using M3 bolt of 12 mm and M3 nuts attach the Left Wall i.e. one piece of 162 X 246 mm with it.
  • Take the Door Plate i.e.the cut out of size 150 X 120 mm and stick any colored chart paper, to make it look attractive.

Attaching the Door

attaching hinge.JPG
attaching hinge to the door.JPG
Connecting side walls.JPG

  • Take the plate of the Right Wall i.e. the other piece of 162 X 315 mm and attach one side of Hinge using M3 nuts and bolts.
  • Now, take the Door and attach it to the hinge as shown in the figure.
  • Attach the Right Wall assembly to the base.

Completing the Base

front wall.JPG
colored front wall.JPG
Adding the top layer.JPG
Holder.jpg

  • Next, take the Front Wall of size 315 X 170 mm and cover it with the chart paper.
  • Attach the Front Wall and Back Wall plate with the above assembly.
  • As every door have handles or doorknobs to open it, we have made on handle 3D printed.
  • Attach the handle to the door using Hot Glue.
  • This was the structure of the safe it’s time to add the main components to make the safe work.

Want to make more 3D printed stuff? Now, whatever you design can come to life. Own a 3D printer now!

Things to Know About Solenoid

Solenoid lock 1.JPG
Solenoid Lock 2.JPG
Attaching Solenoid Lock on door.JPG
  • 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.
  • Now, attach this solenoid lock to the edge of the door.

Completing the Safe

Fingerprint Sensor.JPG
Electronic Safe.JPG
final assembly.JPG

Coming to the main part of the project, i.e. connecting the Fingerprint sensor.

  • For Fingerprint sensor, we have made a 3D printed holder. You can also make it using the cardboard.
  • Glue the Fingerprint sensor on top of the holder.
  • We will also use a small strip of RGB light for indication.

Thus, the assembly is now complete.

Circuit Connections

fingerprint door lock_bb.png

The Fingerprint sensor is connected as:

  • GND to evive’s GND
  • VCC to evive’s +5
  • VRX to evive’s Digital Pin 11
  • TX to evive’s Digital Pin 12

The LED strip is inserted as:

  • GND to evive’s GND
  • VCC to evive’s +5V
  • DIN to evive’s Digital Pin 2

The wires of Solenoid Lock are being inserted into the Motor Channel 1 of evive.

Want to Know How It Works?

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.

Working Modes

menu.jpg

There are three modes of working with the safe. They are:

  1. Access Control Mode
  2. Enrollment Mode
  3. Delete Database Mode

Access Control Mode

access control1.jpg
a.jpg

In this mode, fingerprints might already be inserted in the database. Thus, we only need to place our fingerprint to unlock.

If it recognizes the fingerprint entered, the LED will turn red and on TFT Screen ‘Access Granted’ will be disp

Enrollment Mode

enroll 1.1.jpg
enroll 2.jpg
enroll 3.jpg
enroll 4.jpg
enroll 5.jpg

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.

The system will again ask to verify your fingerprint, thus asking twice for the fingerprint.

Finally, on TFT Screen ‘Success’ is displayed.

Delete Database

delete database.jpg

If you need to erase the existing data, this option is used.

Code

To know more about Arduino visit here

https://thestempedia.com/tutorials/arduino-ide/

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!

To explore more projects, visit: http://thestempedia.com/projects