Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.2.1: Major rewrite and new features (data download) #54

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9a6b214
Update README.md
Fasgort Mar 25, 2018
13ff92a
Implemented Data_Packet and the required methods to send it over Serial.
Fasgort Apr 7, 2018
e23aeac
Implemented methods GetImage() and GetRawImage().
Fasgort Apr 7, 2018
4d01c32
Updated library info.
Fasgort Apr 7, 2018
8e5fe6a
Bugfix.
Fasgort Apr 8, 2018
385d74b
Moved implemented methods to the correct section.
Fasgort Apr 8, 2018
925db68
Bugfix in ChangeBaudRate. NOTE: Something is not right yet. Further d…
Fasgort Apr 8, 2018
400ff3b
- Changed variable types to fixed types.
Fasgort Apr 8, 2018
3d488cb
API extended with a new function: You can now call the FPS constructo…
Fasgort Apr 8, 2018
e200f8a
Further fixes to data download:
Fasgort Apr 9, 2018
ae59956
A few little fixes. Tested GetImage(), and it works as correct as Get…
Fasgort Apr 9, 2018
a8fcb04
V1.2.0 Release: Implemented Data_Packet and methods GetImage() and Ge…
Fasgort Apr 9, 2018
daa1288
Little fix to align data packets.
Fasgort Apr 9, 2018
55863f8
- Implemented GetTemplate() and SetTemplate() methods.
Fasgort Apr 11, 2018
b653dbd
Enabled checksum methods. Seems like they don't slow down the data do…
Fasgort Apr 11, 2018
4181d4d
Some patches over GetImage() method. This is completely broken. Check…
Fasgort Apr 11, 2018
1e7e688
V1.2.1 Release: Implemented GetTemplate() and SetTemplate() methods. …
Fasgort Apr 11, 2018
a02d648
A few memory optimizations, specially if you decided not to use the D…
Fasgort Oct 29, 2018
d831fcd
Switch to 64 bytes packets, since that's the default serial buffer size.
Fasgort Nov 28, 2018
0f67779
Since the template doesn't require much memory storage (500 bytes wil…
Fasgort Nov 28, 2018
c3b7a71
A few optimizations and some deleted obsolete code.
Fasgort Nov 28, 2018
1a16661
Debug methods won't use that much memory anymore (they were spending …
Fasgort Nov 28, 2018
9621942
V1.2.2 Release: Implemented GetTemplate() additional method that allo…
Fasgort Nov 28, 2018
41e37ca
Updated library properties for pull request.
Fasgort Apr 11, 2018
2b91762
Merge branch 'master' into dev
Fasgort Nov 28, 2018
7897efb
Fixed SetTemplate method and cleaned up a bit the code.
Fasgort Dec 9, 2018
a55b22f
V1.2.2 Hotfix: Fixed SetTemplate() method.
Fasgort Dec 9, 2018
e82aa34
Updated to latest version (V1.2.2 HOTFIX).
Fasgort Dec 9, 2018
1b1afce
Fixed an impossible value for an undefined error in SetTemplate() met…
Fasgort Dec 9, 2018
032ed6d
HOTFIX: Fixed memory leak in SetTemplate() method.
Fasgort Dec 21, 2018
d9ac1bb
HOTFIX: Fixed bug in the enroll process, where any error in the Enrol…
Fasgort Feb 22, 2019
9dfcc08
Fixed memory issues.
Fasgort Jul 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions examples/FPS_Enroll/FPS_Enroll.ino
Original file line number Diff line number Diff line change
Expand Up @@ -101,20 +101,20 @@ void Enroll()
if (bret != false)
{
Serial.println("Remove finger");
fps.Enroll1();
iret = fps.Enroll1();
while(fps.IsPressFinger() == true) delay(100);
Serial.println("Press same finger again");
while(fps.IsPressFinger() == false) delay(100);
bret = fps.CaptureFinger(true);
if (bret != false)
if (bret != false && !iret)
{
Serial.println("Remove finger");
fps.Enroll2();
iret = fps.Enroll2();
while(fps.IsPressFinger() == true) delay(100);
Serial.println("Press same finger yet again");
while(fps.IsPressFinger() == false) delay(100);
bret = fps.CaptureFinger(true);
if (bret != false)
if (bret != false && !iret)
{
Serial.println("Remove finger");
iret = fps.Enroll3();
Expand All @@ -128,8 +128,18 @@ void Enroll()
Serial.println(iret);
}
}
else if (iret)
{
Serial.print("Enrolling Failed with error code:");
Serial.println(iret);
}
else Serial.println("Failed to capture third finger");
}
else if (iret)
{
Serial.print("Enrolling Failed with error code:");
Serial.println(iret);
}
else Serial.println("Failed to capture second finger");
}
else Serial.println("Failed to capture first finger");
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "https://github.com/sparkfun/Fingerprint_Scanner-TTL.git"
},
"version": "1.1.1",
"version": "1.2.2",
"frameworks": "arduino",
"platforms": "atmelavr"
}
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name=Fingerprint Scanner TTL
version=1.1.0
author=Josh Hawley
version=1.2.2
author=Josh Hawley, modified by David López Chica
maintainer=SparkFun Electronics
sentence=Arduino examples for ADH-Tech's Fingerprint Scanners.
paragraph=This is a great fingerprint module from ADH-Tech that communicates over 3.3V TTL Serial so you can easily embed it into your next project. This repository contains Arduino example code to work with it. This code has been tested with GT-521F32, GT-521F52, GT-511C3, and GT-511C1R.
Expand Down
Loading