I am working on a project involving fingerprint module with Arduino Uno and need your help
I am able to enroll, verify fingerprints. But now there is a need to extract templates from the FingerPrint Module, so I used the Adafruit Library show_fingerprint_templates .
The output of this code for one template is:
Attempting to get #1
Template 1 transferring:
494 bytes read.
Decoding packet...
FFFFFFFFFFFFFFFFFF013C186F00FF06FE02FE00FC00FC00FC00FC00FC00FC02FC02FC02FC02FC02E002E002E002C00200000000000000000000000000002EBC5DD3383FC36D3AA7E08D30A2EF01FFFFFFFF0200824B3959515D3B6AAE50345C2F413C1A8F44B55B8C6437806B000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008FDEF01FFFFFFFF020082030148237000FF06FF06FC02F802F802F002F002F002F002F002F002F002F002E002E002C002C00000FFFFFFFFFFFFFFFFFFFFFF000000004B07883E3013479E3A9A1E3E3236447E640586D746A05DDF6C3AC1775941171F4A315BDC3EC29B7C3FA2469D32C3979D6C1A07BA6B9CDBBB6D231B783523E1D2572D81B8484299382E45EF01FFFFFFFF0800823520C9935C2D9A765FAA9BD74B3959D76F9106CE6D129CD461A79B5439BD9AF461B62BAF383FC36F50339B53484040B3632E975064B027712BC197F157B19CAE283B5CEC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000205CFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
done.
Now in the output above, I observed that there are three frames which are:
---------------------------------------------------------------------
FFFFFFFFFFFFFFFFFF013C186F00FF06FE02FE00FC00FC00FC00FC00FC00FC02FC02FC02FC02FC02E002E002E002C00200000000000000000000000000002EBC5DD3383FC36D3AA7E08D30A2
EF01
FFFFFFFF
02 Data Packet
0082 Package Length
4B3959515D3B6AAE50345C2F413C1A8F44B55B8C6437806B0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
08FD CKSUM
EF01
FFFFFFFF
02 Data Packet
0082 Package Length
030148237000FF06FF06FC02F802F802F002F002F002F002F002F002F002F002E002E002C002C00000FFFFFFFFFFFFFFFFFFFFFF000000004B07883E3013479E3A9A1E3E3236447E640586D746A05DDF6C3AC1775941171F4A315BDC3EC29B7C3FA2469D32C3979D6C1A07BA6B9CDBBB6D231B783523E1D2572D81B848429938
2E45 CKSUM
EF01
FFFFFFFF
08 End of Data
0082 Package Length
3520C9935C2D9A765FAA9BD74B3959D76F9106CE6D129CD461A79B5439BD9AF461B62BAF383FC36F50339B53484040B3632E975064B027712BC197F157B19CAE283B5CEC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
205C CKSUM
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
-----------------------------------------------------------------------------------------------
Now from the user manual, on page 7 of user manual it is mentioned that CKSUM is equal to the arithmetic sum of package identifier, package length and all package contents. Overflowing bits are omitted.High byte is transferred first.
So I need help to know about what exactly is the fingerprint template in the output so that I can further process it. I am planning to extract the templates and store them on the database, but unable to figure out the exact code of template from the output I am getting.
(I have connected fingerprint module's Tx to Arduino pin 2 and module's Rx to pin 3 i.e. Arduino's Rx is at pin 2 and Tx at 3).
This is my first individual post in the forum, so please point out to the mistakes i might have made that can be avoided in future and forgive me.
Thank You