{"id":2416,"date":"2024-08-04T17:41:12","date_gmt":"2024-08-04T17:41:12","guid":{"rendered":"https:\/\/iotthinghub.com\/?p=2416"},"modified":"2024-08-12T13:00:16","modified_gmt":"2024-08-12T13:00:16","slug":"r307-fingerprint-module","status":"publish","type":"post","link":"https:\/\/iotthinghub.com\/?p=2416","title":{"rendered":"R307 Fingerprint Module"},"content":{"rendered":"\n<p class=\"has-text-color has-link-color wp-elements-915e98c776252d3f3238703ad9caea3e wp-block-paragraph\" style=\"color:#5c5c5c\">Biometric sensor has Hugh application in security, attendance etc. We use R307 Fingerprint Module. R307 Fingerprint Module consists of optical fingerprint sensor, high-speed DSP processor. Fingerprint processing includes two parts: fingerprint enrollment and fingerprint matching (the matching can be 1:1 or 1:N). When enrolling, user needs to enter the finger two times. The system will process the two time finger images, generate a template of the finger based on processing results and store the template. When matching, user enters the finger through optical sensor and system will generate a template of the finger and compare it with templates of the finger library. For 1:1 matching, system will compare the live finger with specific template designated in the Module; for 1:N matching, or searching, system will search the whole finger library for the matching finger. In both circumstances, system will return the matching result, success or failure. First look at the connection.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"297\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/R307-Finger-Module-1024x297.jpg\" alt=\"\" class=\"wp-image-2419\" style=\"width:779px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/R307-Finger-Module-1024x297.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/R307-Finger-Module-300x87.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/R307-Finger-Module-768x223.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/R307-Finger-Module.jpg 1422w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-e4b6b7bcb6434362ff101c03d7f509d7 wp-block-paragraph\" style=\"color:#5c5c5c\">It can support various baud rate 9600, 19200, 28800, 38400, 57600. Here the default baud rate 57600. The basic data packet format-<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"122\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-15-1024x122.jpg\" alt=\"\" class=\"wp-image-2421\" style=\"width:764px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-15-1024x122.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-15-300x36.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-15-768x92.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-15.jpg 1425w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-426933cdbf91fa1eac3fde8a966af268 wp-block-paragraph\" style=\"color:#5c5c5c\">Some of the important packets are-<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"88\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-16-1024x88.jpg\" alt=\"\" class=\"wp-image-2423\" style=\"width:756px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-16-1024x88.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-16-300x26.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-16-768x66.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-16.jpg 1269w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-00a38e0d8dfe9aab16b702194f94d1c3 wp-block-paragraph\" style=\"color:#5c5c5c\">To generate character file from image, we have BufferID of charBuffer1 address 1h and charBuffer2 address 2h. Both charBuffer1 &amp; charBuffer2 are size of 512bytes.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"147\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-17-1024x147.jpg\" alt=\"\" class=\"wp-image-2426\" style=\"width:759px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-17-1024x147.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-17-300x43.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-17-768x110.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-17.jpg 1265w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-46a9f38c408d8dba4c8cc3f18e45d079 wp-block-paragraph\" style=\"color:#5c5c5c\">To store the template in your desire ID is-<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"75\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-18-1024x75.jpg\" alt=\"\" class=\"wp-image-2427\" style=\"width:792px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-18-1024x75.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-18-300x22.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-18-768x56.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-18.jpg 1419w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-f9ddaea4fbd050d033cabce915c0ba42 wp-block-paragraph\" style=\"color:#5c5c5c\">Here buffer1 0x01 and buffer2 0x02. Page ID is your desire ID number, maximum number of ID = 1000.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"63\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-19-1024x63.jpg\" alt=\"\" class=\"wp-image-2428\" style=\"width:796px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-19-1024x63.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-19-300x18.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-19-768x47.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-19.jpg 1423w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"99\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-20-1024x99.jpg\" alt=\"\" class=\"wp-image-2429\" style=\"width:796px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-20-1024x99.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-20-300x29.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-20-768x74.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-20.jpg 1312w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-5e13545204fa535c994e22bf17ed9bf4 wp-block-paragraph\" style=\"color:#5c5c5c\">Acknowledge package format.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"87\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-21-1024x87.jpg\" alt=\"\" class=\"wp-image-2430\" style=\"width:800px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-21-1024x87.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-21-300x25.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-21-768x65.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-21.jpg 1417w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-022672fe4fe34bd4dc7c35223c8f7b01 wp-block-paragraph\" style=\"color:#5c5c5c\">Here the 9<sup>th<\/sup> bit represents the error or success. Loot at some error code-<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"403\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-22-1024x403.jpg\" alt=\"\" class=\"wp-image-2433\" style=\"width:795px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-22-1024x403.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-22-300x118.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-22-768x302.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-22.jpg 1399w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-ba531a2659f459351fe7a544d78e8334 wp-block-paragraph\" style=\"color:#5c5c5c\">There are some other errors that can be found from the datasheet. To use different function you need different steps.<\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-897c359399402bd14d726c98f965113e wp-block-paragraph\" style=\"color:#5c5c5c\">For Enroll your finger following steps are necessary-<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"340\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-9-1024x340.jpg\" alt=\"\" class=\"wp-image-2434\" style=\"width:795px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-9-1024x340.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-9-300x100.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-9-768x255.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-9.jpg 1356w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-332fa0e6b6ea50c89f34c6cb8e3a777e wp-block-paragraph\" style=\"color:#5c5c5c\">Using the above procedure you can store fingerprint data in any PageID. Now for searching your ID which is placed in finger sensor-<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"128\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-10-1024x128.jpg\" alt=\"\" class=\"wp-image-2435\" style=\"width:784px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-10-1024x128.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-10-300x37.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-10-768x96.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-10.jpg 1308w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"75\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-23-1024x75.jpg\" alt=\"\" class=\"wp-image-2436\" style=\"width:792px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-23-1024x75.jpg 1024w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-23-300x22.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-23-768x56.jpg 768w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/table-23.jpg 1421w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-e73298ca02914e2fdc1924e6f602d007 wp-block-paragraph\" style=\"color:#5c5c5c\">Here the 10<sup>th<\/sup> bit is Higher bit value and 11<sup>th<\/sup> bit s the Lower bit value. Those 2byte represent the match ID.<\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-bc88ecf10fd422b4fb0fe670688feb50 wp-block-paragraph\" style=\"color:#5c5c5c\">For delete a particular ID just send delete template command with Page ID (your desire ID) and number of template to be deleted 0x0001. i.e. for deleting ID = 1<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-color has-link-color has-medium-font-size wp-elements-58ebde08b90dc63e73b72ac66e2da3dc\" style=\"color:#6c8a97\">0xEF, 0x1, 0xFF, 0xFF, 0xFF, 0xFF, 0x1, 0x00, 0x7, 0xC, 0x0, 0x0, 0x0, 0x1, 0x0, 0x15<\/h2>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-4fe3816354764111af382cbe226615f6 wp-block-paragraph\" style=\"color:#5c5c5c\">For empty all library just send the empty command. i.e.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-color has-link-color has-medium-font-size wp-elements-e9a2e366bd81f47c17969321036c2b34\" style=\"color:#6c8a97\">0xEF, 0x1, 0xFF, 0xFF, 0xFF, 0xFF, 0x1, 0x00, 0x3,0xd,0x0,0x11<\/h2>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-a07ebee9262a671f401c06488f85db47 wp-block-paragraph\" style=\"color:#5c5c5c\">We use ATmega32 for fingerprint sensor interfacing. Use fuse bit for internal 8MHz oscillator setting. F_CPU 8MHz and baud rate 57600. LCD Connected to PORTB, PC0 pin for selection, PC1 for arrow \u2191 and PC2 arrow \u2193. There are four functions-<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"179\" src=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-11.jpg\" alt=\"\" class=\"wp-image-2443\" style=\"width:421px;height:auto\" srcset=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-11.jpg 820w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-11-300x65.jpg 300w, https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/function-11-768x168.jpg 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-7387b849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-3e41869c wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:16px\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/Finger-Print-Sensor.rar\" style=\"padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--40)\">download<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"has-text-color has-link-color has-medium-font-size wp-elements-16ebf82ef4b9878a78690d7af652880f wp-block-paragraph\" style=\"color:#252525\"><a href=\"https:\/\/iotthinghub.com\/wp-content\/uploads\/2024\/08\/Finger-Print-Sensor.rar\">Finger Print Sensor.rar<\/a><\/p>\n<\/div>\n<\/div>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-145b8214633ab4abf1b7cd2dd5206851 wp-block-paragraph\" style=\"color:#5c5c5c\">You can simulate in proteus COMPIM terminal. The terminal is same as PuTTy or realturm terminal. Just connect the F307 module with PC via CP2101 or similar device. Then in proteus change the COM port according to the COM port which the module connect then  you can see the real time working.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Biometric sensor has Hugh application in security, attendance etc. We use R307 Fingerprint Module. R307 Fingerprint Module consists of optical fingerprint sensor, high-speed DSP processor. Fingerprint processing includes two parts: fingerprint enrollment and fingerprint matching (the matching can be 1:1 or 1:N). When enrolling, user needs to enter the finger two times. The system will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-2416","post","type-post","status-publish","format-standard","hentry","category-uart"],"_links":{"self":[{"href":"https:\/\/iotthinghub.com\/index.php?rest_route=\/wp\/v2\/posts\/2416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iotthinghub.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iotthinghub.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iotthinghub.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iotthinghub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2416"}],"version-history":[{"count":11,"href":"https:\/\/iotthinghub.com\/index.php?rest_route=\/wp\/v2\/posts\/2416\/revisions"}],"predecessor-version":[{"id":2667,"href":"https:\/\/iotthinghub.com\/index.php?rest_route=\/wp\/v2\/posts\/2416\/revisions\/2667"}],"wp:attachment":[{"href":"https:\/\/iotthinghub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iotthinghub.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iotthinghub.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}