Grow R503 User Manual Download Page 19

- 14 -

www.hzgrow.com

2 bytes

4bytes

1 byte

2 bytes

1 byte

2 bytes

Header

Module address

Package

identifier

Package

length

Instruction

code

Checksum

0xEF01

xxxx

01H

0003H

1dH

0021H

Acknowledge package format:

2 bytes

4bytes

1 byte

2 bytes

1 byte

2 bytes

2 bytes

Header

Module

address

Package

identifier

Package

length

Confirmation

code

Template

number

Checksum

0xEF01

xxxx

07H

5

xxH

Num

sum

Note: Confirmation code=0x00: read success;

Confirmation code=0x01: error when receiving package;

Read fingerprint template index table

ReadIndexTable

0x1F

Description: Read the fingerprint template index table of the module, read the index table of the
fingerprint template up to 256 at a time (32 bytes)
Input Parameter: Index page
Return Parameter: Confirmation code+Fingerprint template index table
Instruction code: 0x1F
Command (or instruction) package format:

2 bytes

4bytes

1 byte

2 bytes

1 byte

1 byte

2 bytes

Header

Module

address

Package

identifier

Package

length

Instruction

code

Index page

Checksum

0xEF01

xxxx

0x01

0x0004

0x1F

0/1/2/3

Sum

Index tables are read per page, 256 templates per page
Index page 0 means to read 0 ~ 255 fingerprint template index table
Index page 1 means to read 256 ~ 511 fingerprint template index table
Index page 2 means to read 512 ~ 767 fingerprint template index table
Index page 3 means to read 768 ~ 1023 fingerprint template index table

Acknowledge package format:

2 bytes

4bytes

1 byte

2 bytes

1 byte

32 bytes

2 bytes

Header

Module

address

Package

identifier

Package

length

Confirmation

code

Index page

Check-

sum

0xEF01

xxxx

0x07

0x0023

X

See the table below

sum

Note: Confirmation code=0x00: read complete;

Confirmation code=0x01: error when receiving package;

Index table structure: every 8 bits is a group, and each group is output starting from the high

position.

transport

order

The output is sequential from low byte to high byte, and each byte starts at a high byte.

T[0]

Template number

7

6

5

4

3

2

1

0

Index table data

0/1

0/1

0/1

0/1

0/1

0/1

0/1

0/1

T[1]

Template number

15

14

13

12

11

10

9

8

Summary of Contents for R503

Page 1: ...1 www hzgrow com R503 Fingerprint Module User Manual Hangzhou Grow Technology Co Ltd 2022 10 Ver 1 2 2 ...

Page 2: ...our company website www hzgrow com We have been trying our best to ensure you the correctness of the Manual However if you have any question or find error feel free to contact us or the authorized agent We would be very grateful 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 ...

Page 3: ...and and then generate templates for saving 3 Added 0x32 automatic fingerprint 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 Added template download process Grow Tech V1 2 1 2022 03 1 Added Power Supply Requirements Ripple n...

Page 4: ...ator 7 Features and templates 7 IV Communication Protocol 8 Data package format 8 Instruction Table 9 Check and acknowledgement of data package 9 V Module Instruction System 11 System related instructions 11 Verify password VfyPwd 11 Set password SetPwd 11 Set Module address SetAdder 12 Set module system s basic parameter SetSysPara 12 Read system Parameter ReadSysPara 13 Read valid template numbe...

Page 5: ...AutoIdentify 0 x32 30 Other instructions 32 To generate a random code GetRandomCode 32 To read information page ReadInfPage 32 To write note pad WriteNotepad 33 To read note pad ReadNotepad 33 Ⅵ Operation Process 35 Register Fingerprint 35 Search Fingerprint 36 Automatic Register Fingerprint 37 Automatic Fingerprint Verification 38 Upload Fingerprint Template 39 The fingerprint is obtained from th...

Page 6: ...or 1 N matching or searching system will search the whole finger library for the matching finger In both circumstances system will return the matching result success or failure Power DC 3 3V Interface UART 3 3V TTL logical level Working current Fingerprint acquisition 20mA Matching Mode Matching Time 1 1 and 1 N 1 N 10ms Fingerprint Standby current finger detection Typical touch standby voltage 3 ...

Page 7: ...needs this size pls contact sales Serial Communication Connector MX1 0 6P Pin Name Description Pic 1 Power Supply DC3 3V Note The line order has nothing to do with color 2 GND Signal ground Connected to power ground 3 TXD Data output TTL logical level 4 RXD Data input TTL logical level 5 WAKEUP Finger Detection Signal Standby high level have finger output low level 6 3 3VT Touch induction power su...

Page 8: ... touch sensing signal the upper computer supplies power to the fingerprint module and the fingerprint module starts to work The maximum response time of the touch function is about 120mS vt 3 3V When the module is not touched the recalibration period is about 4 0sec the touch signal output is CMOS output and the output voltage is roughly the same as the input voltage Serial communication protocol ...

Page 9: ...ulses So pls keep the power is stable After the power is turned off the power must be turned on at least two seconds later Ripple noise Since the power input of R503 is directly supplied to the image sensor and decoding chip To ensure stable operation pls use low ripple noise power input It is recommended that the ripple noise not exceed 50mV peak to peak ...

Page 10: ...re used to speed up the transmission that is use gray level 16 two pixels are combined into one byte The high four bits are a pixel the low four bits are a pixel in the next adjacent column of the same row that is two pixels are combined into one byte and transmitted Since the image has 16 gray levels when it is uploaded to PC for display corresponding to BMP format the gray level should be extend...

Page 11: ...1 0 Description Reserved ImgBufStat PWD Pass Busy Note Busy 1 bit 1 system is executing commands 0 system is free Pass 1 bit 1 find the matching finger 0 wrong finger PWD 1 bit 1 Verified device s handshaking password ImgBufStat 1 bit 1 image buffer contains valid image Module password The default password of the module is 0x00000000 If the default password is modified after the module is powered ...

Page 12: ... generator RNG without seed Via instruction GetRandomCode system will generate a random number and upload it Features and templates The chip has one image buffer and six feature file buffers all buffer contents are not saved after power failure A template can be composed of 2 6 feature files The more feature files in the synthesis template the better the quality of the fingerprint template It is r...

Page 13: ...gh byte transferred first Adder ADDER 4 bytes Default value is 0xFFFFFFFF which can be modified by command High byte transferred first and at wrong adder value module will reject to transfer Package identifier PID 1 byte 01H Command packet 02H Data packet Data packet shall not appear alone in executing process must follow command packet or acknowledge packet 07H Acknowledge packet 08H End of Data ...

Page 14: ... delete templates 0x40 HandShake HandShake 0DH Empty to empty the library 0x36 Check Sensor CheckSensor 0EH SetSysPara To set system Parameter 0x39 GetAlgVer Get the algorithm library version 0FH ReadSysPar a To read system Parameter 0x3C ReadProdInfo Read product information 0x3A GetFwVer Get the firmware version 0x35 Aura control AuraLedConfig 0x3D SoftRst Soft reset 0x32 AutoIdentify Automatic ...

Page 15: ... receive the following data packages 0Fh error when uploading image 10h fail to delete the template 11h fail to clear finger library 13h wrong password 15h fail to generate the image for the lackness of valid primary image 18h error when writing flash 19h No definition error 20h the address code is incorrect 21h password must be verified 22h fingerprint template is empty 24h fingerprint library is...

Page 16: ...rrect password Confirmation code 01H error when receiving package Confirmation code 13H Wrong password Set password SetPwd Description Set Module s handshaking password Input Parameter PassWord 4 bytes Return Parameter Confirmation code 1 byte Instruction code 12H Command or instruction package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 4 byte 2 bytes Header Module address Package identifier Pack...

Page 17: ...eceiving package Confirmation code 18H error when write FLASH Set module system s basic parameter SetSysPara Description Operation parameter settings Input Parameter Parameter number Contents Return Parameter Confirmation code 1 byte Instruction code 0eH Command or instruction package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 1byte 1byte 2 bytes Header Module address Package identifier Package l...

Page 18: ...ation code 01H error when receiving package Confirmation code 18H error when write FLASH Name Description Offset word Size word Status register Contents of system status register 0 2 System identifier code Fixed value 0x0000 1 2 Finger library size Finger library size 2 2 Security level Security level 1 2 3 4 5 3 2 Device address 32 bit device address 4 4 Data packet size Size code 0 1 2 3 6 2 Bau...

Page 19: ...ule address Package identifier Package length Instruction code Index page Checksum 0xEF01 xxxx 0x01 0x0004 0x1F 0 1 2 3 Sum Index tables are read per page 256 templates per page Index page 0 means to read 0 255 fingerprint template index table Index page 1 means to read 256 511 fingerprint template index table Index page 2 means to read 512 767 fingerprint template index table Index page 3 means t...

Page 20: ... captured GetImageEx When image quality is poor return confirmation code 0x07 image quality is too poor Input Parameter none Return Parameter Confirmation code 1 byte Instruction code 01H Command or instruction package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package identifier Package length Instruction code Checksum 0xEF01 Xxxx 01H 03H 01H Sum Acknowledge package...

Page 21: ...te 2 bytes N byte 2 bytes Header Module address Package identifier Package length Package content Checksum 0xEF01 xxxx 0x02 have following packet 0x08 end packet N 2 Image data sum Download the image DownImage Description to download image from upper computer to Img_Buffer Input Parameter none Return Parameter Confirmation code 1 byte Instruction code 0bH Command or instruction package format 2 by...

Page 22: ...CharBufferID Character buffer number range 1 6 The R300 A module requires a minimum of four and a maximum of six fingerprint features for the generate template Acknowledge package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package identifier Package length Confirmation code Checksum 0xEF01 xxxx 07H 03H XxH sum Note Confirmation code 00H generate character file comple...

Page 23: ... 1 byte 1 byte 2 bytes Header Module address Package identifier Package length Instruction code Buffer number Checksum 0xEF01 xxxx 01H 04H 08H CharBuffer ID sum Note This command don t need to use the CharBufferID so the CharBufferID can be any value between 1 and 6 Acknowledge package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package identifier Package length Confi...

Page 24: ...ckage length Confirmation code Checksum 0xEF01 xxxx 07H 03H xxH sum Note 1 Confirmation code 00H ready to transfer the following data packet Confirmation code 01H error when receiving package Confirmation code 0eH can not receive the following data packet Data package format 2 bytes 4bytes 1 byte 2 bytes N byte 2 bytes Header Module address Package identifier Package length Package content Checksu...

Page 25: ...y LoadChar Description to load template at the specified location PageID of Flash library to template buffer CharBuffer1 CharBuffer2 Input Parameter CharBufferID ModelID Return Parameter Confirmation code 1 byte Instruction code 07H Command or instruction package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes 2 bytes Header Module address Package identifier Package length Instruction c...

Page 26: ...tion code 00H delete success Confirmation code 01H error when receiving package Confirmation code 10H faile to delete templates Confirmation code 18H error when write FLASH To empty finger library Empty Description to delete all the templates in the Flash library Input Parameter none Return Parameter Confirmation code 1 byte Instruction code 0dH Command or instruction package format 2 bytes 4bytes...

Page 27: ...g 2 The instruction doesn t affect the contents of the buffers To search finger library Search Description to search the whole finger library for the template that matches the one in CharBuffer1 or CharBuffer2 When found PageID will be returned Input Parameter CharBufferID StartID Num Return Parameter Confirmation code ModelID template number MatchScore Instruction code 04H Command or instruction ...

Page 28: ...r none Return Parameter Confirmation code Instruction code 0x28 Command or instruction package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package identifier Package length Instruction code Checksum 0xEF01 xxxx 0x01 0x0003 0x28 sum Acknowledge package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package identifier Package length Confirmati...

Page 29: ...ss Package identifier Package length Instruction code Checksum 0xEF01 xxxx 0x01 0x0003 0x40 sum Acknowledge package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package identifier Package length Confirmation code Checksum 0xEF01 xxxx 0x07 0x0003 X sum Note 1 Confirmation code 0x00 the device is normal and can receive instructions Confirmation code other the device is a...

Page 30: ...bytes 1 byte 32 byte 2 bytes Header Module address Package identifier Package length Confirmation code Random number Checksum 0xEF01 xxxx 0x07 0x0023 X AlgVer sum Note 1 Confirmation code 0x00 success Confirmation code 0x01 error when receiving package Get the firmware version GetFwVer 0x3A Description Get the firmware version Input Parameter none Return Parameter Confirmation code FwVer Firmware ...

Page 31: ...age Product information store in the following order For Numbers the high byte comes first For a string the insufficient part is 0x00 Code Bytes Meaning PARAM_FPM_MODEL 16 module type ASCII PARAM_BN 4 Module batch number ASCII PARAM_SN 8 Module serial number ASCII PARAM_HW_VER 2 For the hardware version the first byte represents the main version and the second byte represents the sub version PARAM...

Page 32: ...de 0x35 Command or instruction package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 1 byte 1 byte 1 byte 1 byte 2 bytes Header Module address Package identifier Package length Instruction code Control code Speed Color Index Times Checks um 0xEF0 1 xxxx 0x01 0x0007 0x35 Ctrl Speed Color Index Count sum Control Code Control code 0x01 0x02 0x03 0x04 0x05 0x06 Function breathing light Flashing light Li...

Page 33: ...emplate registration process Input Parameter ModelID Fingerprint library location number Config1 Whether to allow cover ID number Config2 Whether to allow duplicate fingerprints Config3 Whether the module return the status in the critical step Config4 Whether to allow ask the finger to leave Return Parameter Confirmation code ModelID Fingerprint library location number Instruction code 0x31 Comman...

Page 34: ...at fingerprint check 0x0E Merge feature 0x0F Storage template Parameter 2 fingerprint ID Specific Acknowledge package format Header Module address Package identifier Package length Confirm ation code Step Fingerprint ID Check Sum Note 2 Bytes 4 Bytes 1 Byte 2 Bytes 1 Byte 1 Byte 1 Byte 2 Bytes 0xEF01 XXXX 0x07 0x0005 X 01 0x00 Sum Collect image for the first time 0xEF01 XXXX 0x07 0x0005 X 02 0x00 ...

Page 35: ...x32 When the automatic fingerprint verification command is used to search and verify a fingerprint the system automatically collects a fingerprint image and generates features and compares the image with the fingerprint template in the fingerprint database If the comparison is successful the system returns the template ID number and the comparison score If the comparison fails the system returns t...

Page 36: ...he collected images If the match is successful the ID number and score of the match will be returned and exit this instruction at the same time If the match fails repeat the previous operations for 1 0xff times Exit after corresponding error times No matter what way if the system does not detect the finger after sending the command or collecting the image again for more than 10 seconds it will exi...

Page 37: ...n success Confirmation code 01H error when receiving package To read information page ReadInfPage Description read information page 512bytes Input Parameter none Return Parameter Confirmation code 1 byte Instruction code 16H Command or instruction package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package identifier Package length Instruction code Checksum 0xEF01 xxx...

Page 38: ... 2 bytes Header Module address Package identifier Package length Instruction code Page number Data content Checksum 0xEF01 xxxx 01H 0x0024 18H 0x00 0 x0F content sum Acknowledge package format 2 bytes 4bytes 1 byte 2 bytes 1 byte 2 bytes Header Module address Package identifier Package length Confirmation code Checksum 0xEF01 xxxx 07H 03H xxH sum Note Confirmation code 00H write success Confirmati...

Page 39: ...yte 2 bytes 1 byte 32bytes 2 bytes Header Module address Package identifier Package length Confirmation code User content Checksum 0xEF01 xxxx 07H 0x0023 xxH User content sum Note Confirmation code 00H read success Confirmation code 01H error when receiving package ...

Page 40: ...out If the time out Time out No finger press Finger state is detected by image acquisition command Finger does not leave the sensor Poor image quality Collect Image successfully Extract feature successfully Reach the set times of feature extraction synthesis template successfully Store template Finish ...

Page 41: ...om sensor Finger state is detected by image acquisition command Poor image quality Collect Image successfully Finger does not leave the sensor No finger press No Time out If the Time out Time out Extract feature successfully Search fingerprint successfully Finish ...

Page 42: ...mage Blue light flashing Collected image Yellow light turn on 500ms Red light turn on 500ms Failed to generate features Generate feature successfully Green light flash 200ms If need wait the finger remove White light turn on Error respond Repeat 6 times successf ully Repeat 6 times successfully Duplicate fingerprints return error code 27 Red light turn on 500ms Merger fail return error code 0A Red...

Page 43: ... erroe return 0B Error respond If no image is captured for more than 15 seconds the system automatically exits return error code 26 Collect image White breathing light Collect image successfully Yellow light turn on 500ms Generate feature successfully Generate feature fail Fingerprint search Search successfully Return ID and Score Finish Search fail Fail red light turn on Green light turn on 500ms...

Page 44: ...ire 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 Start Send acquire image command Return successfully Send generate feature command Return successfully Return successfully Send upload template command Receive data packet Finish packet Finish ...

Page 45: ...ad 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 Send upload feature command Return successfully Receive data packet Finish packet Finish ...

Page 46: ... 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 Start Send download feature command Return successfully Send data packet Finish packet Send search fingerprint command Finish ...

Page 47: ... requirement for BufferID Settings when the exact comparison object is two feature files or two feature templates However if the exact comparison object is one feature file or one template set BufferID to 1 when downloading the feature file set to 2 when downloading the template Start Send download template command Return successfully Send data packet Finish packet Send download template command R...

Page 48: ...includes download template and read template and accurate comparison BufferID is set to 1 when downloading template BufferID is set to 2 when reading template Start Send download template command Return successfully Send data packet Finish packet Send read template command Return successfully Send accurate comparison command Finish ...

Page 49: ... 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 Whether to enter to low power standby mode Power off the main power supply VCC of the module If the IRQ is high ...

Page 50: ...ference 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 ...

Reviews: