Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Print Service
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Security & Surveillance

Fingerprint Sensor AS608: Door Lock Access with Arduino

Fingerprint Sensor AS608: Door Lock Access with Arduino

March 11, 2026 /Posted byJayesh Jain / 0

Table of Contents

  • AS608 Overview
  • Hardware and Wiring
  • Enrolment Code
  • Verification Code
  • Door Lock Options
  • Security Tips
  • FAQ

AS608 Overview

The fingerprint sensor AS608 door lock with Arduino provides reliable biometric access control at an affordable price. The AS608 optical module stores up to 162 fingerprint templates in onboard flash, verifies identity in under 1 second, and interfaces with Arduino via UART at 57600 baud. It is widely available in India for Rs 250-600 and works with the Adafruit Fingerprint library without additional dependencies.

Key specifications: 500 DPI optical sensor, FAR (False Acceptance Rate) under 0.001% at security level 3, FRR (False Rejection Rate) under 0.1%, supply voltage 3.6-6V (5V from Arduino is safe). Variants sold as R305 and GT-511C3 in Indian electronics markets are functionally identical.

Recommended: MH-SR602 Mini Motion Sensor – Add PIR motion sensor to wake the fingerprint lock from sleep mode when someone approaches the door.
Recommended: Tiny RTC DS1307 I2C Module – RTC module for logging access events with precise timestamps – useful for office security audit trails.

Hardware and Wiring

Components: Arduino Uno or Nano, AS608 fingerprint module, I2C LCD 16×2, 5V relay module, 12V solenoid lock (Rs 300-600), 12V power supply for lock, green/red LEDs, momentary push button (enrolment mode).

AS608 wiring to Arduino:

  • AS608 TXD to Arduino D2 (SoftwareSerial RX)
  • AS608 RXD to Arduino D3 (SoftwareSerial TX)
  • AS608 VCC to 5V, GND to GND
  • AS608 Wakeup to 3.3V (keep module active)
  • Relay IN to D8, solenoid lock between relay COM and 12V supply

Enrolment Code

#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>

SoftwareSerial mySerial(2, 3);
Adafruit_Fingerprint finger(&mySerial);
uint8_t id = 1; // Slot 1-162

uint8_t enrollFinger() {
  int p = -1;
  Serial.println("Place finger on sensor...");
  while(p != FINGERPRINT_OK) p = finger.getImage();
  p = finger.image2Tz(1);
  if(p != FINGERPRINT_OK) return p;
  Serial.println("Remove finger"); delay(2000);
  while(finger.getImage() != FINGERPRINT_NOFINGER);
  Serial.println("Place same finger again");
  p = -1;
  while(p != FINGERPRINT_OK) p = finger.getImage();
  p = finger.image2Tz(2);
  if(p != FINGERPRINT_OK) return p;
  p = finger.createModel();
  if(p != FINGERPRINT_OK) { Serial.println("No match!"); return p; }
  p = finger.storeModel(id);
  if(p == FINGERPRINT_OK) Serial.println("Stored!");
  return p;
}

void setup() {
  Serial.begin(9600);
  finger.begin(57600);
  if(finger.verifyPassword()) Serial.println("AS608 found!");
  enrollFinger();
}
void loop() {}

Verification Code

#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>
#include <LiquidCrystal_I2C.h>

SoftwareSerial mySerial(2, 3);
Adafruit_Fingerprint finger(&mySerial);
LiquidCrystal_I2C lcd(0x27, 16, 2);

#define RELAY_PIN 8
#define GREEN_LED 9
#define RED_LED   10

void setup() {
  finger.begin(57600); lcd.init(); lcd.backlight();
  pinMode(RELAY_PIN,OUTPUT); digitalWrite(RELAY_PIN,HIGH);
  lcd.print("Place Finger...");
}

void loop() {
  uint8_t p = finger.getImage();
  if(p != FINGERPRINT_OK) return;
  p = finger.image2Tz();
  if(p != FINGERPRINT_OK) return;
  p = finger.fingerFastSearch();

  if(p == FINGERPRINT_OK && finger.confidence > 50) {
    lcd.clear(); lcd.print("Access Granted");
    lcd.setCursor(0,1); lcd.print("ID: "); lcd.print(finger.fingerID);
    digitalWrite(GREEN_LED,HIGH);
    digitalWrite(RELAY_PIN,LOW); delay(5000);
    digitalWrite(RELAY_PIN,HIGH); digitalWrite(GREEN_LED,LOW);
  } else {
    lcd.clear(); lcd.print("Access Denied");
    digitalWrite(RED_LED,HIGH); delay(2000);
    digitalWrite(RED_LED,LOW);
  }
  lcd.clear(); lcd.print("Place Finger...");
  delay(50);
}

Door Lock Options

Lock Type Fail Mode Best For Indian Cost
12V Solenoid bolt Fail-secure (stays locked) Internal doors Rs 300-600
Electric strike plate Fail-safe (opens on power loss) Emergency exits Rs 800-1,500
Motorised deadbolt Configurable Main entrance Rs 2,000-5,000
Electromagnetic mag-lock Fail-safe Office swing doors Rs 1,200-2,500

Security Tips

  • Use fail-secure solenoid locks so power cuts do not open your door
  • Add 12V 2Ah SLA backup battery on lock power supply for 2-4 hour backup
  • Enrol both thumb and at least one index finger per person as backup
  • Add a PIN keypad fallback for wet or injured finger situations
  • Log all access attempts to SD card with DS3231 timestamps
Recommended: ESP32 LoRa SX1278 OLED WiFi Module – Add ESP32 for Telegram/WhatsApp push notifications when fingerprint access is granted or denied.

Frequently Asked Questions

How many fingerprints does the AS608 store?

The standard AS608 stores 162 templates – sufficient for a family home with multiple fingers per person enrolled. For larger office use (50+ people), the R503 or ZFM-20 modules store 200-1000 templates using the same Adafruit Fingerprint library.

Does it work for children and elderly people?

Children under 8 and elderly above 70 have finer ridges that challenge optical sensors. Enrol 2-3 attempts per person, always use clean dry fingers. Provide a PIN keypad fallback for young children. The AS608 works reliably for most Indian adults.

Can someone clone the fingerprint data?

AS608 stores mathematical minutiae templates, not fingerprint images – these cannot be reverse-engineered to recreate a fingerprint. The UART wiring could be sniffed if physically accessible; route wiring through door frame conduit to prevent access.

What happens during Indian power cuts?

A fail-secure solenoid stays locked (safe) but no entry is possible. Add a 12V 2Ah SLA battery as UPS – typical 1-4 hour Indian power cuts are well within its capacity. Indian power cuts most commonly occur in summer afternoons in urban areas.

How do I delete a fingerprint from the AS608?

Use finger.deleteModel(id) to delete one template or finger.emptyDatabase() to clear all. Always maintain a physical key or PIN backup when clearing the fingerprint database – avoid situations where you have no entry option during reprogramming.

Shop Security & Surveillance at Zbotic

Tags: AS608 tutorial, biometric access control, door lock Arduino, fingerprint lock India, fingerprint sensor AS608
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
Solar Inverter Buying Guide: S...
blog solar inverter buying guide string vs micro vs hybrid india 599011
blog microcontroller sleep mode reduce esp32 and stm32 power use 599014
Microcontroller Sleep Mode: Re...

Related posts

Svg%3E
Read more

Trail Camera: Wildlife and Property Monitoring India

April 1, 2026 0
Table of Contents Trail Cameras for Indian Wildlife PIR-Triggered Camera Design ESP32-CAM Configuration for Trail Use Night Vision with IR... Continue reading
Svg%3E
Read more

Solar Powered Security Camera: Off-Grid Surveillance

April 1, 2026 0
Table of Contents Off-Grid Surveillance Needs in India Solar Panel and Battery Sizing Power Management Circuit ESP32-CAM Low Power Optimisation... Continue reading
Svg%3E
Read more

Remote Viewing Setup: Access Cameras from Anywhere

April 1, 2026 0
Table of Contents Remote Viewing Options P2P Cloud vs Port Forwarding Dynamic DNS Setup VPN for Secure Access Mobile App... Continue reading
Svg%3E
Read more

Motion Detection Zones: Reduce False Alarms

April 1, 2026 0
Table of Contents The False Alarm Problem How Motion Detection Works in Cameras Setting Detection Zones Sensitivity Adjustment Object Size... Continue reading
Svg%3E
Read more

Security Camera Placement: Best Positions for Coverage

April 1, 2026 0
Table of Contents Camera Placement Principles Height and Angle Guidelines Coverage Overlap Strategy Indian Home Layouts Commercial Property Placement Avoiding... Continue reading

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Technical Supports Email: [email protected]
For Sales / Enquiries Email: [email protected]

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now