20-03-2017, 01:13 PM
The fingerprint sensor is the combination of the R305 FP + PIC MCU card which can read different fingerprints and store in its own flash memory. The sensor can perform three functions, namely Add, Empty Database or Search Database and return the stored fingerprint ID. Any of three functions can be called simply by making the sensor under the pin or pressing on board three switches. The answer is an error or it is indicated by the integrated LED. The response is also returned as a single serial data byte. The return byte is a valid ID or error code. The response byte is a single byte at 9600 bps making the whole sensor very easy to use. We have provided LED indicators and the function switch is now ready to use when you receive it. Just give the power and start using the sensor using on-board switches. You can then proceed to make the external application using these functions.
Characteristics
• Easy to use
• Status LED
• Function Switches
• Single-byte response
• Work at 5V
• UART 9600bps response
Sensor inputs and outputs
Input: Two ways to activate fingerprint sensor function
1. Built-in switch: Add, Empty or Search.
2. Make the bolt under the external microcontroller for 5ms according to the function required to be executed.
Outputs (Answer): Two ways to monitor the output response after executing a function
1. Built-in LEDs: ERROR or OK
2. Read the byte after executing the function
Types of functions
There are three functions you can call for the fingerprint sensor. Let's see each one shortly.
Add (Enroll) Function: Adds a fingerprint to the database and returns a byte of the newly added ID. The return values are from 0x00 to 0xFE. In case of error like no finger placed, the return code is 0xFF. Here 0xFF stands for the error execution function
Search function: When you put a finger and call a search funtion, it returns a matching ID if it is in your existing memory. The return values are from 0x00 to 0xFE. In case of error like no finger placed, the return code is 0xFF. Here 0xFF means error executing the function.
Empty function: When you want to empty all the fingerprint data stored in the sensor, you can use this function. After executing this function, you will get 0xCC as OK or 0xFF on error.