Home  ›  Getting Started  ›  Arduino  ›  Interfacing Fingerprint Reader Integrated SM630 with Arduino Uno

Tags: , ,

Interfacing Fingerprint Reader Integrated SM630 with Arduino Uno

Introduction

Fingerprint Reader Integrated SM630 is a fingerprint verification module. It consists of optical fingerprint sensor, high performance DSP processor and Flash. It boasts of functions such as fingerprint login, fingerprint deletion, fingerprint verification, fingerprint upload, fingerprint download,etc. By interfacing with Arduino Uno, the board is ready to do the above operation of the fingerprint reader. Therefore, in this tutorial, I will explain the connection, the screen shot of 5 selected fingerprint operation (add fingerprint, delete fingerprint, search fingerprint, empty database and search database) and some of the important code on how to do the fingerprint reader operation.

Tools and Components

Arduino Uno

Cytron Protyping Shield

Fingerprint Reader Integrated SM630

LCD Keypad Shield

Buzzer-PCB Mount

2510 PCB Connector 4 Ways (R/A)

Procedures

1. First of all, solder the Buzzer-PCB Mount and 2510 PCB Connector 4 Ways (R/A) to the Cytron Prototyping Shield.

2. Next, connect the component on the cytron prototyping shield as shown in the sample circuit below.

3. The view of the fingerprint reader connected with the Cytron Prototyping shield.

4. Attach the Arduino Uno Board, LCD Keypad Shield and Cytron Prototyping Shield Together. Please make sure that the LCD Keypad shield is on the top.

5. Download the sample code of the Fingerprint Reader Integrated SM630 under the attachment of this tutorial.

6. Open the sample code with Arduino IDE and upload it to the Arduino Uno. If you are a beginner to Arduino Uno, make sure you have already installed the driver on your computer. You can refer to the link below for getting started with the Arduino Uno.

7. After the sketch is uploaded, the LCD will display as below:

8. Now, let’s playing around with this fingerprint reader.

Main Menu

Once the sketch is uploaded, the LCD will display as above. Press down or up to view the fingerprint operation. There are altogether five fingerprint operations. Add fingerprint, delete fingerprint, search fingerprint, empty database & search database.

Main Menu
Add Fingerprint
Delete Fingerprint
Search Fingerprint
Empty Database
Search Database

Add Fingerprint Operation

While on the main menu, press select button when you see the add fingerprint menu selection. Here are examples on adding fingerprint user ID 1 and fingerprint user ID 5.

Press Select button to add fingerprint user ID 1. In order to add fingerprint user ID 5, press down button until you see add fingerprint user ID 5.

     

Once select button is pressed, the fingerprint reader will proceed to the process of adding fingerprint.

     

The LCD will display “Fingerprint Added” when the process is successfully done and the buzzer will beep twice. Short beep. Please noted that after LCD display  “Fingerprint Added”, you need to press the reset button in order to go to main menu again.

     

Mean while, if no fingerprint is placed on the fingerprint reader, there is no process of adding fingerprint. The LCD will display “Time out.”

LCD display “Time Out” and the buzzer will beep twice. Long beep.

Delete Fingerprint Operation

On the main menu, press select button when you see the delete fingerprint menu selection. Here are examples on adding fingerprint user ID 2 and fingerprint user ID 4.

Press Select button to delete fingerprint user ID 2 or fingerprint 4. For fingerprint 4, please press down button until you see delete fingerprint user ID 4.

     

Once select button is pressed, the fingerprint reader will proceed to the process of delete fingerprint.

The LCD will display “Delete Fingerprint Operation Success” when the process is successfully done and the buzzer will beep twice. Short beep.

Search Fingerprint Operation

On the main menu, press select button when you see the search fingerprint menu selection. Here are examples on searching fingerprint user ID 1 and fingerprint user ID 5.

Once select button is pressed, the fingerprint reader will proceed to the process of searching fingerprint.

     

The LCD will display “Search FPrint Operation Success” when the process is successfully done.


     

Lastly, the LCD will display the fingerprint user ID and the buzzer will beep twice. Short beep.

     

Mean while, if no fingerprint is placed on the fingerprint reader, there is no process of adding fingerprint. The LCD will display “Time out.”

LCD display “Time Out” and the buzzer will beep twice. Long beep.

If the fingerprint is not added into the fingerprint reader yet, the LCD will display “No Match Found, Invalid Fingerprint”

LCD display “No Match Found, Invalid Fingerprint” and the buzzer will beep twice. Long beep.

Empty Database

On the main menu, press select button when you see the empty database menu selection.

Once select button is pressed, the fingerprint reader will proceed to the process of empty database.

The LCD will display “Empty Database Operation Success” when the process is successfully done and the buzzer will beep twice. Short beep.

Search Database

On the main menu, press select button when you see the search database menu selection. Taking into examples here are searching fingerprint user ID 1 and fingerprint user ID 5.

Press Select button to search database user ID 1 or database user ID 5. For database user ID 5, please press down button until you see search database user ID 5.

     

Once select button is pressed, the fingerprint reader will proceed to the process of searching fingerprint.

The LCD will display “Database Found” when the user ID has fingerprint and the buzzer will beep twice. Short beep.

Mean while, if the user ID doesn’t has the fingerprint, the LCD will display “Database Not Found” Examples on Searching Database User ID 3.

LCD display “Database Not Found” and the buzzer will beep twice. Long beep.

Arduino Programming Code Description

Some descriptions of the sample code are as shown in the followings: Please note that this tutorial only demonstrate 5 operations of fingerprint reader. For other operations, please refer to the fingerprint reader user manual for more details about the transmit command code and receive respond code.

Important sample function codes to initialize the byte operation of the fingerprint.

Important sample function codes to send command code for the fingerprint reader from Arduino Uno.

Important sample function codes to receive respond code from fingerprint reader.

Important sample function codes to compare received byte with database byte.

Important sample function codes method to compare the received byte with database byte.

Lastly, GOOD LUCK & Have A Try.  :-D

Attachment

Fingerprint Reader Integrated SM630 with Arduino Uno

SN-FPR-SM630 User’s Manual


13 Responses to “Interfacing Fingerprint Reader Integrated SM630 with Arduino Uno”

  1. Sanjay says:

    Thnkx a ton for this tut..
    but i have one ques.. in this case u have considered fixed number of fingerprints i.e. 5 fingerprint.. what if we have to much larger quantity.. say 500 fingerprints!!
    how will the code vary..??

  2. hyng says:

    Hi, Sanjay.. this is just the sample code. If you have further doubts, please continue discuss in our technical forum. http://forum.cytron.com.my/

    Thanks.

  3. syahir says:

    wow!!

  4. elson says:

    can i use this code for other type of fingerprint.because i have my own fingerprint module ADST11SD300&310? i dont know how to connect it to an arduino board.

  5. hyng says:

    Elson,

    You need to compare with the protocol. If they are compatible then the code can be used.

  6. visakh says:

    i need arduino code of fingerprint sensor for getting digital dada corresponding to the finger print stored in an ID. please help me……..

  7. Sunny says:

    Can u plz give me code for uploading fingerprint data from module to arduino…
    if possible also for the downloading it to the module again also

  8. isa says:

    hi.tnx for the guidance.excuse me is it code vision code?because it doesnt respond on my compiler.is “byte” a function or its in specific library?

  9. apiz says:

    Hi,
    i want to do this project for my fyp. but can i ask how to set only one user and how to secure it from breaching. i want to make biometric lock box but i really confused about set user. can u give me further explanation. if it many user and not secure , anyone may can access my biometric lock box. hope have any reply. thankz

  10. Rio says:

    Great work..
    But i have some question about your project,,
    What kinda data did you use in this project?
    As we know that sm630 have possibility to make our fingerprint image in the GUI,did you use this option or else?

  11. apiz says:

    hello, where to put this coding .. can give me a copy of this coding??

  12. ober says:

    The Arduino UNO sketch can be download from the bottom of this page. If you are new to Arduino, please visit the getting started page.

  13. maxwell says:

    hello sir,
    first i want to say thanks for this awesome tutorial ,
    a friend of mine bough sm630 from this website as a present for me, i followed your instructions on how to
    interface sm630 module with aduino uno,when i try to add finger the lcd will display “Adding Finger print in process”
    it will remain there and nothing will happen when i try other options like search database,delete finger the lcd
    will remain the same, i didn’t get any responds or any error message from my aduino uno,i tried the pc gui application
    for the sm360 with my aduino uno, using it as usb to uart converter, the module work flawlessly,
    sir i will be very grateful if you can help me with this problem.

Leave a Reply

Help us improve the wiki Send Your Comments