Grow R503 User Manual

Grow R503 User Manual

Fingerprint module
Table of Contents

Advertisement

Quick Links

R503 Fingerprint Module
User Manual
Hangzhou Grow Technology Co., Ltd.
2022.10 Ver: 1.2.2
1
www.hzgrow.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the R503 and is the answer not in the manual?

Questions and answers

Summary of Contents for Grow R503

  • Page 1 R503 Fingerprint Module User Manual Hangzhou Grow Technology Co., Ltd. 2022.10 Ver: 1.2.2 www.hzgrow.com...
  • Page 2 The Manual contains proprietary information of Hangzhou Grow Technology Co., Ltd., which shall not be used by or disclosed to third parties without the permission of GROW, nor for any reproduction and alteration of information without any associated warranties, conditions, limitations, or notices.
  • Page 3 V1.2 2021.10 3. Added 0x32 automatic fingerprint Grow Tech verification: the upper computer can only send one command to realize image collection, generate features, search and compare the fingerprint database, and return the comparison results 4. Added template upload procedure flow 5.
  • Page 4: Table Of Contents

    Catalog I Introduction ........................... - 1 - Operation Principle ........................- 1 - II Hardware Interface ........................- 2 - Exterior Interface ........................- 2 - Serial Communication ........................ - 2 - Hardware Connection ......................... - 3 - Serial communication protocol ....................- 3 - Power-on delay time ........................
  • Page 5 To store template Store .................... - 19 - To read template from Flash library LoadChar ............- 20 - To delete template DeletChar ................- 21 - To empty finger library Empty ................- 21 - To carry out precise matching of two finger templates Match ......
  • Page 6: I Introduction

    I Introduction Power DC 3.3V Interface UART(3.3V TTL logical level) Working current 20mA Matching Mode 1:1 and 1:N (Fingerprint Matching Time 1:N<10ms/Fingerprint acquisition) Standby current Typical touch standby Characteristic value 512 bytes (finger detection) voltage: 3.3V size Average current: 2uA Baud rate (9600*N)bps, Template size...
  • Page 7: Ii Hardware Interface

    II Hardware Interface Exterior Interface Connector: MX1.0--6P Thread:M25 Product external diameter: 28mm Inner diameter:25mm Height:19mm (Standard Height is 19mm, also have 15mm and 32mm height, if needs this size,pls contact sales) Serial Communication Connector: MX1.0--6P Name Description Power Supply DC3.3V Signal ground.
  • Page 8: Hardware Connection

    Power Supply Requirements The power supply is DC +3.3V. The power input is allowed only after the R503 is properly connected. Electrical components of the R503 may be damaged if you insert or remove the cable (with the electric plug) when the cable is live.
  • Page 9: Ripple Noise

    The R503 may not work properly due to poor power connections, short power off/on intervals, or excessive voltage drop pulses. So pls keep the power is stable. After the power is turned off, the power must be turned on at least two seconds later.
  • Page 10: Iii System Resources

    III System Resources To address demands of different customer, Module system provides abundant resources at user’s use. Notepad The system sets aside a 512-bytes memory (16 pages* 32 bytes) for user’s notepad, where data requiring power-off protection can be stored. The host can access the page by instructions of PS_WriteNotepad and PS_Read Notepad.
  • Page 11: Baud Rate Control (Parameter Number: 4)

    configuration. Baud rate control (Parameter Number: 4) The Parameter controls the UART communication speed of the Module. Its value is an integer N, N= [1/2/4/6/12]. Corresponding baud rate is 9600*N bps。 Security Level (Parameter Number: 5) The Parameter controls the matching threshold value of fingerprint searching and matching. Security level is divided into 5 grades, and corresponding value is 1, 2, 3, 4, 5.
  • Page 12: Random Number Generator

    The address length is 4 bytes, and its default factory value is 0xFFFFFFFF. User may modify the address via instruction SetAddr. The new modified address remains at power off. Random number generator Module integrates a hardware 32-bit random number generator (RNG) (without seed). Via instruction GetRandomCode, system will generate a random number and upload it.
  • Page 13: Iv Communication Protocol

    IV Communication Protocol The protocol defines the data exchanging format when R503 series communicates with upper computer. The protocol and instruction sets apples for both UART communication mode. Baud rate 57600, data bit 8, stop bit 1, parity bit none.
  • Page 14: Instruction Table

    Instruction Table Code Identifier Description Code Identifier Description GenImg Collect finger image SetPwd To set password Img2Tz To generate character file VfyPwd To verify password from image Match Carry precise GetRandomCo to get random code matching templates; Search Search the finger library SetAdder To set device address RegModel...
  • Page 15 02h: no finger on the sensor; 03h: fail to enroll the finger; 06h: fail to generate character file due to the over-disorderly fingerprint image; 07h: fail to generate character file due to lackness of character point or over-smallness of fingerprint image 08h: finger doesn’t match;...
  • Page 16: Module Instruction System

    V Module Instruction System System-related instructions Verify password VfyPwd Description: Verify Module’s handshaking password. Input Parameter: PassWord (4 bytes) Return Parameter: Confirmation code (1 byte) Instruction code: 13H Command (or instruction) package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 4 byte 2 bytes...
  • Page 17 Set Module address SetAdder Description: Set Module address. Input Parameter: Addr Return Parameter: Confirmation code (1 byte) Instruction code: 15H Command (or instruction) package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 4 bytes 2 bytes Header Original Package Package Instruction...
  • Page 18: Templetenum

    Name Parameter number Content Data range:1, 2/4/6/12, Baud rate indicates that baud rate is 9600 * N bps Security level Data range: 1, 2, 3, 4, 5 Data range: 0, 1, 2, 3 the corresponding lengths (bytes) Packet content length are as follows: 32, 64, 128, 256 Read system Parameter ReadSysPara...
  • Page 19: Readindextable(0X1F

    2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package Package Instruction Checksum identifier length code 0xEF01 xxxx 0003H 0021H Acknowledge package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes 2 bytes Header Module Package...
  • Page 20: Fingerprint-Processing Instructions

    Index table data … … Template number T[31] Index table data Data "0" in the index table means that there is no valid template in the corresponding position;"1" means that there is a valid template in the corresponding position. Fingerprint-processing instructions To collect finger image GetImg Description: detecting finger and store the detected finger image in ImageBuffer while...
  • Page 21: Downimage

    2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package Package length Instruction code Checksum identifier 0xEF01 Xxxx 000eH Acknowledge package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module Package Package Confirmation...
  • Page 22: To Generate Character File From Image Genchar

    packet first, and then sends several data packet. 3.Packet Bytes N is determined by Packet Length. The value is 128 Bytes before delivery. Data package format: 2 bytes 4bytes 1 byte 2 bytes N byte 2 bytes Header Module Package identifier Package Package Checksum...
  • Page 23: Upchar

    Command (or instruction) package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module Package Package Instruction Checksum address identifier length code 0xEF01 xxxx Acknowledge package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module...
  • Page 24 address length content 0xEF01 xxxx 0x02- have Template following packet data 0x08 - end packet Download template DownChar Description: upper computer download template to module buffer Input Parameter: CharBufferID (Buffer number) Return Parameter: Confirmation code (1 byte) Instruction code: 09H Command (or instruction) package format: 2 bytes 4bytes...
  • Page 25 Instruction code: 06H Command (or instruction) package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes 2 bytes Header Module Package Package Instruction buffer Location Checksum address identifier length code number number 0xEF01 xxxx CharBuffer ModelID Note: CharBufferID is filled with 0x01 Acknowledge package format:...
  • Page 26 To delete template DeletChar Description: to delete a segment (N) of templates of Flash library started from the specified location (or PageID); Input Parameter: StartID + Num Return Parameter: Confirmation code (1 byte) Instruction code: 0cH Command (or instruction) package format: 2 bytes 4bytes 1 byte...
  • Page 27 To carry out precise matching of two finger templates Match Description: Compare the recently extracted character with the templates in the ModelBuffer, providing matching results. Input Parameter: none Return Parameter: Confirmation code (1 byte),matching score. Instruction code: 03H Command (or instruction) package format: 2 bytes 4bytes 1 byte...
  • Page 28 matching score are 0); 2: The instruction doesn’t affect the contents of the buffers. Fingerprint image collection extension command GetImageEx(0x28) Description: Detect the finger, record the fingerprint image and store it in ImageBuffer, return it and record the successful confirmation code;If no finger is detected, return no finger confirmation code(the module responds quickly to each instruction,therefore, for continuous detection, cycle processing is required, which can be limited to the number of cycles or the total time).
  • Page 29 Acknowledge package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module Package Package Confirmation Checksum address identifier length code 0xEF01 xxxx 0x07 0x0003 Note 1: Confirmation code=0x00: cancel setting successful Confirmation code=other: cancel setting failed HandShake HandShake(0x40)...
  • Page 30 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module Package Package Confirmation Checksum address identifier length code 0xEF01 xxxx 0x07 0x0003 Note 1: Confirmation code=0x00: the sensor is normal; Confirmation code=0x29: the sensor is abnormal. Get the algorithm library version GetAlgVer (0x39) Description: Get the algorithm library version Input Parameter: none...
  • Page 31: Read Product Information Readprodinfo (0X3C)

    Read product information ReadProdInfo (0x3C) Description: Read product information Input Parameter: none Return Parameter: Confirmation code+ProdInfo(product information) Instruction code: 0x3C Command (or instruction) package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module Package Package length Instruction code Checksum address...
  • Page 32: Aura Control Auraledconfig (0 X35)

    Header Module Package Package length Instruction code Checksum address identifier 0xEF01 xxxx 0x01 0x0003 0x3D Acknowledge package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module Package Package Confirmation Checksum address identifier length code 0xEF01 xxxx 0x07 0x0003...
  • Page 33 0xEF01 xxxx 0x07 0x0003 Note 1: Confirmation code=0x00: success; Confirmation code=0x01:error when receiving package; Automatic registration template AutoEnroll (0 x31) When a fingerprint is recorded using an automatic registration template, the fingerprint image needs to be recorded six times for each fingerprint template. The blue light blinks when the fingerprint image is collected.
  • Page 34 2 bytes 4bytes 1 byte 2 bytes 1 byte 1 bytes 1 bytes 2 bytes Header Module Package Package Confirmation Parameter Parameter Checksum address identifier length code 0xEF01 xxxx 0x07 0x0005 Parameter 1: Step Process: 0x01: Collect image for the first time 0x02: Generate Feature for the first time 0x03: Collect image for the second time 0x04: Generate Feature for the second time...
  • Page 35 the fifth time Generate Feature 0xEF01 XXXX 0x0005 0x00 0x07 for the fifth time Collect image for 0xEF01 XXXX 0x0005 0x00 0x07 the sixth time Generate Feature 0xEF01 XXXX 0x0005 0x00 0x07 for the sixth time Repeat fingerprint 0xEF01 XXXX 0x0005 0x0D 0x00...
  • Page 36 Instruction code: 0x32 Command (or instruction) package format: 1 byte 2 bytes 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte bytes bytes bytes Number Heade Package Package Instruction Security Start Number of Whether Check identifier length code Level Position...
  • Page 37: Other Instructions

    Other instructions To generate a random code GetRandomCode Description: to command the Module to generate a random number and return it to upper computer; Input Parameter: none Return Parameter: Confirmation code (1 byte)+RandomCode Instruction code: 14H Command (or instruction) package format: 2 bytes 4bytes 1 byte...
  • Page 38 3.Packet Bytes N is determined by Packet Length. The value is 128 Bytes before delivery. 4: The instruction doesn’t affect buffer contents. Data package format: 2 bytes 4bytes 1 byte 2 bytes N byte 2 bytes Header Module Package identifier Package Package Checksum...
  • Page 39 Acknowledge package format: 2 bytes 4bytes 1 byte 2 bytes 1 byte 32bytes 2 bytes Header Module Package Package Confirmation User content Checksum address identifier length code 0xEF01 xxxx 0x0023 User content Note: Confirmation code=00H: read success; Confirmation code=01H: error when receiving package; - 34 - www.hzgrow.com...
  • Page 40: Ⅵ Operation Process

    Ⅵ Operation Process Register Fingerprint Start Finger removed from sensor No Time out No finger press Poor image quality Finger state is detected by image acquisition command Collect Image successfully? If the time out? Finger does Time out not leave the sensor Extract feature successfully? Reach the set times of feature extraction?
  • Page 41: Search Fingerprint

    Search Fingerprint Start Finger removed from sensor No Time out No finger press Poor image quality Finger state is detected by image acquisition command If the Time out Collect Image successfully? Time out Finger does not leave the sensor Extract feature successfully? Search fingerprint successfully? Finish - 36 -...
  • Page 42: Automatic Register Fingerprint

    Automatic Register Fingerprint Send instruction Instruction error,did not return the reply packet Overwriting If the override ID is not numbers is not allowed, check whether allowed, Error the ID already exists. If code 22 or Error the ID does not exist, code skip it returned when the...
  • Page 43: Automatic Fingerprint Verification

    Automatic Fingerprint Verification Send instruction Fingerprint error,no respond Level parameter error, return 01 Position erroe, return 0B Check the security level and Start end position parameters White breathing light If no image is captured for Collect image Error more than 15 seconds, the respond system automatically exits, return error code 26...
  • Page 44: Upload Fingerprint Template

    Upload Fingerprint Template The fingerprint is obtained from the sensor and the feature is generated then upload to the main control The whole process mainly includes: verify acquire image, generate features and upload templates. BufferID is set to the default value 1 when sending the generate feature and uploading template. Note:at this point, a feature file is uploading, not a template.
  • Page 45: Read A Specified Template Upload To Flash Fingerprint Database

    Read a specified template upload to Flash Fingerprint Database The whole process mainly includes: read template and upload templates. BufferID is set to the default value 1 when reading template and uploading feature. Note:at this point, a template is uploading, not a feature file. Start Send read template command Return successfully...
  • Page 46: Download Fingerprint Template

    Download Fingerprint Template The main control downloads a fingerprint feature and searches the fingerprint database based on the feature The whole process mainly includes: download template and search fingerprint. BufferID is set to the default value 1 when downloading template and searching fingerprint. Note:at this point, have to download a feature file, not a template.
  • Page 47 The main control downloads two fingerprint features or templates for accurate comparison The whole process mainly includes: download template and accurate comparison. The BufferID needs to be set differently when download template two times. Note that there is no special requirement for BufferID Settings when the exact comparison object is two feature files or two feature templates.
  • Page 48 The main control downloads one fingerprint feature or template for accurate comparison accurate comparison The whole process mainly includes: download template and read template and BufferID is set to 1 when downloading template. BufferID is set to 2 when reading template. Start Send download template command Return successfully...
  • Page 49: Low Power Standby

    Low power standby For low-power standby scenarios, the host can cut off the main power supply of the module (can not cut off the touch-sensitive power supply). Once the module detects a finger, it outputs a signal in the IRQ signal. Then the host can power on the module to perform fingerprint identification. Start Power on the main power supply(VCC) of the module Perform fingerprint registration and identification and so on...
  • Page 50: Ⅶ Reference Circuit

    Ⅶ Reference Circuit In low-power supply mode, the whole circuit is normally powered off. Use the finger detection function of the module to power on the whole machine. Please refer to the circuit form of R307 (R307 is 5V power supply). - 45 - www.hzgrow.com...

Table of Contents

Save PDF