AS608 Optical Fingerprint Sensor Fingerprint Module Mărește

Imaginile sunt utilizate exclusiv cu titlu de prezentare. Fotografiile nu creează obligații contractuale.

Modul Senzor Optic de Amprenta AS608

0104110000087430

Produs nou

  1. Resolution: 500dpi
  2. Supply current: <60mA
  3. Supply voltage: 3.3V
  4. Fingerprint image entry time: < 1.0 seconds
  5. Peak current: <60mA


See description for more details about the product.

Add to cart now!

More details

22 bucati in stoc

$16.80
cu toate taxele incluse

Valabil în limita stocului disponibil

Prețul include costurile colectării, tratării și eliminării DEEE și DBAT

Informații

Description

This is AS608 Optical Fingerprint Sensor Fingerprint Module.

The fingerprint algorithm extracts features from the acquired fingerprint image and represents the fingerprint information. The storage, comparison, and search of fingerprints are all done by operating fingerprint features.

Fingerprint processing includes two processes: fingerprint registration process and fingerprint matching process (in which fingerprint matching is divided into fingerprint comparison (1:1) and fingerprint search (1:N) two ways).

When the fingerprint is registered, two fingerprints are entered for each fingerprint, and the input image is processed twice. The synthesis module is stored in the module.

When the fingerprint is matched, the fingerprint sensor is used to input the fingerprint image to be verified and processed, and then it is compared with the fingerprint module in the module (if it is matched with a module specified in the module, it is called fingerprint comparison mode, ie, 1:1 mode. If matching with multiple modules is called fingerprint search, ie 1:N mode, the module gives the matching result (pass or fail).

Low power consumption, low cost, small size, excellent performance, Professional optical technology, precise module manufacturing technics. Good image processing capabilities can successfully capture an image up to resolution 500 dpi Finger detection function.


Code for Fingerprint:

*/
#include <Fingerprint.h>

SoftwareSerial mySerial(2, 3); // TX/RX

Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);

uint8_t id;

void setup()  
{
  Serial.begin(9600);
  while (!Serial);  // For Yun/Leo/Micro/Zero/...
  delay(100);
  Serial.println("nnAdafruit Fingerprint sensor enrollment");

  // set the data rate for the sensor serial port
  finger.begin(57600);
  
  if (finger.verifyPassword()) {
    Serial.println("Found fingerprint sensor!");
  } else {
    Serial.println("Did not find fingerprint sensor :(");
    while (1) { delay(1); }
  }
}

uint8_t readnumber(void) {
  uint8_t num = 0;
  
  while (num == 0) {
    while (! Serial.available());
    num = Serial.parseInt();
  }
  return num;
}

void loop()                     // run over and over again
{
  Serial.println("Ready to enroll a fingerprint!");
  Serial.println("Please type in the ID # (from 1 to 127) you want to save this finger as...");
  id = readnumber();
  if (id == 0) {// ID #0 not allowed, try again!
     return;
  }
  Serial.print("Enrolling ID #");
  Serial.println(id);
  
  while (!  getFingerprintEnroll() );
}

uint8_t getFingerprintEnroll() {

  int p = -1;
  Serial.print("Waiting for valid finger to enroll as #"); Serial.println(id);
  while (p != FINGERPRINT_OK) {
    p = finger.getImage();
    switch (p) {
    case FINGERPRINT_OK:
      Serial.println("Image taken");
      break;
    case FINGERPRINT_NOFINGER:
      break;
    case FINGERPRINT_PACKETRECIEVEERR:
      Serial.println("Communication error");
      break;
    case FINGERPRINT_IMAGEFAIL:
      Serial.println("Imaging error");
      break;
    default:
      Serial.println("Unknown error");
      break;
    }
  }

  // OK success!

  p = finger.image2Tz(1);
  switch (p) {
    case FINGERPRINT_OK:
      Serial.println("Image converted");
      break;
    case FINGERPRINT_IMAGEMESS:
      Serial.println("Image too messy");
      return p;
    case FINGERPRINT_PACKETRECIEVEERR:
      Serial.println("Communication error");
      return p;
    case FINGERPRINT_FEATUREFAIL:
      Serial.println("Could not find fingerprint features");
      return p;
    case FINGERPRINT_INVALIDIMAGE:
      Serial.println("Could not find fingerprint features");
      return p;
    default:
      Serial.println("Unknown error");
      return p;
  }
  
  Serial.println("Remove finger");
  delay(2000);
  p = 0;
  while (p != FINGERPRINT_NOFINGER) {
    p = finger.getImage();
  }
  Serial.print("ID "); Serial.println(id);
  p = -1;
  Serial.println("Place same finger again");
  while (p != FINGERPRINT_OK) {
    p = finger.getImage();
    switch (p) {
    case FINGERPRINT_OK:
      Serial.println("Image taken");
      break;
    case FINGERPRINT_NOFINGER:
      break;
    case FINGERPRINT_PACKETRECIEVEERR:
      Serial.println("Communication error");
      break;
    case FINGERPRINT_IMAGEFAIL:
      Serial.println("Imaging error");
      break;
    default:
      Serial.println("Unknown error");
      break;
    }
  }

  // OK success!

  p = finger.image2Tz(2);
  switch (p) {
    case FINGERPRINT_OK:
      Serial.println("Image converted");
      break;
    case FINGERPRINT_IMAGEMESS:
      Serial.println("Image too messy");
      return p;
    case FINGERPRINT_PACKETRECIEVEERR:
      Serial.println("Communication error");
      return p;
    case FINGERPRINT_FEATUREFAIL:
      Serial.println("Could not find fingerprint features");
      return p;
    case FINGERPRINT_INVALIDIMAGE:
      Serial.println("Could not find fingerprint features");
      return p;
    default:
      Serial.println("Unknown error");
      return p;
  }
  
  // OK converted!
  Serial.print("Creating model for #");  Serial.println(id);
  
  p = finger.createModel();
  if (p == FINGERPRINT_OK) {
    Serial.println("Prints matched!");
  } else if (p == FINGERPRINT_PACKETRECIEVEERR) {
    Serial.println("Communication error");
    return p;
  } else if (p == FINGERPRINT_ENROLLMISMATCH) {
    Serial.println("Fingerprints did not match");
    return p;
  } else {
    Serial.println("Unknown error");
    return p;
  }   
  
  Serial.print("ID "); Serial.println(id);
  p = finger.storeModel(id);
  if (p == FINGERPRINT_OK) {
    Serial.println("Stored!");
  } else if (p == FINGERPRINT_PACKETRECIEVEERR) {
    Serial.println("Communication error");
    return p;
  } else if (p == FINGERPRINT_BADLOCATION) {
    Serial.println("Could not store in that location");
    return p;
  } else if (p == FINGERPRINT_FLASHERR) {
    Serial.println("Error writing to flash");
    return p;
  } else {
    Serial.println("Unknown error");
    return p;
  }   
}

Features:

  1. Integrated image collecting and algorithm chip together, ALL-in-One.
  2. The fingerprint reader can conduct secondary development, can be embedded into a variety of end products.
  3. Low power consumption, low cost, small size, excellent performance.
  4. Resolution: 500dpi
  5. Fingerprint image entry time: <1.0 seconds
  6. Window area: 15.3×18.2MM
  7. Communication Interface: USB/UART

Specifications

  • Supply current: <60mA
  • Supply voltage: 3.3V
  • Peak current: <60mA
  • Length (mm): 46
  • Width (mm): 21
  • Height (mm): 24

Package Includes:

1 x AS608 Optical Fingerprint Sensor Fingerprint Module

1 x Connecting Cable(8-pin).


Don't delay. Buy today.


Add to cart now!

Recenzii

Scrie o recenzie

Modul Senzor Optic de Amprenta AS608

Modul Senzor Optic de Amprenta AS608

  1. Resolution: 500dpi
  2. Supply current: <60mA
  3. Supply voltage: 3.3V
  4. Fingerprint image entry time: < 1.0 seconds
  5. Peak current: <60mA


See description for more details about the product.

Add to cart now!

Clienții care au cumpărat acest produs au mai cumpărat:

Descărcări