Você está na página 1de 18

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.

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 Fingerprint Module Introduction


-2-

fingepint modules Manual

Overview
1 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 Resolution Fingerprint capacity

5840mm 500DPI 96 Pieces992 Pieces <1sec 0.00001% 0.01% <140mA <18A 5-7.5V

time FAR FRR


Dynamic Current Standby Current Working voltage

3 Exterior and structural plans

J9 J7 -3J10

fingepint modules Manual

4 Module Ports Note


Ports

J7 J10

Function Acquisition Ports Communication Ports

Ports

Definition

Note

Pin1 Pin2 Pin3

Power

UART out UART in

Connected to the power supply When the module in the development mode for communication with the outside world, compatibility 3.3 V and 5V logic level

Pin4 Pin5

GND STAR

Make modules from the dormant state to work

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 : Indicator

J9 J7

Acqui sition Ports

J10

-4-

fingepint modules Manual Host control (such as SCM or PC)

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-

fingepint modules Manual

The Second t part Fingerprint Module Development Agreement

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

1 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 ByteData format is as follows Byte Order Response 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 : # Define ACK_SUCCESS # define ACK_F AIL # define ACK_FULL # define ACK_NOUSER # define ACK_U SER_EXIST # define ACK_TIMEOUT 0x00 0x01 0x04 0x05 0x 08 / / successful operation / / operational failure / / fingerprint database Man # define / / users unnecessary / / Acquisition overtime 1 0xF5 0xF5 2 CMD CMD 3 P1 Q1 4 P2 Q2 5 P3 Q3 6 0 0 7 CHK CHK 8 0xF5 0xF5

hex 07 / / user has existed

CHK : the first two bytes to the first six byte XOR value 2> 8 ByteData from two components : the head packet +data packet The head packet format Byte 1 2 3 4 5 6 7 8

-6-

fingepint modules Manual

Order Response Note :

0xF5 0xF5

CMD CMD

Hi(Len) Hi(Len)

Low( Len) Low(Len)

0 Q3

0 0

CHK CHK

0xF5 0xF5

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 Order Response 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. 1 0xF5 0xF5 2Len + 1 Data Data Len + 2 CHK CHK Len + 3 0xF5 0xF5

order types
21 Make modules into Hibernation (command / response are 8 bytes)
Order data format : Byte Orde r 1 0xF5 2 0x2C 3 0 4 0 5 0 6 0 7 CHK 8 0xF5

Response data format : Byte Response 1 0xF5 2 0x2C 3 0 4 0 5 0 6 0 7 CHK 8 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.

-7-

fingepint modules Manual

Byte Ord er

1 0xF5

2 0x2D

3 0

4 Byte5=0 0Allow repeat 1no repeat Byte5=1 0

5 0setting Mode 1read Mode

6 0

7 CHK

8 0xF5

Res pons e

0xF5

0x2D

setting Mode

ACK_SUCCUSS ACK_FAIL

CHK

0xF5

23 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 Order 1 0xF5 2 0x01 3 User s (high 8) Response 0xF5 0x01 0 4 User s (low 8) 0 ACK_SUCCES S ACK_FAIL ACK_FULL ACK_TIMEOUT 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 Order 1 0xF5 2 0x02 3 User s (high 8) Response 0xF5 0x02 0
-8-

5 User Privilege1/2/3

6 0

7 CHK

8 0xF5

CHK

0xF5

4 User s (low 8) 0

5 User Privilege (1/2/3)

6 0

7 CHK

8 0xF5

ACK_SUCCES

CHK

0xF5

fingepint modules Manual

S ACK_FAIL ACK_TIMEOUT

1)

3rd Byte Order 1 0xF5 2 0x03 3 User s (high 8) Response 0xF5 0x03 0 4 User s (low 8) 0 ACK_SUCCESS ACK_FAIL ACK_USER_EXIST ACK_TIMEOUT Note : Third Order users, and users should be competence of the same value. 0 CHK 0xF5 5 User Privilege (1/2/3) 6 0 7 CHK 8 0xF5

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


Byte Order 1 0xF5 2 0x04 3 User s (high 8) Response 0xF5 0x04 0 4 User s (low 8) 0 ACK_SUCCES S ACK_FAIL 0 CHK 0xF5 5 0 6 0 7 CHK 8 0xF5

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


Byte Order Response 1 0xF5 0xF5 2 0x05 0x05 3 0 0 4 0 0 5 0 ACK_SUCCES S ACK_FAIL 6 0 0 7 CHK CHK 8 0xF5 0xF5

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


Byte 1 2 3 4
-9-

fingepint modules Manual

Order

0xF5

0x09 0x09

0 (high 8)

0 (low 8)

0 ACK_SUCCES S ACK_FAIL

0 0

CHK CHK

0xF5 0xF5

Response 0xF5

Users Users

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


Byte Order 1 0xF5 2 0x0B 3 User s (high 8) Response 0xF5 0x0B 0 4 User s (low 8) 0 ACK_SUCCES S ACK_FAIL ACK_TIMEOUT 0 CHK 0xF5 5 0 6 0 7 CHK 8 0xF5

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


Byte Order 1 0xF5 0xF5 2 0x0C 0x0C 3 0 (high 8) 4 0 (low 8) 5 0 User Privilege (1/2/3) ACK_NOUSER ACK_TIMEOU T 6 0 0 7 CHK CHK 8 0xF5 0xF5

Response

Users Users

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


Byte Order 1 0xF5 2 3 (high 8) Response 0xF5 0x0A 0 4 User s (low 8) 0 User Privilege (1/2/3) ACK_NOUSER 0 CHK 0xF5 5 0 6 0 7 CHK 8 0xF5

0x0A Users

- 10 -

fingepint modules Manual

210 Read DSP module version (for 8 byte order / response "8 bytes)
Order data format : Byte Orde r 1 0xF5 2 0x26 3 0 4 0 5 0 6 0 7 CHK 8 0xF5

Response data format : 1 The head packet Byte Response 1 0xF5 2 3 ) 4 Low(Len) 5 ACK_SUCCES S ACK_FAIL 2 packet Byte Response 1 0xF5 2 --- Len + 1 DSP Version Len + 2 CHK Len + 3 0xF5 6 0 7 CHK 8 0xF5

0x26 Hi(Len

Note : This agreement not to open

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


Byte Order 1 0xF5 2 0x28 3 0 4 Byte5=0 new levels Byte5=1 0 Response 0xF5 0x28 0 safety Levels ACK_SUCCUS S ACK_FAIL Note : safety levels: 0 -9, greater than the value of the more stringent, the default value of 5 0 CHK 0xF5 5 0set levels 1read levels 6 0 7 CHK 8 0xF5

212 Acquisition and upload images (for 8 byte order / response "8 bytes)
Order data format :

- 11 -

fingepint modules Manual

Byte Orde r

1 0xF5

2 0x24

3 0

4 0

5 0

6 0

7 CHK

8 0xF5

Response data format : 1) The head packet Byte Response 1 0xF5 2 3 ) 4 Low(Len) 5 ACK_SUCCES S ACK_FAIL ACK_TIMEOUT 2) packet Byte Response 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. 1 0xF5 2 --- Len + 1 Image Data Len + 2 CHK Len + 3 0xF5 6 0 7 CHK 8 0xF5

0x24 Hi(Len

213 Acquisition Image and extraction Upload eigenvalue (8 byte orders / response "8 bytes) Order data format : Byte Orde r 1 0xF5 2 0x23 3 0 4 0 5 0 6 0 7 CHK 8 0xF5

Response data format : 1 The head packet Byte Response 1 0xF5 2 3 ) 4 Low(Len) 5 ACK_SUCCES S ACK_FAIL 6 0 7 CHK 8 0xF5

0x23 Hi(Len

- 12 -

fingepint modules Manual

ACK_TIMEOUT 2 packet Byte Response 1 0xF5 2 0 3 0 4 0 5 --- Len + 1 eigenvalue data Len + 2 CHK Len + 3 0xF5

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

214 download eigenvalue and Comparison with Fingerprint Acquisition


Order data format : 1 The head packet Byte Orde r 1 0xF5 2 0x44 3 Hi(Len ) 4 Low(Len) 5 0 6 0 7 CHK 8 0xF5

2 packet Byte Orde r 1 0xF5 2 0 3 0 4 0 5 --- Len + 1 eigenvalue data Len + 2 CHK Len + 3 0xF5

Note : eigenvalue data length Len - 3 constant 193 bytes. Response data format : 1 Byte Response 0xF5 0x44 0 0 ACK_SUCCES S ACK_FAIL ACK_TIMEOUT 0 CHK 0xF5 2 3 4 5 6 7 8

215 download fingerprint eigenvalues and Comparison with DSP module database 1 : 1 (Order "8 byte / byte response to 8)
Order data format : 1 The head packet Byte Orde 1 0xF5 2 0x42 3 Hi(Len 4 Low(Len)
- 13 -

5 0

6 0

7 CHK

8 0xF5

fingepint modules Manual

r 2 packet Byte Orde r 1 0xF5 2 User s (high 8)

3 Users (low 8)

4 0

5 --- Len + 1 eigenvalue data

Len + 2 CHK

Len + 3 0xF5

Note : eigenvalue data length Len - 3 constant 193 bytes. Response data format : 1 Byte Response 0xF5 0x42 0 0 ACK_SUCCES S ACK_FAIL 0 CHK 0xF5 2 3 4 5 6 7 8

216 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 Orde r 1 0xF5 2 0x43 3 Hi(Len ) 4 Low(Len) 5 0 6 0 7 CHK 8 0xF5

2 packet Byte Orde r 1 0xF5 2 0 3 0 4 0 5 --- Len + 1 eigenvalue data Len + 2 CHK Len + 3 0xF5

Note : eigenvalue data length Len - 3 constant 193 bytes. Response data format : Byte Response 1 0xF5 2 3 (high 8) 4 User s (low 8) 5 User Privilege (1/2/3) ACK_NOUSE R 6 0 7 CHK 8 0xF5

0x43 Users

- 14 -

fingepint modules Manual

217 Upload DSP module database designated users eigenvalue (for 8 byte order / response "8 bytes)
Order data format : Byte Orde r 1 0xF5 2 0x31 3 Users (high 8) 4 User s (low 8) 5 0 6 0 7 CHK 8 0xF5

Response data format : 1The head packet Byte Response 1 0xF5 2 3 ) 4 Low(Len) 5 ACK_SUCCES S ACK_FAIL ACK_NOUSER 2 packet Byte Response 1 0xF5 2 Users (high 8) 3 Users (low 8) 4 User Privileg e (1/2/3) 5 --- Len + 1 eigenvalue data Len + 2 CHK Len + 3 0xF5 6 0 7 CHK 8 0xF5

0x31 Hi(Len

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

218 Eigenvalues under-users, as specified deposited DSP module database (Order "8 byte / byte response to 8)
Order data format : 1) The head packet Byte Orde r 1 0xF5 2 0x41 3 Hi(Len ) 4 Low(Len) 5 0 6 0 7 CHK 8 0xF5

2) packet

Byte

3
- 15 -

5--- Len + 1

Len + 2 Len + 3

fingepint modules Manual

Orde r

0xF5

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 Response 1 0xF5 2 0x41 3 0 4 0 5 ACK_SUCCES S ACK_FAIL 6 0 7 CHK 8 0xF5

219 For all users have logged users, and permissions (for 8 byte order / response "8 bytes) Order data format : Byte Orde r 1 0xF5 2 0x2B 3 0 4 0 5 0 6 0 7 CHK 8 0xF5

Response data format : 1The head packet Byte Response 1 0xF5 2 3 ) 4 Low(Len) 5 ACK_SUCCES S ACK_FAIL 2packet 6 0 7 CHK 8 0xF5

0x2B Hi(Len

Byte Response

1 0xF5

2 Users (high 8)

3 Users (low 8)

4 --- Len + 1 Information and users (users id and permissions)

Len + 2 CHK

Len + 3 0xF5

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

User information data format is as follows :

- 16 -

fingepint modules Manual

Byte data

data

4 Users 1 (high 8)

5 Users 1 (low 8)

6 User 1 Privileg e (1/2/3)

7 Users 2 (high 8)

8 Users 2 (low 8)

9 User 2 Privileg e (1/2/3)

220 Emptied recording data


Byte Order Response 1 0xF5 0xF5 2 0x3A 0x3A 3 0 0

(Not support)
4 0 0 5 0 ACK_SUCCES S ACK_FAIL 6 0 0 7 CHK CHK 8 0xF5 0xF5

223 Setting time


Order data format :

(Not support)

1 The head packet Byte Orde r 1 0xF5 2 0x48 3 Hi(Len ) 4 Low(Len) 5 0 6 0 7 CHK 8 0xF5

2 packet Byte Orde r 1 0xF 5 2 Week s 3 yea r 4 mont h 5 da y 6 hou r 7 Minute s 8 Second s 9 CH K 10 0xF 5

Note : Data time constant for the length Len 7. Response data format : Byte Response 1 0xF5 2 0x48 3 0 4 0 5 ACK_SUCCES S ACK_FAIL 6 0 7 CHK 8 0xF5

224 Read system time (Not support)


Order data format :

- 17 -

fingepint modules Manual

Byte Orde r

1 0xF5

2 0x3C

3 0

4 0

5 0

6 0

7 CHK

8 0xF5

Response data format : 1The head packet Byte Response 1 0xF5 2 3 ) 4 Low(Len) 5 ACK_SUCCES S ACK_FAIL 2packet 6 0 7 CHK 8 0xF5

0x3C Hi(Len

Byte Response

1 0xF5

2 Week s

3 year

4 month

5 day

6 hour

7 Minutes

8 Seconds

9 CH K

10 0xF5

Note : the length of time is Len 7.

225 Setting fingerprint reading timeout response "8 bytes)


Byte Order 1 0xF5 2 0x2E 3 0 4 Byte5=0 timeout Byte5=1 0 Response 0xF5 0x2E 0 timeout

(for 8 byte order /

5 0set timeout 1read timeout

6 0

7 CHK

8 0xF5

ACK_SUCCUS S ACK_FAIL

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.

- 18 -

Você também pode gostar