Electric Fingerprint Lock- Arduino Compatible

by Elecrow in Circuits > Arduino

12855 Views, 292 Favorites, 0 Comments

Electric Fingerprint Lock- Arduino Compatible

AIIJ_}$UJ7[H}W~_C5`I_C6.png
IMG_6120.JPG
[Elecrow] Arduino Compatible Fingerprint Lock

Every company have several depatments, different jobs have different requirements. Recently, our financial officers has encountered some problems.

Their paper files require high of confidentiality and security, some important information is stored in a drawer, but ordinary mechanical lock and unlock methods do not have high security, then we thought of using the advanced technology- fingerprint to unlock and electronic lock, by a specific person's fingerprint input to complete the unlock process, so not only eliminates the need of carring the key and the risk of losing the keys, but also greatly improve the security of the company's internal data.

The application has powerful practical function, the module building is relatively easy to use spare time for me and my colleagues to help finance staff, and it runs perfectly. Let's share with you now.

Technical Solution

新建_041916_044800_PM_042116_103634_AM.jpg
flow.jpg

Ok, let’s have a think about how to achieve these functions. First, we need a electric lock that could be controlled by the current, next we need a fingerprint sensor to record the fingerprint. A main controller is necessary too. At last we add some interactive modules like button, buzzer and other sensor like adjustable infrared sensor to make it run more intelligentized.

And there are two flow chart, the left one shows how to record the right fingerprint, and the right one shows how to confirm the right fingerprint and open the lock. you need to pay attention on that the record mode has include the verification mode for verify we

Preparation

IMG_6008.jpg

So the basic conceptual framework has been completed. Now we need to pick up the specific modules.

1: Crowduino uno x 1

2: Crowtail- Fingerprint sensor x 1

3: Electromagnetic Lock x 1

4: Crowtail base shield x 1

5: Crowtail- Adjustable Infrared Sensor 3-50cm x 1

6: Crowtail button x 1

7: Crowtail buzzer x 1

8: USB Booster Cable (DC5V To DC12V) x 1

9: Mini usb cable x 1

10: Crowtail- Relay x 1

11: Male to male jumper wire x 3

12: Standard DC Barrel Power Connector x 1

Main Controller

IMG_6014.jpg
IMG_6020.JPG

Although we have to prepare so many modules, but hardware module’s building also be very easy and convenient.

The next is to witness the happen of wonderful thing. Firstly, a crowduino uno is necessary, we choose it play the role of main controller due to his powerful function and Arduino compatibly. If we want make it more easy to wok with other modules, we still lack of a Crowtail base shield, it can provide a “bed” for our “module babies”.

Fingerprinter Sensor

IMG_6024.JPG
IMG_6028.JPG
IMG_6030_041916_024336_PM.jpg

Have a look, just stack them together, now we need to carry “module babies” to their bed, the first one is the fingerprint sensor, it can read your fingerprint and save it. When the finger print be consistent with the record one, it will send a high level to Crowduino uno. If else, it will output low level. Ok, seat it at “U2”.

Crowtail Adjustable Infrared Sensor

IMG_6035.JPG
IMG_6033_041916_024718_PM.jpg

But there has a problem need to be solved, how could we determine the chance to record fingerprint? We pick up a Crowtail adjustable infrared sensor to help us, when our finger cover the glow in infrared by the infrared sensor, it will trigger the fingerprint sensor to read the fingerprint. Look at the picture, just connect it to D9 with its special Crowtail interface.

Button and Buzzer

IMG_6037.JPG
IMG_6048_041916_025206_PM.jpg
IMG_6053.jpg
IMG_6056_041916_025246_PM.jpg

So if we want to make others obtain the “key permit”, we need to set a button for reread. Now when we press the button, it could record fingerprint, (note: record fingerprint should be divide into two steps: record and confirm, so you need to press your finger on sensor twice). A 3 PIN Crowtail cable and a Crowtail button will do this job well when you connect it to D10.

Then how about add a buzzer to remind us when someone put the wrong fingerprint on the sensor? I think it will make our Fingerprint lock become more “smarter” and we just add a step for connecting the Crowtail buzzer to D12 as pictures show.

A Small Problem

IMG_6080.JPG
IMG_6095.JPG

The next heavy hitters - our Electromagnetic Lock, but if we want to make “him” cooperate with our work, we still need to do some endeavor, ok, i understand that some famous person always have “strange request” as only power it with DC12V. But we can only provide a DC 5v power, so what can we do to meet the requirement of this “famous star”?

It can’t beat us! We try a lots of ways and finally find a USB booster cable, it can boost the DC5V to DC12V.

Solve the Problem

IMG_6059.JPG
IMG_6071.JPG
IMG_6075_041916_025405_PM.jpg
IMG_6062_041916_025859_PM.jpg
IMG_6065.JPG
IMG_6081_041916_025812_PM.jpg
IMG_6084_041916_035016_PM.jpg
IMG_6083.JPG

Before that we need a relay module to protects our circuit, a crowtail relay will save more time, just a crowtail cable for connecting. And we also need for three jumper wires to link relay module and lock as follow picture shows. There has a minor details should be deal with, we have to weld the DC barrel power connector which is compatible with our USB booster cable.

OK. We have solve the lock's "problem"! Then just carry it on the "bed" and sit on D11 with a 3 PIN Crowtail cable,

Upload the Program

IMG_6100_041916_040224_PM.jpg
EF{0UKP9NFY}EJD~%AC8_JT.png
H1Z]T59TS`Z%)~`XS5QEFAL.jpg
test

Ok, up to now, we have finish most of hardware build work. Next we should to install it to our drawer, but before that we should have a test to make sure it can work perfect! So now it’s time to have vitalization process- upload the program on our Crowduino, you can download the code and related library file at there. Don’t forget to copy the fingerprint library file to your Arduino library. Connect the Crowduino UNO to computer with a mini usb cable then choose the right port, when your finish upload, you can have a test as our video shows.

Install It to Drawer

IMG_6108.JPG
IMG_6110.JPG
IMG_6120.JPG
IMG_6130.JPG

OK, let me catch my breath, we need to overcome the last obstacle, firstly, fasten the lock with drawer inside, then fix the fingerprint sensor outside, and the crowduino uno inside next. The button also should be install inside, so if you want to close the drawer, please record the fingerprint first! The buzzer and infrared sensor have to stay out of the drawer. Don’t forget to clean up the fly wires so that it will looks more comfortable. OK! Well done! What’s a nice application! Let “him” play his first show now!

A Happy Ending

Our financial officers fell in love with “him” when they see “him” first, it can protect their data well. and it could save 10 types of fingerprinter at most. May be we could add some more powerful function on it in the near future. We can make it more better and smarter!

Here are program and library file. You can download by yourself.