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
Fingerprint Reader Integrated SM630
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.
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.
Attachment
Fingerprint Reader Integrated SM630 with Arduino Uno

























































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..??
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.
wow!!
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.
Elson,
You need to compare with the protocol. If they are compatible then the code can be used.
i need arduino code of fingerprint sensor for getting digital dada corresponding to the finger print stored in an ID. please help me……..
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
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?