I’m facing an error with the Adafruit R305 fingerprint sensor.
I’m making a voting machine that starts with scan a valid finger that enrolled previously. After finding a valid match the code permits the voter to put a vote. Then putting a vote by pressing some buttons, the voter needs to scan finger again to complete the vote.
The problem is, the code getting unknown fingerprint and allows anyone to put a vote even that finger is not enrolled. Means if any other person put a finger on the sensor that was not enrolled before, the code still returns a valid ID (randomly) those are enrolled before.
Note: I’m not an expert in Arduino platform. My code took 1088 lines for this program! So putting the entire code here should not be a good idea! But if anyone needs to see the code please go to this link. I’ve uploaded it on my Google doc.