Advertisement

Quick Links

User's Manual for Fingerprint Module TFP821
(Xiamen Toyonway Intellectual Technology Co., Ltd.)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TFP821 and is the answer not in the manual?

Questions and answers

Summary of Contents for Toyonway TFP821

  • Page 1 User’s Manual for Fingerprint Module TFP821 (Xiamen Toyonway Intellectual Technology Co., Ltd.)
  • Page 2 Revision Date Description 0.0.1 08/02/2018 Draft 0.0.2 08/06/2018 Updated, Comment AutoEnroll, AutoIdentify Functions, Modify Starting Time. 0.0.3 09/14/2018 Format Revision.
  • Page 3: Table Of Contents

    CONTENTS Specification ............................ 1 Pin map ............................2 Basic concept........................... 3 Available resources ........................3 Module Parameters ......................... 3 Communication Protocol ......................... 4 Package format ........................4 Command Code ........................5 Response Code ........................5 Command ............................6 GetImg ............................. 6 Img2Tz .............................
  • Page 4 VfyPwd ........................... 16 WriteNotePad ........................16 ReadNotePad ......................... 17 TemplateNum ........................17 ReadConList ........................... 18 Combination ..........................19 Enroll ............................19 Identification ......................... 19 Sleep and Wakeup ......................... 20 Test environment .......................... 21 Technical Support .......................... 24...
  • Page 5: Specification

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Thank you for your interest in our fingerprint identification module. TFP821 is the stand-alone fingerprint identification module. The module performs the functions like fingerprint enrollment, identification, verification. The module supports UART or USB communication.
  • Page 6: Pin Map

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Image Acquiring <= 45 mA Sleep mode <= 10 uA Communication UART,USB Baud Rate(UART) (9600 x N) bps, N = 0 ~ 12 Default N=6 (57600 bps) ,0 for USB Module Outline dimension 20mm* 33mm Table 1.
  • Page 7: Basic Concept

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Basic concept. Available resources Size(byte) Description Image Buffer 160*160 Store image (name as ImageBuffer) Template Buffer 448 * 3 Store 3 Templates(name as CharBuffer1 ~ 3) Fingerprint database Template x (300) Note 32 * 15 One note is of size 32 bytes.
  • Page 8: Communication Protocol

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com When you test the module with PC, you can determine whether USB is available or not in windows explorer. If CD Drive does not appear, you can use UART communication. (2) Module parameters would be effective after reset of module.
  • Page 9: Command Code

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Command Code Value Name Description 0x01 GetImg Capture image(with finger detection) 0x02 Img2Tz Extract feature 0x03 Match Match two features 0x04 Search Search fingerprints in DB 0x05 RegModel Merge two features into one template...
  • Page 10: Command

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com 0x0F RET_UpImgFail Failed to upload image 0x10 RET_RemoveTempFail Failed to remove template from DB 0x11 RET_RemoveAllFail Failed to remove all templates from DB 0x13 RET_InvalidPwd Invalid Password 0x15 RET_InvalidImg There is no valid image data in ImageBuffer...
  • Page 11: Img2Tz

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Start Get Full Image Return RET_OK Parameters : None Command Packet START ADDR LENGTH Command 2 bytes 4bytes 1byte 2bytes 1byte 2bytes 0xEF01 0xFFFFFFFF 0x01 0x0003 0x01 0x0005 Table 8-1 Response packet START...
  • Page 12: Match

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Table 9-2 Please refer to response code(Table 7). Match Operation Match CharBuffer1 and CharBuffer2. Parameters : None Command Packet START ADDR LENGTH Command 2 bytes 4bytes 1byte 2bytes 1byte 2bytes 0xEF01 0xFFFFFFFF 0x01...
  • Page 13: Regmodel

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Please refer to response code.(Table 7) RegModel Operation Merge CharBuffer1~2) into one template and store at CharBuffer1. Parameters : None Command Packet START ADDR LENGTH Command 2 bytes 4bytes 1byte 2bytes 1byte 2bytes...
  • Page 14: Loadchar

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com LoadChar Operation Read an template of DB and store into CharBuffer(1 or 2). Parameters BufferID : CharBuffer’s ID(1 or 2) TempID : template ID Command Packet START ADDR LENGTH Command BufferID TempID SUM...
  • Page 15: Downchar

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com START ADDR LENGTH Template Bytes 2 bytes 4bytes 1byte 2bytes N byte 2bytes 0xEF01 0xFFFFFFFF 0x02 Table 15-3 B. Last START ADDR LENGTH Template Bytes 2 bytes 4bytes 1byte 2bytes N byte 2bytes...
  • Page 16: Upimage

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Response Packet START ADDR LENGTH Response 2 bytes 4bytes 1byte 2bytes 1byte 2bytes 0xEF01 0xFFFFFFFF 0x07 0x0003 Table 16-2 Please refer to response code(Table 7). Data Packet Please refer to Table 15-3,15-4. UpImage Operation Upload image of ImageBuffer.
  • Page 17: Deletechar

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Table 17-2 Please refer to response value.(Table 7) Data packet is same as Table 15-3,15-4. Remark : UART : N = 128 for data packet. Image Data Format UART : Upload data is image bytes with width=256, height=288.
  • Page 18: Setsyspara

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Command Packet START ADDR LENGTH Command 2 bytes 4bytes 1byte 2bytes 1byte 2bytes 0xEF01 0xFFFFFFFF 0x01 0x0003 0x0D 0x10 Table 19-1 Response Packet START ADDR LENGTH Response 2 bytes 4bytes 1byte 2bytes 1byte...
  • Page 19: Readsyspara

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com ReadSysPara Operation Read module parameters. Parameters : None Command Packet START ADDR LENGTH Command 2 bytes 4bytes 1byte 2bytes 1byte 2bytes 0xEF01 0xFFFFFFFF 0x01 0x0003 0x0F 0x0012 Table 21-1 Response Packet START ADDR...
  • Page 20: Vfypwd

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com START ADDR LENGTH Response 2 bytes 4bytes 1byte 2bytes 1byte 2bytes 0xEF01 0xFFFFFFFF 0x07 0x0003 Table 22-2 Please refer to response code(Table 7). VfyPwd Operation Verify module password. Parameters Pwd : password(default : 0x00000000)
  • Page 21: Readnotepad

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com START ADDR LENGTH Response 2 bytes 4bytes 1byte 2bytes 1byte 2bytes 0xEF01 0xFFFFFFFF 0x07 0x0003 Table 24-2 Please refer to response code(Table 7). ReadNotePad Operation Read one note. Parameters NoteID : note ID to read.(0x0~0xE)
  • Page 22: Readconlist

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com START ADDR LENGTH Response Template Number 2 bytes 4bytes 1byte 2bytes 1byte 2 bytes 2bytes 0xEF01 0xFFFFFFFF 0x07 0x0005 Table 26-2 Please refer to response code(Table 7). ReadConList Operation Read valid bit array for templates in DB.
  • Page 23: Combination

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Combination Fingerprint registration and identification can be implemented as follows: Enroll (Need two or three times of fingerprint inputs) Start Other Err No Finger GetImg Fail Img2Tz(BufferID=1) Other Err GetImg No Finger No Finger...
  • Page 24: Sleep And Wakeup

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Start Other Err No Finger GetImg Fail Img2Tz(BufferID=1) Search Sleep and Wakeup 1) Turn into Sleep mode from normal working mode Cut off the power of VDD33, but keep the power of VTouch.
  • Page 25: Test Environment

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com Please wait at least 230ms since power VDD33, before send command to module. Thus, the MCU of the module can finish start-up process. The module will send 0x55 to upper monitor after finish start-up process.
  • Page 26 User’s Manual for Fingerprint Module TFP821 www.toyonway.com In this picture, the board in red rectangle is ready for module test with PC.(name as connection board) The blue connector attached to connection board is RS232-to-USB converter. (Probably, RS232-to-USB converter needs to install driver at your PC.
  • Page 27 User’s Manual for Fingerprint Module TFP821 www.toyonway.com If you see message “SetSysPara OK!”, usb port was set now. By clicking 7, you can re-check module parameters. To change into USB port, please reset module. But please don’t forget again after disconnect two USB connectors with PC!! (1) Connect normal USB connector to PC.
  • Page 28: Technical Support

    User’s Manual for Fingerprint Module TFP821 www.toyonway.com By clicking 1 and 2, you open USB. Technical Support If you have any questions, please don’t hesitate to contact us. Tel: (+86) 592-5056576 (+86) 159-6026-0605 Email: techsupport@toyonway.com QQ: 2997412740 3089398563 Website:http://www.toyonway.com 24 / 26...

Table of Contents