شحن مجاني للأوردرات فوق
1000 ج
رمضان كريم
High-Precision Biometric Recognition for Arduino and Microcontroller Projects
The AS608 is an advanced optical fingerprint sensor capable of storing up to 1,000 fingerprints with 0.001% false acceptance rate. Ideal for security systems, attendance trackers, and access control applications.
Key Features500 DPI optical resolution
Stores up to 1,000 fingerprints
<1 second recognition time
3.3V-5V TTL serial communication
| Sensor Type | Optical |
|---|---|
| Resolution | 500 DPI |
| Fingerprint Capacity | 1,000 templates |
| False Acceptance Rate | 0.001% |
| Interface | UART (TTL) |
| Operating Voltage | 3.3V – 5V DC |
| Current Draw | 120mA max during imaging |
| Dimensions | 56mm × 20mm × 21mm |

| Pin | Function | Arduino Connection |
|---|---|---|
| 1 (VCC) | Power (3.3V-5V) | 5V |
| 2 (GND) | Ground | GND |
| 3 (TX) | Serial Transmit | RX (D0) |
| 4 (RX) | Serial Receive | TX (D1) |
| 5 (Touch) | Finger detection | Any digital pin |

// Basic Connections: // VCC → 5V // GND → GND // TX → Arduino RX (D0) // RX → Arduino TX (D1) // Touch → D2 (optional)
#include <Adafruit_Fingerprint.h> #include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
void setup() {
Serial.begin(9600);
finger.begin(57600);
}
void enrollFingerprint(int id) {
int p = -1;
Serial.print("Waiting for valid finger to enroll #");
Serial.println(id);
while (p != FINGERPRINT_OK) {
p = finger.getImage();
if (p == FINGERPRINT_OK) {
Serial.println("Image taken");
} else {
Serial.println("Error");
}
}
p = finger.image2Tz(1);
if (p == FINGERPRINT_OK) {
Serial.println("Image converted");
} else {
Serial.println("Error");
return;
}
Serial.println("Remove finger");
delay(2000);
p = 0;
while (p != FINGERPRINT_NOFINGER) {
p = finger.getImage();
}
Serial.println("Place same finger again");
p = -1;
while (p != FINGERPRINT_OK) {
p = finger.getImage();
}
p = finger.image2Tz(2);
if (p == FINGERPRINT_OK) {
Serial.println("Image converted");
} else {
Serial.println("Error");
return;
}
p = finger.createModel();
if (p == FINGERPRINT_OK) {
Serial.println("Prints matched!");
} else {
Serial.println("Error");
return;
}
p = finger.storeModel(id);
if (p == FINGERPRINT_OK) {
Serial.println("Stored!");
} else {
Serial.println("Error");
}
}
int getFingerprintID() {
int p = finger.getImage();
if (p != FINGERPRINT_OK) return -1;
p = finger.image2Tz();
if (p != FINGERPRINT_OK) return -1;
p = finger.fingerFastSearch();
if (p != FINGERPRINT_OK) return -1;
Serial.print("Found ID #");
Serial.print(finger.fingerID);
Serial.print(" with confidence ");
Serial.println(finger.confidence);
return finger.fingerID;
}
No account yet?
Create an Account
Recent Comments