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.
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 ......
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...
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.
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.
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.
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.
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.
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.
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.
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;...
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...
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...
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 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 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...
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...
Ⅵ 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?
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 -...
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...
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...
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.
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...
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...
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...
Ⅶ 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...
Need help?
Do you have a question about the R503 and is the answer not in the manual?
Questions and answers