<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Timer Camera X with Fingerprint FPC1020A]]></title><description><![CDATA[<p dir="auto">Hi guys please im having ESP32 PSRAM Timer Camera X  and i bought Finger Print Sensor Unit (FPC1020A), please could someone help me create some test code if fingerprint sensor is working. Its connected  via Grove Cable. I cant make it work.... like im not getting any value .. Maybe i just doing some mistake with rx, tx. i just dont know how to make it</p>
<p dir="auto">using this #include "M5_FPC1020A.h" library.  #include "M5_FPC1020A.h"</p>
<p dir="auto">FingerPrint Finger;</p>
<p dir="auto">void setup() {<br />
Serial.begin(115200);<br />
delay(2000);</p>
<pre><code>Serial.println("FingerPrint Sensor Setup");


uint8_t rx = 16;
uint8_t tx = 17;

Finger.begin(&amp;Serial2, rx, tx);
</code></pre>
<p dir="auto">}</p>
<p dir="auto">void loop() {</p>
<pre><code>uint8_t addUserResult = Finger.fpm_addUser(1, 1);

if (addUserResult == ACK_SUCCESS) {
    Serial.println("User added successfully!");
} else {
    Serial.print("Failed to add user. Error code: ");
    Serial.println(addUserResult);
}

// Compare fingerprints

uint8_t compareResult = Finger.fpm_compareFinger();

if (compareResult == ACK_SUCCESS) {
    Serial.println("Fingerprints match!");
} else if (compareResult == ACK_NOUSER) {
    Serial.println("No fingerprints enrolled.");
} else if (compareResult == ACK_TIMEOUT) {
    Serial.println("Fingerprint matching timeout.");
} else {
    Serial.print("Fingerprints do not match. Error code: ");
    Serial.println(compareResult);
}

delay(10000); 
</code></pre>
<p dir="auto">}</p>
]]></description><link>https://community.m5stack.com/topic/6051/timer-camera-x-with-fingerprint-fpc1020a</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 16:47:06 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6051.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Feb 2024 11:00:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Timer Camera X with Fingerprint FPC1020A on Mon, 05 Feb 2024 15:09:51 GMT]]></title><description><![CDATA[<p dir="auto">and when I try to test 100x by putting my finger... I have Add user result: 0 but the chance is 1/100. So could it be the fingerprint unit is broken?<br />
User added successfully!<br />
RxBuf[0]: F5<br />
RxBuf[1]: 3<br />
RxBuf[2]: 0<br />
RxBuf[3]: 0<br />
RxBuf[4]: 0<br />
RxBuf[5]: 0<br />
RxBuf[6]: 3<br />
RxBuf[7]: F5<br />
RxBuf[8]: 0<br />
1</p>
]]></description><link>https://community.m5stack.com/post/23648</link><guid isPermaLink="true">https://community.m5stack.com/post/23648</guid><dc:creator><![CDATA[Lubos22]]></dc:creator><pubDate>Mon, 05 Feb 2024 15:09:51 GMT</pubDate></item><item><title><![CDATA[Reply to Timer Camera X with Fingerprint FPC1020A on Mon, 05 Feb 2024 15:00:50 GMT]]></title><description><![CDATA[<p dir="auto">void loop() {<br />
// Print the current add mode<br />
Serial.println(Finger.fpm_readAddMode());</p>
<p dir="auto">// Add a user with user number 21 and permission 1<br />
uint8_t addUserResult = Finger.fpm_addUser(21, 1);<br />
// Print the result of adding the user<br />
Serial.print("Add user result: ");<br />
Serial.println(addUserResult);</p>
<p dir="auto">// Print additional details for debugging<br />
for (int i = 0; i &lt; 9; i++) {<br />
Serial.print("RxBuf[");<br />
Serial.print(i);<br />
Serial.print("]: ");<br />
Serial.println(Finger.RxBuf[i], HEX);<br />
}</p>
<p dir="auto">output when the finger is not placed on the fingerprint:<br />
1<br />
Add user result: 1<br />
RxBuf[0]: FF<br />
RxBuf[1]: 0<br />
RxBuf[2]: 0<br />
RxBuf[3]: 0<br />
RxBuf[4]: 0<br />
RxBuf[5]: 0<br />
RxBuf[6]: 0<br />
RxBuf[7]: 0<br />
RxBuf[8]: 0</p>
<p dir="auto">output when the finger is placed on the fingerprint:<br />
Add user result: 1<br />
RxBuf[0]: FF<br />
RxBuf[1]: FF<br />
RxBuf[2]: FF<br />
RxBuf[3]: FF<br />
RxBuf[4]: FF<br />
RxBuf[5]: FF<br />
RxBuf[6]: FF<br />
RxBuf[7]: FF<br />
RxBuf[8]: 0</p>
]]></description><link>https://community.m5stack.com/post/23647</link><guid isPermaLink="true">https://community.m5stack.com/post/23647</guid><dc:creator><![CDATA[Lubos22]]></dc:creator><pubDate>Mon, 05 Feb 2024 15:00:50 GMT</pubDate></item><item><title><![CDATA[Reply to Timer Camera X with Fingerprint FPC1020A on Sun, 04 Feb 2024 18:23:34 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, Can anyone else help please?</p>
]]></description><link>https://community.m5stack.com/post/23633</link><guid isPermaLink="true">https://community.m5stack.com/post/23633</guid><dc:creator><![CDATA[Lubos22]]></dc:creator><pubDate>Sun, 04 Feb 2024 18:23:34 GMT</pubDate></item><item><title><![CDATA[Reply to Timer Camera X with Fingerprint FPC1020A on Sun, 04 Feb 2024 18:09:32 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/83880">@Lubos22</a></p>
<p dir="auto">unfortunately I do not have a fingerprint unit to test with so I cannot say what else might be wrong. Sorry.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/23632</link><guid isPermaLink="true">https://community.m5stack.com/post/23632</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 04 Feb 2024 18:09:32 GMT</pubDate></item><item><title><![CDATA[Reply to Timer Camera X with Fingerprint FPC1020A on Sun, 04 Feb 2024 16:20:52 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your reply. So should i just change rx and tx ?     uint8_t rx = 13;<br />
uint8_t tx = 4;    Because i tried that Failed to add user. Error code: 1</p>
<pre><code>No fingerprints enrolled.

Failed to add user. Error code: 1

No fingerprints enrolled.

Failed to add user. Error code: 1

Fingerprints do not match. Error code: 1.
</code></pre>
<p dir="auto">Dont know ... What to do please help.</p>
]]></description><link>https://community.m5stack.com/post/23629</link><guid isPermaLink="true">https://community.m5stack.com/post/23629</guid><dc:creator><![CDATA[Lubos22]]></dc:creator><pubDate>Sun, 04 Feb 2024 16:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to Timer Camera X with Fingerprint FPC1020A on Sun, 04 Feb 2024 15:17:01 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/83880">@Lubos22</a></p>
<p dir="auto">Timer Camera X Groove port is GPIO4 and GPIO13. See back of camera or pinmap <a href="https://docs.m5stack.com/en/unit/timercam_x" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/23628</link><guid isPermaLink="true">https://community.m5stack.com/post/23628</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 04 Feb 2024 15:17:01 GMT</pubDate></item></channel></rss>