TF-MD-M1 Users Manual

25
TF - MD-M1 fingerprint Module Users Manual Statement1. The company without the permission of the manual of any part shall in any way reproduce. 2. Your right to use the company's products, and to get the best performance and ensure long-term use, please read the manual. 3. Due to the development of technology, the Company has retained without notice and change the manual and product performance rights.

Transcript of TF-MD-M1 Users Manual

Page 1: TF-MD-M1 Users Manual

TF - MD-M1 fingerprint Module

Users Manual

Statement:1. The company without the permission of the manual of any part shall in any way reproduce.

2. Your right to use the company's products, and to get the best performance and ensure long-term

use, please read the manual.

3. Due to the development of technology, the Company has retained without notice and change the

manual and product performance rights.

4. Love to extend the product life is the best way.

Page 2: TF-MD-M1 Users Manual

fingepint modules Manual

Foreword

I thank you choose to buy offline companies Fingerprint Identification Module!

Fingerprint recognition technology is relying on the human fingerprint authentication features of

biological identification technology. As the world's most advanced and reliable fingerprint

recognition technology crystallization Fingerprint identification by the precision electro-optical

imaging system opened to fingerprint image acquisition, use complex pattern matching algorithms,

and the original registration fingerprint comparison, the judge opened identity, legal status can be

confirmed after the unlock signal output.

This module applicable to the development of fingerprint Lock, Development fingerprint wooden

cabinet and the development of fingerprint door lock systems, and other needs of the various types

of authentication products.

The user manual applicable to the company's TF - MD-M1 models of fingerprint recognition

module. The company's TF - MD-M1 models of fingerprint recognition module has been applied to

the second development of fingerprint recognition module, Module Sets fingerprint collection,

storing fingerprints, fingerprint matching and other functions, but not independence, need the PC

(PC and microprocessor) for the control and operation do. So this fingerprint module special forces

also operate various fingerprint for the second development of the instruction set.

The first part

- 2 -

Page 3: TF-MD-M1 Users Manual

fingepint modules Manual

Fingerprint Module Introduction一.Overview1、 Features

◆ Extreme high professional fingerprint recognition algorithm

(MIC) for identifying fast! 500 fingerprint identification as long

as 0.43 seconds;

◆ Super-large storage capacity, the largest storage fingerprints

3000 (three : 96, 992 and 3000);

◆ bidirectional fingerprint identification technology (patented

technology), digital fingerprint images and two-way

recognition, more safety;

◆ high recognition rate, safety, and up to : 0.00001%;

◆ 1 : N, 1:1Fingerprint Comparison (2 ways of freedom of choice);

◆ safety levels can be 10, according to their needs its own settings (applicable in different

places)

◆ advanced surface light, clear imaging, recognition speed;

◆ using high precision optical components, clear imaging;

◆ internal use advanced digital processing chip DSP (TI USA), fast processing speed!

◆ small size, circuit only : 40 * 58mm, easy integration;

◆ standard interfaces agreement to develop simple;

◆ various fingerprint identification technology fully integrated into development agreements

simple and easy to read, not understanding much knowledge will be able to fingerprint

development;

◆ advanced design of the low-frequency electromagnetic interference against external

stability;

◆ at least three times per year to update the core technology! Four years continuously

upgrading and optimization, advanced products, better!

2、 parameters

PCB size: 58×40mm

Resolution: 500DPI

Fingerprint capacity: 96 Pieces(992 Pieces)time: <1sec

FAR: 0.00001%

FRR: 0.01%

Dynamic Current <140mA

Standby Current <18µA

Working voltage 5-7.5V

3、Exterior and structural plans

- 3 -

Page 4: TF-MD-M1 Users Manual

fingepint modules Manual

4、Module Ports Note

5, module model Module in electricity, the module into a passive state to receive orders. Modules will be a long

time -- on the state of input from the J10 I can order their control.

Alliance plans as follows :

- 4 -

Ports Function Ports Definition Note

J7 Acquisition

Ports

J10 Communication

Ports

Pin1 Power Connected to the power supply

Pin2 UART out When the module in the

development mode for

communication with the

outside world, compatibility 3.3

V and 5V logic level

Pin3 UART in

Pin4 GND

Pin5 STAR Make modules from the

dormant state to work

J10

J9

J7

IndicatorAcquisition Ports

J10

Page 5: TF-MD-M1 Users Manual

fingepint modules Manual

二.Development module instructions

This mode operation process is as follows :

(1) From the start button (J10-Pin5) imported low-level pulse, wait around 100 ms complete

module from Kai;

(2) from the mouth UART input instructions, Under the directives module fingerprint

registration, delete, verification and other functions;

(3) I UART input from dormancy directive This module has received orders and entered a

state of dormancy.

Note : The development model fingerprint acquisition module, If users failure fingerprints

were waiting for the module will be permanently unable to receive other orders To now

dormant mode modules can be placed in first paragraph (1) Step reboot the system after

the implementation of paragraph (3) further.

三. Note 1, such as the use of battery power, the proposed use of alkaline batteries.

2, the system after the buzzer sounded a start, "Di-Di-Di" Sound the Alarm

3, while the red light blinking, namely weak report, need for the timely replacement of the

battery.

- 5 -

Host control(such as SCM or PC)

J9

J7

Page 6: TF-MD-M1 Users Manual

fingepint modules Manual

The Second t part

Fingerprint Module Development Agreement

Apply to : the agreement applicable to the TF - MD-M1 fingerprint development module.

一. Communication

DSP module as from the equipment, the main equipment sent by the relevant orders of

their control. Command Interface : UART (Universal Asynchronous Serial Interface)

,19200bps ,an initial ,a stop place (no Parity)

Send main equipment orders and DSP module response by the data length can be divided

into two categories :

1)= 8 Byte,Data format is as follows:

Byte 1 2 3 4 5 6 7 8

Order 0xF5 CMD P1 P2 P3 0 CHK 0xF5

Response 0xF5 CMD Q1 Q2 Q3 0 CHK 0xF5

Note : CMD : command / response type

P1, P2, P3 : order parameters

Q1, Q2, Q3 : Response parameters,

Q3 used for the return operation of the effectiveness of information, this time you

can have the following values :

- 6 -

Page 7: TF-MD-M1 Users Manual

fingepint modules Manual# Define ACK_SUCCESS 0x00 / / successful operation

# define ACK_F AIL 0x01 / / operational failure

# define ACK_FULL 0x04 / / fingerprint database Man # define

# define ACK_NOUSER 0x05 / / users unnecessary

# define ACK_U SER_EXIST hex 07 / / user has existed

# define ACK_TIMEOUT 0x 08 / / Acquisition overtime

CHK : the first two bytes to the first six byte XOR value

2)> 8 Byte,Data from two components : the head packet +data packet

The head packet format:Byte 1 2 3 4 5 6 7 8

Order 0xF5 CMD Hi(Len) Low( Len) 0 0 CHK 0xF5

Response 0xF5 CMD Hi(Len) Low(Len) Q3 0 CHK 0xF5

Note : CMD: command / response type

Q3 :Response parameters,

Len : valid data packet data length, 16. formed by the two byte

Hi (Len) : data packet length high eight

Low (Len) : data packet length of the low eight

CHK : for the first two bytes to the first six byte XOR value

Data packet format:Byte 1 2…Len + 1 Len + 2 Len + 3

Order 0xF5 Data CHK 0xF5

Response 0xF5 Data CHK 0xF5

Note : Len : Data for the number of bytes;

CHK : for the first two bytes to the first Len - 2-byte XOR value

sending data sent immediately after the first data packet.

二.order types

2.1 Make modules into Hibernation (command / response are 8 bytes)

Order data format :

Byte 1 2 3 4 5 6 7 8

- 7 -

Page 8: TF-MD-M1 Users Manual

fingepint modules Manual

Orde

r0xF5 0x2C 0 0 0 0 CHK 0xF5

Response data format :

Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x2C 0 0 0 0 CHK 0xF5

2.2 Setting / Add read fingerprint patterns (command / response are 8

bytes)

Fingerprint added at the two patterns : Allow repeat mode / prohibit repeat the pattern

of the "ban repeat mode", with a finger can add a user, if forced to add a second round will

return error messages. Electricity system in the ban after repeated pattern.

Byte 1 2 3 4 5 6 7 8

Ord

er0xF5 0x2D 0 Byte5=0:

0:Allow

repeat

1:no repeat

Byte5=1:

0

0:setting Mode

1:read Mode

0 CHK 0xF5

Res

pons

e

0xF5 0x2D 0 setting Mode ACK_SUCCUSS

ACK_FAIL

0 CHK 0xF5

2.3 Add Fingerprint (command / response are 8 bytes)

To ensure effectiveness, the user must input 3rd fingerprints, DSP module to host this

3rd order.

i) 1st

Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x01 User

s

(high

User

s

(low

User

Privilege(1/2/3

0 CHK 0xF5

- 8 -

Page 9: TF-MD-M1 Users Manual

fingepint modules Manual

8) 8) )Response 0xF5 0x01 0 0 ACK_SUCCES

S

ACK_FAIL

ACK_FULL

ACK_TIMEOUT

0 CHK 0xF5

Note :

users of the value of the 1-0xFFF;

User rights for a value range, 2, 3, its meaning from secondary development self

definition.

ii) 2nd

Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x02 User

s

(high

8)

User

s

(low

8)

User Privilege

(1/2/3)

0 CHK 0xF5

Response 0xF5 0x02 0 0 ACK_SUCCES

S

ACK_FAIL

ACK_TIMEOUT

0 CHK 0xF5

1) 3rd

Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x03 User

s

(high

8)

User

s

(low

8)

User Privilege

(1/2/3)

0 CHK 0xF5

Response 0xF5 0x03 0 0 ACK_SUCCESS

ACK_FAIL

ACK_USER_EXIST

ACK_TIMEOUT

0 CHK 0xF5

- 9 -

Page 10: TF-MD-M1 Users Manual

fingepint modules ManualNote : Third Order users, and users should be competence of the same value.

2.4 Delete designated users (command / response are 8 bytes)

Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x04 User

s

(high

8)

User

s

(low

8)

0 0 CHK 0xF5

Response 0xF5 0x04 0 0 ACK_SUCCES

S

ACK_FAIL

0 CHK 0xF5

2.5 Delete all users (command / response are 8 bytes)

Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x05 0 0 0 0 CHK 0xF5

Response 0xF5 0x05 0 0 ACK_SUCCES

S

ACK_FAIL

0 CHK 0xF5

2.6 From the total users (orders / responses were 8 bytes)

Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x09 0 0 0 0 CHK 0xF5

Response 0xF5 0x09 Users

(high

8)

Users

(low

8)

ACK_SUCCES

S

ACK_FAIL

0 CHK 0xF5

2.7 Fingerprint Comparison 1:1 (orders / responses were 8 bytes)

Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x0B User

s

(high

User

s

(low

0 0 CHK 0xF5

- 10 -

Page 11: TF-MD-M1 Users Manual

fingepint modules Manual

8) 8)

Response 0xF5 0x0B 0 0 ACK_SUCCES

S

ACK_FAIL

ACK_TIMEOUT

0 CHK 0xF5

2.8 Fingerprint Comparison 1:N (orders / responses were 8 bytes)

Byte 字节 1 2 3 4 5 6 7 8

Order 命令 0xF5 0x0C 0 0 0 0 CHK 0xF5

Response 应答 0xF5 0x0C Users

(high

8)

Users

(low

8)

User Privilege

(1/2/3)

ACK_NOUSER

ACK_TIMEOU

T

0 CHK 0xF5

2.9 Obtain user rights (command / response are 8 bytes)

Byte 字节 1 2 3 4 5 6 7 8

Order 命令 0xF5 0x0A Users

(high

8)

User

s

(low

8)

0 0 CHK 0xF5

Response 应答 0xF5 0x0A 0 0 User Privilege

(1/2/3)

ACK_NOUSER

0 CHK 0xF5

2.10 Read DSP module version (for 8 byte order / response "8 bytes)

Order data format :

Byte 1 2 3 4 5 6 7 8

Orde

r0xF5 0x26 0 0 0 0 CHK 0xF5

- 11 -

Page 12: TF-MD-M1 Users Manual

fingepint modules ManualResponse data format :

1)The head packet:Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x26 Hi(Len

)

Low(Len) ACK_SUCCES

S

ACK_FAIL

0 CHK 0xF5

2) packet:Byte 1 2 --- Len + 1 Len + 2 Len + 3

Response 0xF5 DSP Version CHK 0xF5

Note : This agreement not to open

2.11 Setting / read safety levels (orders / responses were 8 bytes)

Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x28 0 Byte5=0

:new

levels;Byte5=1

: 0

0:set levels

1:read levels

0 CHK 0xF5

Response 0xF5 0x28 0 safety

Levels

ACK_SUCCUS

S

ACK_FAIL

0 CHK 0xF5

Note : safety levels: 0 -9, greater than the value of the more stringent, the default

value of 5

2.12 Acquisition and upload images (for 8 byte order / response "8

bytes)

Order data format :

Byte 1 2 3 4 5 6 7 8

- 12 -

Page 13: TF-MD-M1 Users Manual

fingepint modules ManualOrde

r0xF5 0x24 0 0 0 0 CHK 0xF5

Response data format :

1) The head packet:Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x24 Hi(Len

)

Low(Len) ACK_SUCCES

S

ACK_FAIL

ACK_TIMEOUT

0 CHK 0xF5

2) packet:Byte 1 2 --- Len + 1 Len + 2 Len + 3

Response 0xF5 Image Data CHK 0xF5

Note :

DSP module, fingerprint images to 304 * 304 pixels, each pixel by eight said. The

upload process, in order to reduce the volume of data, horizontal / vertical jump direction

pixel sampling, Such images into a 152 * 152, and then the high gray 4, Synthesis of 2

pixels per byte transmission (before one pixel at a low 4, after a four pixels high).

Transmission from the beginning of the first line, line by line, each line from one

pixel, A total of 152 * 152 transmission / 2 gigabytes of data.

Image Data Len constant for the length of 11,552 bytes.

2.13 Acquisition Image and extraction Upload eigenvalue (8 byte orders /

response "8 bytes)

Order data format :

Byte 1 2 3 4 5 6 7 8

Orde

r0xF5 0x23 0 0 0 0 CHK 0xF5

Response data format :

1)The head packet:Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x23 Hi(Len Low(Len) ACK_SUCCES 0 CHK 0xF5

- 13 -

Page 14: TF-MD-M1 Users Manual

fingepint modules Manual

) S

ACK_FAIL

ACK_TIMEOUT

2) packet:Byte 1 2 3 4 5 --- Len + 1 Len + 2 Len +

3

Response 0xF5 0 0 0 eigenvalue data CHK 0xF5

Note : eigenvalue data length Len - 3 constant 193 bytes.

2.14 download eigenvalue and Comparison with Fingerprint

Acquisition

Order data format :

1)The head packet:Byte 1 2 3 4 5 6 7 8

Orde

r0xF5 0x44 Hi(Len

)

Low(Len) 0 0 CHK 0xF5

2) packet:Byte 1 2 3 4 5 --- Len + 1 Len + 2 Len +

3

Orde

r0xF5 0 0 0 eigenvalue data CHK 0xF5

Note : eigenvalue data length Len - 3 constant 193 bytes.

Response data format :

Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x44 0 0 ACK_SUCCES

S

ACK_FAIL

ACK_TIMEOUT

0 CHK 0xF5

2.15 download fingerprint eigenvalues and Comparison with DSP

- 14 -

Page 15: TF-MD-M1 Users Manual

fingepint modules Manualmodule database 1 : 1 (Order "8 byte / byte response to 8)

Order data format :

1)The head packet:Byte 1 2 3 4 5 6 7 8

Orde

r0xF5 0x42 Hi(Len

)

Low(Len) 0 0 CHK 0xF5

2) packet:Byte 1 2 3 4 5 --- Len + 1 Len + 2 Len +

3

Orde

r0xF5 User

s

(high

8)

Users

(low 8)

0 eigenvalue data CHK 0xF5

Note : eigenvalue data length Len - 3 constant 193 bytes.

Response data format :

Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x42 0 0 ACK_SUCCES

S

ACK_FAIL

0 CHK 0xF5

2.16 download fingerprint eigenvalues and Comparison with DSP

module database 1 : N (Order "8 byte / byte response to 8)

Order data format :

1)The head packet:Byte 1 2 3 4 5 6 7 8

Orde

r0xF5 0x43 Hi(Len

)

Low(Len) 0 0 CHK 0xF5

2) packet:Byte 1 2 3 4 5 --- Len + 1 Len + 2 Len +

3

- 15 -

Page 16: TF-MD-M1 Users Manual

fingepint modules ManualOrde

r0xF5 0 0 0 eigenvalue data CHK 0xF5

Note : eigenvalue data length Len - 3 constant 193 bytes.

Response data format :

Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x43 Users

(high

8)

User

s

(low

8)

User Privilege

(1/2/3)

ACK_NOUSE

R

0 CHK 0xF5

2.17 Upload DSP module database designated users eigenvalue (for 8

byte order / response "8 bytes)

Order data format :

Byte 1 2 3 4 5 6 7 8

Orde

r0xF5 0x31 Users

(high

8)

User

s

(low

8)

0 0 CHK 0xF5

Response data format :

1)The head packet:Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x31 Hi(Len

)

Low(Len) ACK_SUCCES

S

ACK_FAIL

ACK_NOUSER

0 CHK 0xF5

2) packet:Byte 1 2 3 4 5 --- Len + 1 Len +

2

Len +

3

- 16 -

Page 17: TF-MD-M1 Users Manual

fingepint modules Manual

Response 0xF5 Users

(high

8)

Users

(low

8)

User

Privileg

e (1/2/3)

eigenvalue

data

CHK 0xF5

Note : eigenvalue data length Len - 3 constant 193 bytes.

2.18 Eigenvalues under-users, as specified deposited DSP module

database (Order "8 byte / byte response to 8)

Order data format :

1) The head packet:Byte 1 2 3 4 5 6 7 8

Orde

r0xF5 0x41 Hi(Len

)

Low(Len) 0 0 CHK 0xF5

2) packet:

Byte 1 2 3 4 5--- Len + 1 Len + 2 Len +

3

Orde

r0xF5 Users

(high

8)

Users

(low 8)

User

Privilege

(1/2/3)

eigenvalue

data

CHK 0xF5

Note : eigenvalue data length Len - 3 constant 193 bytes.

Response data format :

Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x41 0 0 ACK_SUCCES

S

ACK_FAIL

0 CHK 0xF5

2.19 For all users have logged users, and permissions (for 8 byte order / response

"8 bytes)

Order data format :

Byte 1 2 3 4 5 6 7 8

Orde 0xF5 0x2B 0 0 0 0 CHK 0xF5

- 17 -

Page 18: TF-MD-M1 Users Manual

fingepint modules Manualr

Response data format :

1)The head packet:Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x2B Hi(Len

)

Low(Len) ACK_SUCCES

S

ACK_FAIL

0 CHK 0xF5

2)packet:

Byte 1 2 3 4 --- Len + 1 Len + 2 Len +

3

Response 0xF5 Users

(high

8)

Users

(low 8)

Information and

users

(users id and

permissions)

CHK 0xF5

Note : data packet data length Len constant "3 * 2 + users."

User information data format is as follows :

Byte 字节 4 5 6 7 8 9 …

data data Users 1

(high 8)

Users 1

(low 8)

User 1

Privileg

e

(1/2/3)

Users 2

(high 8)

Users 2

(low 8)

User 2

Privileg

e

(1/2/3)

2.20 Emptied recording data (Not support)

Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x3A 0 0 0 0 CHK 0xF5

Response 0xF5 0x3A 0 0 ACK_SUCCES

S

0 CHK 0xF5

- 18 -

Page 19: TF-MD-M1 Users Manual

fingepint modules Manual

ACK_FAIL

2.23 Setting time (Not support)

Order data format :

1)The head packet:Byte 1 2 3 4 5 6 7 8

Orde

r0xF5 0x48 Hi(Len

)

Low(Len) 0 0 CHK 0xF5

2) packet:Byte 1 2 3 4 5 6 7 8 9 10

Orde

r0xF

5

Week

s

yea

r

mont

h

da

y

hou

r

Minute

s

Second

s

CH

K

0xF

5

Note : Data time constant for the length Len 7.

Response data format :

Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x48 0 0 ACK_SUCCES

S

ACK_FAIL

0 CHK 0xF5

2.24 Read system time (Not support)

Order data format :

Byte 1 2 3 4 5 6 7 8

Orde

r0xF5 0x3C 0 0 0 0 CHK 0xF5

Response data format :

1)The head packet:Byte 1 2 3 4 5 6 7 8

Response 0xF5 0x3C Hi(Len Low(Len) ACK_SUCCES 0 CHK 0xF5

- 19 -

Page 20: TF-MD-M1 Users Manual

fingepint modules Manual

) S

ACK_FAIL

2)packet:

Byte 1 2 3 4 5 6 7 8 9 10

Response 0xF5 Week

s

year month day hour Minutes Seconds CH

K

0xF5

Note : the length of time is Len 7.

2.25 Setting fingerprint reading timeout (for 8 byte order /

response "8 bytes)Byte 1 2 3 4 5 6 7 8

Order 0xF5 0x2E 0 Byte5=0

:timeout;Byte5=1

: 0

0:set timeout

1:read timeout

0 CHK 0xF5

Response 0xF5 0x2E 0 timeout ACK_SUCCUS

S

ACK_FAIL

0 CHK 0xF5

Note :

fingerprint awaiting timeout (tout) the range of 0-255. If this value is 0, then press the buttons

without fingerprints fingerprint collection process will continue; If this value-0, In tout * T0 time

without fingerprint system will push it to withdraw from overtime.

T0 for the acquisition / processing an image of the time required for the general's 0 .2-0.3.

- 20 -