fingerprint module manual

36
I fc WW 用 b7 bK

Upload: yusuf-al-jazari

Post on 15-Sep-2015

247 views

Category:

Documents


4 download

DESCRIPTION

Fingerprint Module Manual

TRANSCRIPT

  • 2 36

    ..................................................................... 31.1 ................................................................... 41.2 41.3 ................................................................... 4

    ............................................................. 5 ................................................................. 63.1 J1 ................................................. 63.1.1 .............................................................. 63.1.2 USB ............................................................... 7

    ................................................................. 74.1 ..................................................................... 84.1.1 ............................................................. 84.1.2 ......................................................... 8

    4.2 ..................................................................... 84.3 ............................................................... 84.3.1 4 .............................................. 94.3.2 ............................................... 94.3.3 ............................................. 9

    4.4 ............................................................. 94.5 94.6 .................................................................. 104.7 .............................................................. 104.8 10

    ................................................................ 115.1 ................................................................ 115.2 125.3 14

    ............................................................ 156.1 ................................................................ 156.2 ............................................................ 206.3 .................................................................. 30

    ............................................................ 33 ................................................................. 3435

    ........................................................................... 36MM36

  • 3 36

    1.1

    FM-206 2010 FM-206 DSP AS601

    FM-206

    FM-206

    32

    FM-206 POS

  • 4 36

    1.2

    1:1

    1:N 2 2

    1:1 1:N

    1.3

    206 x x x x x Vxx

    mm

    A1000

    B>1000

    U USB2.0 / USB1.1S SeriesUART)

    206

    12

  • 5 36

    DC 3.6~6.0V / 3.3V

  • 6 36

    3.1J13.1.1

    J1 1 Vin in 2 TD out TTL 3 RD in TTL 4 GND in out

    3.1.1.1

    3.3V 5V 2 TDRXD, 3 RDTXD

    RS-232 PCMAX232

    3.1.1.2

    57600bps 9600115200bps 10 08

    1 0 D0 D1 D2 D3 D4 D5 D6 D7 1

    10

    3.1.1.3

    500mS

  • 7 36

    3.1.1.4/ GND

    1.

    Vin 3.6 6.0 V Vinmax 0.3 7.0 V Icc 90 100 110 mA Ipeak 150 mA

    2. TXDTTL

    3. RXDTTL

    VIL 0.6 V 0VIH 2.4 V 1IIH VIH =5V 1 mA

    VIH =3.3V 30 uAVImax 0.3 5.5 V

    3.1.2 USB USB J1

    1 Vin in 3.1.1.42 DP+ In/Out USB 3 DP- In/Out USB 4 GND

    inout

    VOL IOL=4mA 0.4 V 0

    VOH IOH= 4mA 2.4 3.3 V 1

    VOL IOL=4mA 0.4 V 0

    VOH IOH= 4mA 2.4 3.3 V 1

    VOL IOL=4mA 0.4 V 0

    VOH IOH= 4mA 2.4 3.3 V 1

  • 8 36

    4.1 RAM 72K bytes ImageBuffer 512 bytes

    CharBuffer1 CharBuffer2

    4.1.1

    Image Buffer / 256288 BMP

    UART 16 16 PC BMP 256 8bit

    USB 8 256

    4.1.2

    CharBuffer1 CharBuffer2

    4.2 FLASH

    N012

    N-2N-1

    4.3

    SetSysPara ReadSysPara

  • 9 36

    FLASH

    4.3.14

    UART N(N 112)(9600N)bps

    4.3.2

    512345, 5,

    4.3.3

    1233264128256

    4.4 ReadSysPara 1Word

    15 4 3 2 1 0 Reserved ImgBufStat PWD Pass Busy

    Busy 1 10 Pass 1 1 PWD 1 ImgBufStat 1

    4.5 0x00000000 USB

    UART

    Flash

    VfyPwd SetPwd

  • 10 36

    4.6 /

    4 0xFFFFFFFF

    SetAddr

    4.7 32

    GetRandomCode

    4.8Flash 512 16

    32WriteNotepad ReadNotepad 32

  • 11 36

    FM-206 UART

    5.1 UART

    2 bytes 00 06 0006 0600 ///

    START 2 0xef01, ADDR 4 0xffffffff,

    PID 1 0x01 Command packet0x02 (Data packet),

    0x07 ACK packet0x08

    (EndData packet) LENGTH 2 (/)

    +2

    DATA

    SUM 2 2

    5.2

  • 12 36

    5.2.1

    1 0x13

    13 0x08 2 0x12 14 0x09 3 0x15 15 0x06 4 0x0e 16 0x07 5 0x0f 17 0x0c 6 0x1f 18 0x0d 7 0x1d 19 0x03

    20 0x04

    8 0x01

    21 0x14 9 0x0a 10 0x0b 22 0x18 11 0x02 12 0x05 23 0x19

    5.2.2

    0x01 GenImg 0x0d Empty 0x02 Img2Tz 0x0e SetSysPara 0x03 Match 0x0f ReadSysPara 0x04 Serach 0x12 SetPwd 0x05 RegModel 0x13 VfyPwd 0x06 Store 0x14 GetRandomCode 0x07 LoadChar 0x15 SetAddr 0x08 UpChar 0x18 WriteNotepad 0x09 DownChr 0x19 ReadNotepad 0x0a UpImage 0x1d TemplateNum 0x0b DownImage 0x1f ReadConList 0x0c DeletChar

  • 13 36

    5.3

    NO. 1 0x00 OK2 0x01 3 0x02 4 0x03 5 0x06 6 0x07 7 0x08 8 0x09 9 0x0a 10 0x0b 11 0x0c 12 0x0d 13 0x0e 14 0x0f 15 0x10 16 0x11 17 0x13 18 0x15 19 0x18 FLASH 20 0x1a 21 0x20 22 0x21 23 Others

    5.4

  • 14 36

    Ef 01 ff ff ff ff 01 00 03 01 00 05 (01 )01Ef 01 ff ff ff ff 07 00 03 02 00 0c07 02 00 OKEf 01 ff ff ff ff 07 00 03 00 00 0aEf 01 ff ff ff ff 01 00 04 02 01 00 08(02 )01 1char buffer 1

  • 15 36

    FM-206

    / 5.1

    6.11 VfyPwd

    PassWord0x13

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 4 bytes 2 bytes 0xef01 XXXX 0x01 0x0007 0x13 PassWord Sum2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X Sum

    =0x00 =0x01 =0x13

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(4 bytes) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    2 SetPwd

    4.6PassWord0x12

  • 16 36

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 4 bytes 2 bytes 0xef01 XXXX 0x01 0x0007 0x12 PassWord Sum

    =0x00 OK=0x01

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(4 bytes) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    3 SetAddr

    4.7 0x15

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 4 bytes 2 bytes 0xef01 XXXX 0x01 0x0007 0x15 XXXX Sum

    =0x00 =0x01

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(4 bytes) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X Sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X Sum

  • 17 36

    4 SetSysPara

    4.4 + 0x0e

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 1 byte 2 bytes 0xef01 XXXX 0x01 0x0005 0x0e 4/5/6 X Sum

    =0x00 OK=0x01 =0x1a

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(1 byte)+(1 byte)

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000 4 NN 112 9600 * N bps 5 N (12345) 6 N (0123()3264128256)

    5 ReadSysPara

    4.4 4.5

    none + 0x0f

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X Sum

  • 18 36

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x01 0x0003 0x0f Sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 16 bytes 2 bytes 0xef01 XXXX 0x07 0x0013 X Sum

    =0x00 OK=0x01

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(16 bytes) 2 0xffffffff0x00000000 ()

    0 1 0x0000 1 1 2 1 12345 3 1 32 4 2 0123 6 1 N( 9600N bps) 7 1

    6) ReadConList

    256

    0 0255 1 256511 2 512767 3 7681024

    + 0x1f

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes

  • 19 36

    0xef01 XXXX 0x01 0x0004 0x1f 0/1/2/3 Sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 32 bytes 2 bytes 0xef01 XXXX 0x07 0x0023 X Sum

    1=0x00 =0x01

    2 256 256 03 8

    7 6 5 4 3 2 1 0

    0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1

    15 14 13 12 11 10 9 8

    0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1

    255 254 253 252 251 250 249 248

    0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1

    01 (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(N bytes) 2 0xffffffff0x00000000

    7 TemplateNum

    none + N0x1d

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x01 0x0003 0x1d sum

  • 20 36

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 2 bytes 0xef01 XXXX 0x07 0x0005 X N Sum

    =0x00 =0x01

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(2 bytes) 2 0xffffffff0x00000000

    6.28 GenImg

    ImageBuffer()

    none0x01

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x01 0x0003 0x01 sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    =0x00 =0x01 =0x02 =0x03

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

  • 21 36

    9 UpImage

    ImageBuffer 4.1.1none0x0a

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x01 0x0003 0x0a sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    2 bytes 4 bytes 1 byte 2 bytes N bytes 2 bytes 0xef01 XXXX 0x02 N+2 sum

    2 bytes 4 bytes 1 byte 2 bytes N bytes 2 bytes 0xef01 XXXX 0x08 N+2 sum

    1=0x00 =0x01 =0x0f

    23 N 128 bytes

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    10 DownImage

    ImageBuffer( 4.1.1 256*288 BMP

  • 22 36

    none0x0b

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x01 0x0003 0x0b sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    2 bytes 4 bytes 1 byte 2 bytes N bytes 2 bytes 0xef01 XXXX 0x02 N+2 sum

    2 bytes 4 bytes 1 byte 2 bytes N bytes 2 bytes 0xef01 XXXX 0x08 N+2 sum

    1=0x00 =0x01 =0x0e

    23 N 128 bytes

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    11 Img2Tz

    ImageBuffer , CharBuffer1 CharBuffer2

    BufferID()

  • 23 36

    0x022 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes 0xef01 XXXX 0x01 0x0004 0x02 BufferID Sum

    CharBuffer1CharBuffer2 BufferID 0x01 0x02 CharBuffer2

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    =0x00 =0x01 =0x06 =0x07 =0x15

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    12 RegModel

    CharBuffer1 CharBuffer2 CharBuffer1 CharBuffer2()

    none0x05

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x01 0x0003 0x05 sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

  • 24 36

    =0x00 =0x01 =0x0a

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    13 UpChar

    CharBuffer1 CharBuffer2 BufferID()0x08

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes 0xef01 XXXX 0x01 0x0004 0x08 BufferID Sum

    CharBuffer1CharBuffer2 BufferID 0x01 0x022 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    2 bytes 4 bytes 1 byte 2 bytes N bytes 2 bytes 0xef01 XXXX 0x02 N+2 sum

    2 bytes 4 bytes 1 byte 2 bytes N bytes 2 bytes 0xef01 XXXX 0x08 N+2 sum

    1=0x00 =0x01 =0x0d

  • 25 36

    23 N 128 bytes4

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    14 DownChar

    BufferID()0x09

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes 0xef01 XXXX 0x01 0x0004 0x09 BufferID Sum

    CharBuffer1CharBuffer2 BufferID 0x01 0x022 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    2 bytes 4 bytes 1 byte 2 bytes N bytes 2 bytes 0xef01 XXXX 0x02 N+2 sum

    2 bytes 4 bytes 1 byte 2 bytes N bytes 2 bytes 0xef01 XXXX 0x08 N+2 sum

    1=0x00 =0x01 =0x0e

    2

  • 26 36

    3 N 128 bytes. (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    15 Store

    CharBuffer1 CharBuffer2 Flash

    BufferID() + PageID0x06

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes 2 bytes 0xef01 XXXX 0x01 0x0006 0x06 BufferID PageID Sum

    CharBuffer1CharBuffer2 BufferID 0x01 0x022 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    =0x00 =0x01 =0x0b PageID =0x18 FLASH

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(1 byte)+(2 bytes)

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    16 LoadChar

    flash ID CharBuffer1 CharBuffer2

  • 27 36

    BufferID() + PageID()0x07

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes 2 bytes 0xef01 XXXX 0x01 0x0006 0x07 BufferID PageID Sum

    CharBuffer1CharBuffer2 BufferID 0x01 0x022 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    =0x00 =0x01 =0x0c =0x0b PageID

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(2 bytes)+(2 bytes)

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    17 DeletChar

    ID NPageID() + N 0x0c

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 2 bytes 2 bytes 0xef01 XXXX 0x01 0x0007 0x0c PageID N Sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes

  • 28 36

    =0x00 =0x01 =0x10

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(2 bytes)+(2 bytes)

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    18 Empty

    none0x0d

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x01 0x0003 0x0d sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    =0x00 =0x01 =0x11

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    19 Match

    1:1CharBuffer1 CharBuffer2

    0xef01 XXXX 0x07 0x0003 X Sum

  • 29 36

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 2 bytes 2 bytes

    none + 0x03

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x01 0x0003 0x03 0x0007

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 2 bytes 0xef01 XXXX 0x07 0x0005 X XX Sum

    1=0x00 =0x01 =0x08

    2 (2 bytes)=(1 byte)+(2 bytes)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(2 bytes) 2 0xffffffff0x00000000

    20 Search

    CharBuffer1 CharBuffer2

    BufferID + StartPage() + PageNum + 0x04

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes 2 bytes 2 bytes 0xef01 XXXX 0x01 0x0008 0x04 BufferID StartPage PageNum Sum

    CharBuffer1CharBuffer2 BufferID 0x01 0x02

  • 30 36

    0xef01 XXXX 0x07 0x007 X PageID MatchScore Sum1=0x00

    =0x01 =0x09

    2 (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(1 bytes)

    +(2 bytes)+(2 bytes) (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(2 bytes)

    +(2 bytes) 2 0xffffffff0x00000000

    6.321 GetRandomCode

    4.7 none0x14

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x01 0x0003 0x14 0x0018

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 4 bytes 2 bytes 0xef01 XXXX 0x07 0x0007 X XXXX Sum

    =0x00 =0x01

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(4 bytes) 2 0xffffffff0x00000000

  • 31 36

    22 WriteNotepad

    32 bytes 4.8 NotePageNum , user content0x18

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 32 bytes 2 bytes 0xef01 XXXX 0x01 0x0024 0x18 0x00-0x0e 32 bytes Sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 0xef01 XXXX 0x07 0x0003 X sum

    =0x00 =0x01

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+1 byte+32 byte

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte) 2 0xffffffff0x00000000

    23 ReadNotepad

    4.8 NotePagenum+0x19

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 1 byte 2 bytes 0xef01 XXXX 0x01 0x0004 0x19 0x00-0x0e Sum

    2 bytes 4 bytes 1 byte 2 bytes 1 byte 32 bytes 2 bytes 0xef01 XXXX 0x07 0x0023 X content Sum

  • 32 36

    =0x00 =0x01

    (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+1 byte (2 bytes)=(1 byte)+(2 bytes)+(1 byte)+(32bytes) 2 0xffffffff0x00000000

  • 33 36

  • 34 36

  • 35 36

  • 36 36

    mm

    ( 54.7 PCB 56mm)

    -----------End----------