ADST11SD300&310 UserGuide
ADST11SD300&310 UserGuide
ADST11SD300&310 UserGuide
List
1. SUMMARY...................................................................................................................................3
1.1 MAIN FUNCTIONS........................................................................................................................................3
1.2 APPLICATION EXAMPLES............................................................................................................................3
1.3 TECHNOLOGY PARAMETER.......................................................................................................................4
1.4 DEFAULT SETTING......................................................................................................................................4
3. COMMUNICATION PROTOCOL...........................................................................................7
3.1 THE PROCESS OF COMMUNICATION...........................................................................................................7
3.2 CLASSIFY OF COMMUNICATION PACKET...................................................................................................8
3.2.1 Command packet................................................................................................................................................8
3.2.2 Response packet..................................................................................................................................................8
3.2.3 Data Packet.........................................................................................................................................................8
5. APPENDIX.................................................................................................................................14
5.1 RESPONSE AND ERROR CODE..................................................................................................................14
5.2 FLOW OF ENROLL AND VERIFY AND IDENTIFY PROCESS.......................................................................15
5.2.1 Enroll.................................................................................................................................................................15
5.2.2 Verify & Identify...............................................................................................................................................16
1. Summary
Functions and Characteristic:
ADST11SD3xx serial is All-in-one (Optic sensor +CMOS image sensor + CPU +Flash memory)
embedded stand-alone fingerprint identification module, it is convenient for second
development,Extremely easy to integrate minimizing time-to-market.
Description
CPU
Sensor
Optic sensor
Fingerprint capacity
FAR
FRR
Match Mode
496 Byte
Security level
Time of Response
Resistant to Abrasion
Communication
Working Voltage
DC 3.3V-5V
Working Current
Working Environment
Working Temperature-10 to 60
Relative humidity20% 80%
Storage Environment
Value
Security Level15
5s
BaudRate9600192003840057600115200BPS
115200 BPS
ON
Color
Signal name
Signal Description
PIN 1
White
UART-TX
PIN 2
Yellow
UART-RX
PIN 3
Black
GND
GND
PIN 4
Red
VIN
CPU
3. 3V
GND
RXD
TXD
RST
CPU
3. 3V
GND
RXD
TXD
RST
S e ria l
S e ria l
3. Communication Protocol
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
HOST
Begin
Wait Command
Command Packet
Send Command
Receive Command
Data Packet
Process Command
Receive Result
Response Packet
Data Packet
Send Result
End
Fig3-1.Process of Communication
Notice. Host do not send next command until receive result , except send FP Cancel
7
Code
Command packet
0xAA55
Response packet
0x55AA
0xA55A
0x5AA5
CMD
LEN
DATA
CKS
0x55
0xAA
D0
D1
D15
21
22
23
OFFSET
FIELD
TYPE
SIZE
DESCRYPTION
PREFIX
WORD
2byte
CMD
WORD
2byte
Command Code
LEN
WORD
DATA
Byte array
16byte
Command Parameter
22
CKS
WORD
2byte
RCM
LEN
RET
DATA
CKS
0xAA
0x55
D0 D1
D13
21
22
23
OFFSET
FIELD
TYPE
SIZE
DESCRYPTION
PREFIX
WORD
2byte
RCM
WORD
2byte
Response Code
LEN
WORD
RET
WORD
2byte
Result Code
(0 :success1 :fail
DATA
Byte array
14byte
22
CKS
WORD
2byte
CMD
LEN
DATA
CKS
0x5A
0xA5
D0
D1
Dn-1
6+n-1
6+n
6+n+1
OFFSET
FIELD
TYPE
SIZE
DESCRYPTION
PREFIX
WORD
2byte
CMD
WORD
2byte
Command Code
LEN
WORD
Length of DATA
DATA
Byte array
nbyte
Command parameter
6+n
CKS
WORD
2byte
Before send Command Data packet, Host first send Command packet which set the length of next
command data packet in Data Field
3.3.5 Response Data Packet
PREFIX
RCM
LEN
RET
DATA
CKS
0xA5
0x5A
D0
D1
Dn-3
OFFSET
FIELD
TYPE
SIZE
DESCRYPTION
PREFIX
WORD
2byte
RCM
WORD
2byte
Response Code
LEN
WORD
RET
WORD
2byte
DATA
Byte array
n-2byte
Response data
6+n
CKS
WORD
2byte
CheckSum
Function
Command
CMD
Response
LEN
DATA
RCM
LEN
RE
T
10
DATA
No
Function
Command
Verify
0x0101
Response
2
Template No.
0x0101
0/1
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
4
0x0104
Template No.
0x0104
4/6
0/1
Template No. /
ErrorCode
Clear Template
0x0105
Template No.
0x0105
0/1
Template No. /
ErrorCode
0x0106
0x0106
0/1
Cleared
TemplateCount /
Error Code
Get Empty ID
0x0107
0x0107
0/1
Template No. /
Error Code
0x0108
Template No.
0x0108
0/1
Template Status
/Error Code
0x0109
0x0109
0/1
Broken Template
Count
First
Broken Template
No./Error Code
10
11
Read Template
Write Template
0x010A
0x010B
Template
Template No.
Record Size + +
12
0x010C
0x010A
( Template 0/1
0x010D
Template Record
+ 4) or (4)
0/1
Template
Record Data
Template No. /
Error Code
0/1
Security Level
Value/Error Code
0x010D
Security
Value
11
Record Size
Value
13
Template No
Level
No
Function
Command
14
0x010E
Response
2
Time
Out 0x010E
0/1
Value
TimeOut Value /
Error Code
15
0x010F
0x010F
TimeOut Value
16
Set Device ID
0x0110
Device ID
0x0110
Device ID
17
Get Device ID
0x0111
0x0111
0/1
Device ID /
Error Code
18
0x0112
0x0112
F/W Version
19
Finger Detect
0x0113
0x0113
Detect Result
20
Set BaudRate
0x0114
BaudRate
0x0114
0/1
BaudRate Index /
Index
21
22
0x0115
0x0116
Duplication
Error Code
0x0115
0/1
Duplication
Check
Check Option
Option(1/0)
/Error Code
0x0116
Duplication
Check Option
23
0x0117
0x0117
24
0x0118
0/1
0 / ErrorCode
0x0119
Template 0/1
RAM
25
0x0119
Record Size
Template Record
Data /Error Code
+ 2) or (4)
26
0x011A
0x011A
of Captured FP
Template 0/1
Record Size
Template Record
Data /Error Code
+ 2) or (4)
27
Verify Downloaded
0x011B
Template
Template
Record Size
Record Data
Template
Index
0x011B
0/1
0/Error Code
+ 0x011C
0/1
0/Error Code
16
0/1
STO20-OEM
FP
28
29
Identify Downloaded
0x011C
FP
Record Data
0x0121
0x0121
/Error Code
30
0x0124
0/1
12
0x0124
No
Function
Command
31
Identify Free
0x0125
Response
0
0x0125
0/1
Template No. /
Error Code
32
0x0126
14
Password
0x0126
0/1
0/ Error Code
33
Verify
Device 0x0127
14
Password
0x0127
0/1
0/ Error Code
0x0128
0/1
Enroll Count
Password
34
0x0128
/Error Code
35
FP Cancel
0x0130
0x0130
36
Test Connection
0x0150
0x0150
37
Incorrect Command
0x0160
5. Appendix
5.1 Response and Error Code
No.
Value
Description
ERR_SUCCESS
0x00
ERR_FAIL
0x01
ERR_VERIFY
0x11
ERR_IDENTIFY
0x12
ERR_TMPL_EMPTY
0x13
ERR_TMPL_NOT_EMPTY
0x14
ERR_ALL_TMPL_EMPTY
0x15
ERR_EMPTY_ID_NOEXIST
0x16
ERR_BROKEN_ID_NOEXIST
0x17
10
ERR_INVALID_TMPL_DATA
0x18
11
ERR_DUPLICATION_ID
0x19
12
ERR_BAD_QUALITY
0x21
13
ERR_TIME_OUT
0x23
14
ERR_NOT_AUTHORIZED
0x24
15
ERR_GENERALIZE
0x30
13
16
ERR_FP_CANCEL
0x41
17
ERR_INTERNAL
0x50
Internal Error
18
ERR_MEMORY
0x51
Memory Error
19
ERR_EXCEPTION
0x52
Firmware Error
20
ERR_INVALID_TMPL_NO
0x60
21
ERR_INVALID_SEC_VAL
0x61
22
ERR_INVALID_TIME_OUT
0x62
23
ERR_INVALID_BAUDRATE
0x63
24
ERR_DEVICE_ID_EMPTY
0x64
25
ERR_INVALID_ DUP_VAL
0x65
26
ERR_INVALID_PARAM
0x70
Parameter is invalid
27
ERR_NO_RELEASE
0x71
28
GD_DOWNLOAD_SUCCESS
0xA1
29
GD_NEED_FIRST_SWEEP
30
GD_NEED_SECOND_SWEEP
31
32
33
GD_NEED_THIRD_SWEEP
0xFFF3 Waiting input fingerprint for the third time.
GD_NEED_RELEASE_FINGER 0xFFF4 Lift finger
GD_DETECT_FINGER
0x01
There is an finger on sensor
34
GD_NO_DETECT_FINGER
0x00
35
GD_TEMPLATE_NOT_EMPTY
0x01
36
GD_TEMPLATE_EMPTY
0x00
14
Counter = 1
Waiting for finger
Yes
FP Cancel?
No
Yes
Time Out ?
No
Capture Success?
No
Yes
Increasing Counter
Counter = 3 ?
Yes
No
Generalize Success?
Yes
Result = Success
Result = Fail
End
15
No
Yes
FP Cancel?
No
Yes
Time Out?
No
Result = Timeout
No
Capture Success?
Yes
Result = Fail
Verify or Identify
No
OK?
Yes
Result = Accept
Result = Reject
End
16