Sie sind auf Seite 1von 13

www.camabio.

com
CAMA-SM Series Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

CAMA-SM25 Series
Fingerprint Identification Module
Users Manual

Shenzhen CAMA Biometrics Co., Ltd.


WWW.CAMABIO.COM

----------------------------------------------------------------------------------3

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

Table of Contents
1 Summary .................................................................................................... 1
1.1 Main Functions ..................................................................................................... 1
1.2 Applications ......................................................................................................... 1

2 Module Hardware Description ................................................................ 2


2.1 Hardware Features ................................................................................................. 2
2.2 Configuration and Connector .................................................................................... 2
2.2.1 Configuration .................................................................................................. 2
2.2.2 Connector Signal Description ............................................................................... 3

3 Module Technical Parameters ................................................................. 4


3.1 Parameters .......................................................................................................... 4
3.2 Default Factory Settings .......................................................................................... 4

4 Command Mode users guide .................................................................. 5


4.1 The process of communication ................................................................................. 5
4.2 Classify of communication packet .............................................................................. 6
4.2.1 Command packet............................................................................................. 6
4.2.2 Response packet ............................................................................................. 6
4.2.3 Data Packet .................................................................................................... 6
4.3 Packet Structure .................................................................................................... 6
4.3.1 Packet Identify Code ......................................................................................... 6
4.3.2 Structure of Command Packet ............................................................................. 6
4.3.3 Response packet ............................................................................................. 7
4.3.4 Command Data Packet ...................................................................................... 7
4.3.5 Response Data Packet ...................................................................................... 7

5 Packet Command Detail Description ...................................................... 8


5.1 Structure of Fingerprint Template Data ........................................................................ 8
5.2 Command List ...................................................................................................... 9
5.3 Command Packet Description ............................................................
5.3.1 Verify .....................................................................................
5.3.2 Identify ...................................................................................
5.3.3 Enroll .....................................................................................
5.3.4 Enroll One Time ........................................................................
5.3.5 Clear Template .........................................................................
5.3.6 Clear All Template .....................................................................
5.3.7 Get Empty ID ...........................................................................
5.3.8 Get Template Status ..................................................................
5.3.9 Get Broken Template .................................................................
5.3.10 Read Template .......................................................................
5.3.11 Write Template ........................................................................

---------------------------------------------------------------------------

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
-----------------------------------------------------------------------------------------------------------------------------------------5.3.12 Set Security Level ....................................................................
5.3.13 Get Security Level ....................................................................
5.3.14 Set Finger Time Out .................................................................
5.3.15 Get Finger Time Out .................................................................
5.3.16 Set Device ID ..........................................................................
5.3.17 Get Device ID .........................................................................
5.3.18 Get F/W Version ......................................................................
5.3.19 Finger Detect ..........................................................................
5.3.20 Set Baudrate ..........................................................................
5.3.21 Set Duplication Check(ON/OFF)...................................................
5.3.22 Get Duplication Check...............................................................
5.3.23 Enter Standby Mode .................................................................
5.3.24 Enroll And Store in RAM .............................................................
5.3.25 Get Enroll Data .......................................................................
5.3.26 Get Feature Data of Captured FP .................................................
5.3.27 Verify Downloaded Feature with Captured FP...................................
5.3.28 Identify Downloaded Feature with Captured FP ................................
5.3.29 Get Device Name.....................................................................
5.3.30 Sensor LED Control ..................................................................
5.3.31 Identify Free ...........................................................................
5.3.32 Set Device Password ................................................................
5.3.33 Verify Device Password .............................................................
5.3.34 Get Enroll Count ......................................................................
5.3.35 FP Cancel ..............................................................................
5.3.36 Test Connection ......................................................................
5.3.37 Incorrect Command .................................................................
5.4 Attentions .....................................................................................

6 Appendix .................................................................
6.1 Acknowledge and Error Code List........................................................
6.2 Flow of Enroll and Verify and Identify process .........................................
6.2.1 Enroll .....................................................................................
6.2.2 Verify & Identify.........................................................................

---------------------------------------------------------------------------

www.camabio.com
CAMA-SM Series Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

1 Summary
CAMA-SM25 is the fingerprint module for secondary development which has integrated fingerprint
optical sensor, CMOS image sensor, CPU, and Flash memory together. It features small size, low
power consumption, simple ports, high reliability, small fingerprint template (496bytes), large
fingerprint capacity, etc. It is convenient to be embedded to user system for realizing clients required
fingerprint verification products.
CAMA-SM25 outstandingly features Auto-learning function. During the fingerprint verification
process, the latest collected fingerprint features would be integrated into the fingerprint database
automatically so that the users would obtain better and better fingerprint verification result.
CAMA-SM25 module is UART communication interface with adjustable safety level function,
fingerprint data reading & writing function, 1:N and 1:1 verification function.
It has adapted the most advanced technology of Auto wake-up function. When the finger touching
the sensor, system detected and will automatically power on as well as scanning & identify the
fingerprint, which is much more convenient and intelligent instead of the button power-on design.

1.1 Main Functions


Communication interface :UART
Optic sensor is reliable and Low-cost, High ESD Protection
1:N Identification (One-to-Many)
1:1 Verification (One-to-One)
High speed fingerprint identification algorithm engine
Auto-learning function
Fingerprint template data read from /write to FLASH memory function
Get Feature Data of Captured fingerprint and Verify/Identify Downloaded Feature with
Captured fingerprint(Specially designed for fingerprint stored in IC card)
Identify Downloaded Feature with Captured fingerprint
Security Level setting
Able to set BaudRate/ Device ID/Device Password
Automatic Touch sense function
360 degree verification

1.2 Applications
Access control systems
Time & Attendance
Locks, safes
POS, handheld terminals

----------------------------------------------------------------------------------1

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

2 Module Hardware Description


2.1 Hardware Features
No.

Item

Description

Model

CAMA-SM25

CPU

120MHz, 1M flash memory,128SRAM

Sensor

4
5

Fingerprint image
Resolution

CAMA Optical Sensor


Scan Area 18 x 22 mm
242x 266(pixel)
500 dpi

Power Supply

DC 3.3V10%

Work current

<150mA

Communication port

UART

2.2 Configuration and Connector


2.2.1 Configuration

2
---------------------------------------------------------------------------

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

2.2.2 Connector Signal Description

For SAMSUNG only use following Pins:


Pin No. Signal name
Signal Description
PIN 1

Touch Power
3.3V

PIN 2

Finger Detect

PIN 3
PIN 4
PIN 5
PIN 6
PIN 7

UART-TX
UART-RX
GND
VIN
FP Reset

Touch sense function need to supply power separately (It is


better the power can be controlled). Power: DC3.3V 0.1V
Current:1.5uA to 2.5uA
output high level when detected finger, and output low level
once finger left
Module Transmit Output,3.3V TTL Logic
Module Receive Input,3.3V TTL Logic
GND
DC Input, Range of Voltage is 3.3V10%
Reset at low level (reset time>100ms), Work at high level. After
Reset, it will cost about 350-400ms for system initializing and
programs loading; Only after that the module can communicate
with MCU by UART

Note: Module power supply is DC3.3V, UART Port is 3.3V TTL

3
---------------------------------------------------------------------------

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

3 Module Technical Parameters


3.1 Parameters
Item
CPU
Sensor
Fingerprint Capacity
FAR
FRR
Matching Method
Fingerprint Template
Security Level
Speed
Resistant to Abrasion
Communication Port
Communication
Parameters

Working Voltage
Working Current
Working Environment
Storage Environment

Description
CPU: 120MHz, 1M flash memory,128SRAM
CAMA Optical Sensor
Scan SM25:18 x 22 mm
3000
< 0.001 %Security Level 3
< 0.1 %Security Level 3
1:N Identification and 1:1 Verification
496 Bytes
Level 1~ Level 5 can be set, Default settingLevel 3
Fingerprint pretreatment < 0.45 s
1:N2000 fingerprints< 0.9s
>1 Million Finger Press
UART, 3.3V TTL
Parity = NONE One Stop Bit = 1
Flow Control = NONE
BaudRate:9600, 19200, 38400, 57600, 115200bps
Default115200bps
DC 3.3V10%
<150mA
Working Temperature: -20 - 60
Working Humidity: 20% 80%
Storage Temperature: -20 ~80
Storage Humidity: <90%

3.2 Default Factory Settings


Item

Initial Value

Security Level

Finger Print Time Out

0 Seconds

Baud Rate
Duplication Check

115200 bps
ON

4
---------------------------------------------------------------------------

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

4 Command Mode users guide


The module is used as a slave device. The Master device sends relative commands to control it.
The CMD sent by the master and the ACK signal returned by the module.
Command interface: UART (Universal Asynchronous Receiver Transmitter)
Default Setting is: 115200bps, 1 start-bit, 1 stop-bit, no check bit

4.1 The process of communication


HOST

T A R G E TCAMA-SM25

Begin
Wait Command

Command Packet
Receive Command

Send Command
Data Packet

Process Command

Response Packet
Receive Result

Send Result
Data Packet

End

Notice. Host do not send next command until receive result, except send FP Cancel

5
---------------------------------------------------------------------------

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

4.2 Classify of communication packet


4.2.1 Command packet
Command Packet is the instruction from Host to Target (CAMA-SM Series),
Total length of the command packet is 24 Bytes
4.2.2 Response packet
Response packet is result of execute command packet, from Target (CAMA-SM Series) to Host,
Total length of the command packet is 24 Bytes
4.2.3 Data Packet
When length of Command Parameter or Data is larger than 16 Bytes, Utilize Data Packet to transmit
block Data, the maximum length of Data Packet is 512Bytes

4.3 Packet Structure


4.3.1 Packet Identify Code
Section start 2byte prefix define type of packet
Type of Packet
Command packet
Response packet
Command Data Packet
Response Data Packet

Code
0xAA55
0x55AA
0xA55A
0x5AA5

4.3.2 Structure of Command Packet


PREFIX
0x55 0xAA
0
1

OFFSET
0
2
4
6

22

CMD
L
H
2
3

LEN
L
H
4
5

D0
6

DATA
D1

FIELD
PREFIX
CMD
LEN
DATA

TYPE
WORD
WORD
WORD
Byte array

SIZE
2byte
2byte
2byte (=n, n < 17)
16byte

CKS

WORD

2byte

D15
21

CKS
L
H
22 23

DESCRYPTION
Packet Identify code
Command Code
Length of Command Parameter
Command Parameter
Check Sum is the low word of value
listed below:
offset[0] + offset[1] + +offset[21]

6
---------------------------------------------------------------------------

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

4.3.3 Response packet


PREFIX
0xAA 0x55
0
1
OFFSET
0
2
4
6
8

22

RCM
L
H
2
3

LEN
L
H
4
5

RET
L
H
6
7

FIELD
PREFIX
RCM
LEN
RET
DATA

TYPE
WORD
WORD
WORD
WORD
Byte array

2byte
2byte
2byte(=n, n < 17)
2byte
14byte

CKS

WORD

2byte

D0
8

SIZE

DATA
D1

CKS
L H
22 23

D13
21

DESCRYPTION
Packet Identify code
Response Code
RET and DATA
Result Code (0 :success1 :fail
Response Data (n-2 byte)
Check Sum is the low word of value
listed below:
offset[0] + offset[1] + +offset[21]

4.3.4 Command Data Packet


PREFIX
0x5A
0xA5
0
1

OFFSET
0
2
4
6

6+n

CMD
L
H
2
3

LEN
L
H
4
5

D0
6

DATA
D1

FIELD
PREFIX
CMD
LEN
DATA

TYPE
WORD
WORD
WORD
Byte Array

SIZE
2byte
2byte
2byte(=n , n < 512)
nbyte

CKS

WORD

2byte

CKS
Dn-1
6+n-1

L
6+n

H
6+n+1

DESCRYPTION
Packet Identify code
Command Code
Length of DATA
Command parameter
Check Sum is the low word of value
listed below:
offset[0] + offset[1] + +offset[6+n-1]

Before send Command Data packet, Host first send Command packet which set the length of next
command data packet in Data Field
4.3.5 Response Data Packet
PREFIX
0xA5
0x5A
0
1

OFFSET
0
2

FIELD
PREFIX
CMD

RCM
L
H
2
3

TYPE
WORD
WORD

LEN
L
H
4
5

RET
L
H
6
7

SIZE
2byte
2byte

D0
8

DATA
D1
9

CKS
Dn-3
L
H
6+n-1 6+n 6+n+1

DESCRYPTION
Packet Identify code
Response Code

7
---------------------------------------------------------------------------

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

LEN

WORD

2byte(=n, n < 512)

6
8

RET
DATA

WORD
Byte Array

2byte
n-2byte

CKS

WORD

2byte

6+n

Length of result data


(RET + DATA)
Result code
0 : success 1 : fail
Response data
Check Sum is the low word of value
listed below:
offset[0] + offset[1] + +offset[6+n-1]

5 Packet Command Detail Description


5.1 Structure of Fingerprint Template Data
Template Data(496Bytes)+CheckSum(2Bytes)=498Bytes
Template Data
496 bytes Template Data
D0,D1,D495

CheckSum
2 byte Check Sum is the low word of value listed below:
D0+D1++D495

8
---------------------------------------------------------------------------

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
------------------------------------------------------------------------------------------------------------------------------------------

5.2 Command List


No
1

Function
Verify

Command
CMD

LEN

0x0101

Response
DATA
Template No.

RCM

LEN

0x0101

RET
0/1

DATA
Template No /Error
Code

Identify

0x0102

0x0102

0/1

Template No /Error
Code

Enroll

0x0103

Template No.

0x0103

4/6

0/1

Template No /Error
Code + Duplicaion
ID

Enroll One Time

0x0104

Template No.

0x0104

4/6

0/1

Template No
/ErrorCode

Clear Template

0x0105

Template No.

0x0105

0/1

Template No
/ErrorCode

Clear All Template

0x0106

0x0106

0/1

Cleared Template
Count /Error Code

Get Empty ID

0x0107

0x0107

0/1

Template No /Error
Code

Get Template Status

0x0108

Template No.

0x0108

0/1

Template Status
/Error Code

Get Broken Template

0x0109

0x0109

0/1

Broken Template
Count + First
Broken Template
No /Error Code

10

11

Read Template

Write Template

0x010A

0x010B

Template
Record Size +

12

Set Security Level

0x010C

Template No.

Template No +

0x010A

0x010B

( Template

0/1

Record Data

Security Level

Template Record

4) or (4)

Data /Error Code

0/1

14

Get Security Level

Set Finger Time Out

0x010D

0x010E

Template No /Error
Code

0x010C

0x010D

0/1

Value
13

Record Size +

Template

Template No

Security Level
Value /Error Code

Time Out Value

Security Level
Value

0x010E

0/1

TimeOut Value
/Error Code

15

Get Finger Time Out

0x010F

16

Set Device ID

0x0110

17

Get Device ID

0x0111

Device ID
-

0x010F

TimeOut Value

0x0110

Device ID

0x0111

0/1

Device ID /Error
Code

18

Get F/W Version

0x0112

0x0112

F/W Version

9
---------------------------------------------------------------------------

www.camabio.com
CAMA-SM25 Fingerprint Module Manual
-----------------------------------------------------------------------------------------------------------------------------------------No

Function

Command

Response

19

Finger Detect

0x0113

0x0113

Detect Result

20

Set BaudRate

0x0114

BaudRate Index

0x0114

0/1

BaudRate Index
/Error Code

21

Set Duplication Check

0x0115

Duplication

0x0115

0/1

Check

Duplication Check
Option /Error Code

Option(1/0)
22

Get Duplication Check

0x0116

0x0116

Duplication Check
Option

23

Enter Stadby Mode

0x0117

0x0117

24

Enroll And Store in RAM

0x0118

0x0118

0/1

0 / ErrorCode

25

Get Enroll Data

0x0119

0x0119

( Template

0/1

Template Record

Record Size +
2)
26

Get Feature Data

0x011A

0x011A

of Captured FP

Verify Downloaded

Identify Downloaded

0x011B

Get Device Name

Template
Record Size

0x011C

Feature with Captured FP

29

0/1

Record Size +

Feature with Captured FP


28

or (4)

( Template

2)
27

Data /Error Code

0x0121

Template
Record

Index +

Record Size +

Template
Record

Data /Error Code

or (4)

0x011B

0/1

0/Error Code

0x011C

0/1

0/Error Code

0x0121

16

0/1

STO20-OEM

Data

Template

Template Record

Data

/Error Code
30

Sensor LED Control

0x0124

0/1

0x0124

31

Identify Free

0x0125

0x0125

0/1

Template No /Error
Code

32

Set Device Password

0x0126

14

Password

0x0126

0/1

0/ Error Code

33

Verify Device Password

0x0127

14

Password

0x0127

0/1

0/ Error Code

34

Get Enroll Count

0x0128

0x0128

0/1

Enroll Count
/Error Code

35

FP Cancel

0x0130

0x0130

36

Test Connection

0x0150

0x0150

37

Incorrect Command

0x0160

Contact Information:
Shenzhen CAMA Biometrics Co., Ltd.
Add.: 13/F, Block B, 9th Bldg , Baoneng Science and Technology Park, Qingxiang Road,
Longhua, Shenzhen,China
TEL: (86-755)-33581519
FAX:(86-755)-33581529
Website: www.camabio.com
10
---------------------------------------------------------------------------

Das könnte Ihnen auch gefallen