Grow R503 User manual

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

Iwww.hzgrow.com
Preface & Declaration
Thank you for you selection of R503 Fingerprint Identification Module of GROW.
The Manual is targeted for hardware & software development engineer, covering
module function, hardware and software interface etc. To ensure the developing process
goes smoothly, it is highly recommended the Manual is read through carefully.
Because of the products constantly upgraded and improved, module and the manual
content may be changed without prior notice. If you want to get the latest information,
please visit 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 for any reproduction and alteration of information without any associated warranties,
conditions, limitations, or notices.
No responsibility or liability is assumed by GROW for the application or use, nor for
any infringements of patents or other intellectual property rights of third parties that may
result from its use.
www.hzgrow.com

II www.hzgrow.com
Revised Version
Version
Number
Date
Revise Content
Modifier
V1.2
2021.10
1. LED colors increased from three to seven,
and the instruction formats were downward
compatible.
2. Added 0x31 automatic registration template:
the upper computer can automatically collect 6
images by sending only one command, 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
noise
2. Update Command: The note of UpChar and
DownChar
Grow Tech
V1.2.2
2022.10
1. Added Buffer contents
Grow Tech

III www.hzgrow.com
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 ................................................................................................................... - 3 -
Power Supply Requirements ...................................................................................................... - 3 -
Ripple noise ................................................................................................................................ - 4 -
III System Resources ....................................................................................................................... - 5 -
Notepad .......................................................................................................................................- 5 -
Buffer .......................................................................................................................................... - 5 -
Fingerprint Library ..................................................................................................................... - 5 -
System Configuration Parameters .............................................................................................. - 5 -
Baud rate control (Parameter Number: 4) .......................................................................... - 6 -
Security Level (Parameter Number: 5) .............................................................................. - 6 -
Data package length (Parameter Number: 6) ..................................................................... - 6 -
System status register ................................................................................................................. - 6 -
Module password ........................................................................................................................- 6 -
Module address ........................................................................................................................... - 6 -
Random number generator ......................................................................................................... - 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 number TempleteNum ..............................................................- 13 -
Read fingerprint template index table ReadIndexTable(0x1F)......................... - 14 -
Fingerprint-processing instructions ..........................................................................................- 15 -
To collect finger image GetImg .................................................................................- 15 -
Upload image UpImage ...........................................................................................- 15 -
Download the image DownImage ...........................................................................- 16 -
To generate character file from image GenChar ....................................................... - 17 -
To generate template RegModel ............................................................................- 17 -
To upload template UpChar .......................................................................................- 18 -
Download template DownChar ................................................................................... - 19 -

IV www.hzgrow.com
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 ............................. - 22 -
To search finger library Search ........................................................................... - 22 -
Fingerprint image collection extension command GetImageEx(0x28) ....................- 23 -
Cancel instruction Cancel(0x30) ......................................................................... - 23 -
HandShake HandShake(0x40)..................................................................... - 24 -
CheckSensor CheckSensor (0x36) ..................................................................... - 24 -
Get the algorithm library version GetAlgVer (0x39) .............................................. - 25 -
Get the firmware version GetFwVer (0x3A) .............................................................- 25 -
Read product information ReadProdInfo (0x3C) ......................................................- 26 -
Soft reset SoftRst (0x3D) .................................................................................. - 26 -
Aura control AuraLedConfig (0 x35) .............................................................- 27 -
Automatic registration template AutoEnroll (0 x31) ....................................... - 28 -
Automatic fingerprint verification 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 the sensor and the feature is generated then upload to the
main control ...................................................................................................................... - 39 -
Read a specified template upload to Flash Fingerprint Database .................................... - 40 -
Download Fingerprint Template ...............................................................................................- 41 -
The main control downloads a fingerprint feature and searches the fingerprint database
based on the feature .......................................................................................................... - 41 -
The main control downloads two fingerprint features or templates for accurate comparison- 42 -
The main control downloads one fingerprint feature or template for accurate comparison- 43 -
Low power standby ...................................................................................................................- 44 -
Ⅶ Reference Circuit .....................................................................................................................- 45 -

- 1 - www.hzgrow.com
I Introduction
Operation Principle
Fingerprint processing includes two parts: fingerprint enrollment and fingerprint matching (the
matching can be 1:1 or 1:N).
When enrolling, user needs to enter the finger two times. The system will process the two time
finger images, generate a template of the finger based on processing results and store the template.
When matching, user enters the finger through optical sensor and system will generate a template
of the finger and compare it with templates of the finger library. For 1:1 matching, system will
compare the live finger with specific template designated in the Module; for 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.3V
Average current: 2uA
Characteristic value
size
512 bytes
Baud rate
(9600*N)bps,
N=1~6 (default N=6)
Template size
1536 bytes
Image acquiring time
<0.2s
Image resolution
508dpi
Sensing Array
192*192 pixel
Detection Area
Diameter 15mm
Storage capacity
200
Security level
5 (1, 2, 3, 4, 5(highest))
FAR
<0.001%
FRR
<1%
Generate feature
point time
< 500ms
Starting time
≤50ms
Working
environment
Temp: -20℃- +60℃
Storage
environment
Temp: -40℃- +75℃
RH: 10%-85%
RH: <85%

- 2 - www.hzgrow.com
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
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 supply, DC3—5V

- 3 - www.hzgrow.com
Hardware Connection
The RX of the module is connected with the TX of the upper computer, and the TX of the module
is connected with the RX of the upper computer. The IRQ signal can be connected with the middle
fracture or IO port of the upper computer.
To reduce the system standby power consumption,when the upper computer needs to use the
fingerprint module,then power on the main power supply of the fingerprint module. At this time,
the fingerprint module is powered on,and complete the corresponding instructions sent by the upper
computer.When the upper computer does not need to use the fingerprint module, disconnect the
fingerprint module from the main power supply.
When the upper computer is in standby mode, in order to keep the finger touch detection, the touch
power supply needs to be powered all the time. The working voltage of the touch power supply is
3V~5V, and the average current of the touch power supply is about 2uA. When there is no finger
touch, the default touch sensing signal outputs high level; When a finger touches, the default touch
sensing signal outputs low level. After detecting the 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
The mode is semiduplex asychronism serial communication. And the default baud rate is 57600bps.
User may set the baud rate in 9600~115200bps。
Transferring frame format is 10 bit: the low-level starting bit, 8-bit data with the LSB first, and an
ending bit. There is no check bit.
Power-on delay time
At power on, it takes about 50ms for initialization. During this period, the Module can’t accept
commands for upper computer.After completing the initialization, the module will immediately
send a byte (0x55) to the upper computer, indicating that the module can work normally and
receive instructions from the upper computer.
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. Ensure that the power supply is switched off when you insert

- 4 - www.hzgrow.com
or remove the cable.
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.
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).

- 5 - www.hzgrow.com
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.
Note: when write on one page of the pad, the entire 32 bytes will be written in wholly covering the
original contents.
The user can run the module address or random number command to configure the unique
matching between the module and the system. That is, the system identifies only the unique module.
If a module of the same type is replaced, the system cannot access the system.
Buffer
The module RAM resources are as follows:
An ImageBuffer: ImageBuffer
6 feature buffers: CharBuffer[1:6]
All buffer contents are not saved without power.
The user can read and write any buffer by instruction. CharBuffer can be used to store normal
feature files or store template feature files.
When uploading or downloading images through the UART port, only the high four bits of pixel
bytes are 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 extended (256 gray levels, that is, 8bit bitmap format).
Fingerprint Library
System sets aside a certain space within Flash for fingerprint template storage, that’s fingerprint
library. The contents of the fingerprint database are protected by power-off, and the serial number
of the fingerprint database starts from 0.
Capacity of the library changes with the capacity of Flash, system will recognize the latter
automatically. Fingerprint template’s storage in Flash is in sequential order. Assume the fingerprint
capacity N, then the serial number of template in library is 0, 1, 2, 3 … N. User can only access
library by template number.
System Configuration Parameters
The system allows the user to individually modify a specified parameter value (by parameter serial
number) by command. Refer to SetSysPara. After the upper computer sets the system parameter
instructions, the system must be powered on again so that the module can work according to the new

- 6 - www.hzgrow.com
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. At level 1, FAR is
the highest and FRR is the lowest; however at level 5, FAR is the lowest and FRR is the highest.
Data package length (Parameter Number: 6)
The parameter decides the max length of the transferring data package when communicating with
upper computer. Its value is 0, 1, 2, 3, corresponding to 32 bytes, 64 bytes, 128 bytes, 256 bytes
respectively.
System status register
System status register indicates the current operation status of the Module. Its length is 1 word, and
can be read via instruction ReadSysPara. Definition of the register is as follows:
Bit Num
15 4
3
2
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 on,the first instruction of the upper computer to communicate with the module
must be verify password. Only after the password verification is passed, the module will enter the
normal working state and receive other instructions.
The new modified password is stored in Flash and remains at power off.(the modified password
cannot be obtained through the communication instruction. If forgotten by mistake, the module
cannot communicate, please use with caution)
Refer to instruction SetPwd and VfyPwd.
Module address
Each module has an identifying address. When communicating with upper computer, each
instruction/data is transferred in data package form, which contains the address item. Module
system only responds to data package whose address item value is the same with its identifying
address.

- 7 - www.hzgrow.com
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.
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 recommended to take at least four templates to synthesize features.

- 8 - www.hzgrow.com
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.
Data package format
When communicating, the transferring and receiving of command/data/result are all wrapped in
data package format. For multi-bytes, the high byte precedes the low byte (for example, a 2 bytes
00 06 indicates 0006, not 0600).
Data package format
Header
Adder
Package
identifier
Package
length
Package content
(instruction/data/Parameter)
Checksum
Definition of Data package
Name
Symbol
Length
Description
Header
Start
2 bytes
Fixed value of 0xEF01; High 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 packet.
Package
length
LENGTH
2 bytes
Refers to the length of package content (command packets and
data packets) plus the length of Checksum( 2 bytes). Unit is
byte. Max length is 256 bytes. And high byte is transferred first.
Package
contents
DATA
-
It can be commands, data, command’s parameters,
acknowledge result, etc. (fingerprint character value, template
are all deemed as data);
Checksum
SUM
2 bytes
The arithmetic sum of package identifier, package length and
all package contents. Overflowing bits are omitted. high byte is
transferred first.

- 9 - www.hzgrow.com
Instruction Table
Code
Identifier
Description
Code
Identifier
Description
01H
GenImg
Collect finger image
12H
SetPwd
To set password
02H
Img2Tz
To generate character file
from image
13H
VfyPwd
To verify password
03H
Match
Carry out precise
matching of two
templates;
14H
GetRandomCo
de
to get random code
04H
Search
Search the finger library
15H
SetAdder
To set device address
05H
RegModel
To combine character files
and generate template
16H
ReadInfPage
Read information page
06H
Store
To store template;
18H
WriteNotepad
to write note pad
07H
LoadChar
to read/load template
19H
ReadNotepad
To read note pad
08H
UpChar
to upload template
1DH
TempleteNum
To read finger template
numbers
09H
DownChr
to download template
1FH
ReadIndexTabl
e
Read-fingerprint
template index table
0AH
UpImage
To upload image
0x28
GetImageEx
Fingerprint image collection
extension command
0BH
DownImage
To download image
0x30
Cancel
Cancel instruction
0CH
DeletChar
to 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 fingerprint
verification
0x31
AutoEnroll
Automatic registration
template
Check and acknowledgement of data package
Note: Commands shall only be sent from upper computer to the Module, and the Module
acknowledges the commands.
Upon receipt of commands, Module will report the commands execution status and results to upper
computer through acknowledge packet. Acknowledge packet has parameters and may also have
following data packet. Upper computer can’t ascertain Module’s package receiving status or
command execution results unless through acknowledge packet sent from Module. Acknowledge
packet includes 1 byte confirmation code and maybe also the returned parameter.
Confirmation code’s definition is :
00h: command execution complete;
01h: error when receiving data package;

- 10 - www.hzgrow.com
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;
09h: fail to find the matching finger;
0Ah: fail to combine the character files;
0Bh: addressing PageID is beyond the finger library;
0Ch: error when reading template from library or the template is invalid;
0Dh: error when uploading template;
0Eh: Module can’t 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 empty;
26h: timeout
27h: fingerprints already exist;
29h: sensor hardware error;
1Ah: invalid register number;
1Bh: incorrect configuration of register;
1Ch: wrong notepad page number;
1Dh: fail to operate the communication port;
1Fh: fingerprint library is full;
FCh: unsupported command;
FDh: hardware error;
FEh: command execution failure;
others: system reserved;

- 11 - www.hzgrow.com
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
Header
Module
address
Package
identifier
Instruction
code
Password
Checksum
0xEF01
xxxx
01H
07H
13H
PassWord
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: Correct 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
Package
length
Instruction
code
Password
Checksum
0xEF01
xxxx
01H
07H
12H
PassWord
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: password setting complete;
Confirmation code=01H: error when receiving package;
Confirmation code=21H: have to verify password
Confirmation code=18H: error when write FLASH

- 12 - www.hzgrow.com
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
Module address
Package
identifier
Package
length
Instruction
code
New Module
address
Checksum
0xEF01
xxxx
01H
07H
15H
Addr
sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
New Module
address
Package
identifier
Package
length
Confirmation
code
Checksum
0xEF01
xxxx
07H
03H
xxH
Sum
Note: Confirmation code=00H: address setting complete;
Confirmation code=01H: error when receiving 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
length
Instruction
code
Parameter
number
Contents
Checksum
0xEF01
Xxxx
01H
05H
0eH
4/5/6
xx
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: parameter setting complete;
Confirmation code=01H: error when receiving package;
Confirmation code=1aH: wrong register number;
Confirmation code=18H: error when write FLASH

- 13 - www.hzgrow.com
Read system Parameter ReadSysPara
Description: Read Module’s status register and system basic configuration parameters;
Input Parameter:none
Return Parameter:Confirmation code (1 byte) + basic parameter(16bytes)
Instruction code: 0fH
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
0fH
sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
16 bytes
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Basic parameter
list
Checksum
0xEF01
xxxx
07H
13H
xxH
See following
table
sum
Note: Confirmation code=00H: read complete;
Confirmation 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
Baud settings
N (baud = 9600*N bps)
7
2
Read valid template number TempleteNum
Description: read the current valid template number of the Module
Input Parameter: none
Return Parameter: Confirmation code (1 byte),template number:N
Instruction code: 1dH
Command (or instruction) package format:
Name
Parameter number
Content
Baud rate
4
Data range:1, 2/4/6/12,
indicates that baud rate is 9600 * N bps
Security level
5
Data range: 1, 2, 3, 4, 5
Packet content length
6
Data range: 0, 1, 2, 3 the corresponding lengths (bytes)
are as follows: 32, 64, 128, 256

- 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

- 15 - www.hzgrow.com
Index table data
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
…
…
T[31]
Template number
255
254
253
252
251
250
249
248
Index table data
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
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
returning successfully confirmation code; If there is no finger, returned confirmation code
would be “can’t detect finger”.
The difference between GetImageEx and GetImage instruction:
GetImage: When the image quality is poor, return confirmation code 0x00 (the image is
successfully 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 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: finger collection success;
Confirmation code=01H: error when receiving package;
Confirmation code=02H: can’t detect finger;
Confirmation code=03H: fail to collect finger;
Upload image UpImage
Description: to upload the image in Img_Buffer to upper computer.
Input Parameter: none
Return Parameter: Confirmation code (1 byte)
Instruction code: 0aH
Command (or instruction) package format:
Table of contents
Other Grow Control Unit manuals
Popular Control Unit manuals by other brands

Beyerdynamic
Beyerdynamic Quinta CU Initial operation

Samson
Samson 3331/BR 31a Mounting and operating instructions

Roto
Roto E-Tec Drive Installation and operation instructions

Makel
Makel MSA0416-CM User instructions

Tektronix
Tektronix 73A-270 user manual

Hans Grohe
Hans Grohe Talis S 32314xx1 series Installation/User Instructions/Warranty

GRASS VALLEY
GRASS VALLEY XCU user guide

Cameron
Cameron WKM 370D6 Installation, operation and maintenance manual

Spracht
Spracht AURA SOHO CP-2016-003 installation guide

GEM
GEM N082 Installation, Operating and Maintenance Instruction

Gefa
Gefa HGT Series operating instructions

Acromag
Acromag AcroPack AP512 user manual