Using Fingerprint Sensor on Ameba Arduino

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

Ameba x 1
AS606 fingerprint identification module x 1


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:

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:

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:

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:

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

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

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.

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:

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

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