Jump to content
Electronics-Lab.com Community

Using Fingerprint Sensor on MCU -- Ameba Arduino


MENG XI

Recommended Posts

Lack of security consideration is always debated in DIY projects, but now with Ameba Arduino-- an ARM Cortex M3 based WiFi microcontroller, you can add fingerprint sensor to your personal DIY project and boost its security. Here is a demo

 

Preparation

 

  • Ameba x 1
  • AS606 fingerprint identification module x 1

Example

In this example, a fingerprint identification module is used to store fingerprints and identify them. This module uses SYNOCHIP AS606 chip, which can store up to 1000 sets of fingerprints. The libraries we need are:

https://github.com/ambiot/amb1_arduino/raw/master/Arduino_libraries/AmebaFingerprint.zip

For the way to install the library, please refer to the teaching article of the Arduino official website to add the zip file library to Ameba:

https://www.arduino.cc/en/Guide/Libraries#toc4

This module uses UART to communicate with AMEBA. In addition to VCC (3.3V) and GND, and using UART TX and RX lines, we turn the module to the back. The RTL8195 example wiring is as follows:

1

The RTL8710 example wiring is as follows:

1

We open the example "File" -> "Examples" -> "AmebaFingerprint" -> "enroll", compile and upload to Ameba and press the Reset button. At this point, open the terminal and you should see the fingerprint identification module message:

1

Then follow the message at the console prompt, we type a letter 'a’ on the keyboard.

1

The console prints the "waiting for valid finger to enroll" message, and you can place your finger on the module window.

1

If the module has correctly collected the fingerprint, then it will ask to remove the fingerprint and then place the same finger on the window.

1

If the fingerprint is collected correctly, the console will mention printfs matched and store the fingerprint. Then you can try to collect more fingerprints from different fingers.

Then we have to test whether the fingerprint identification module can successfully identify the fingerprint that has just been stored. We open the example "File" -> "Examples" -> "AmebaFingerprint" -> "fingerprint", compile and upload to Ameba and press Reset button, open the terminal at this time, you should see the message that can find the fingerprint identification module:

1

And the prompt is waiting for the verification fingerprint, at this time, place the same finger just sampled in the fingerprint recognition window.

1

The Console will display the message "Found ID #x with confidence of xx", which means the identification is successful.

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...