Adafruit Fingerprint Sensor Library
Lets an Arduino talk to Adafruit’s TTL fingerprint sensor so you can enroll, search, and delete fingerprints in your hardware prototype.
- •You need on‑device biometric authentication for a lock, kiosk, or IoT device.
- •You want a low‑cost, offline alternative to cloud‑based face/voice ID.
- •You are building a prototype that must store up to 1,000 fingerprint templates locally.
// Enroll a fingerprint and print its ID
#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3); // RX, TX
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
void setup() {
Serial.begin(9600);
finger.begin(57600);
if (finger.verifyPassword()) Serial.println("Sensor ready");
else Serial.println("Wrong password");
}
void loop() {
Serial.println("Place finger to enroll");
getFingerprintEnroll();
while (1);
}
uint8_t getFingerprintEnroll() {
int p = -1;
Serial.print("Waiting for valid finger...");
while (p != FINGERPRINT_OK) { p = finger.getImage(); }
finger.image2Tz(1);
p = finger.createModel();
if (p != FINGERPRINT_OK) return p;
int id = finger.storeModel(1, 0); // store in slot 1
Serial.print("Stored as ID #"); Serial.println(id);
return id;
}Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/adafruit-fingerprint-sensor-library && curl -fsSL https://workflowstacks.com/api/skills/adafruit-fingerprint-sensor-library/claude-skill -o ~/.claude/skills/adafruit-fingerprint-sensor-library/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Adafruit Fingerprint Sensor Library is a small C++ project (~900 lines across 2 code files). Setup is light: small project — see the README for how to run it. Last commit 6 months ago, Other license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2examples/Leo_passthru/.uno.test.skipA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/adafruit-fingerprint-sensor-library && curl -fsSL https://workflowstacks.com/api/skills/adafruit-fingerprint-sensor-library/claude-skill -o ~/.claude/skills/adafruit-fingerprint-sensor-library/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More ai-agent tools founders pair with this one.