Home
About Us
Achievement
Home
Raspberry-Pi Projects
_Raspberry Pi 4 Complete Guide
Arduino Project
_All Projects
Esp8266 Project
_All Projects
Esp32 Project
_Automation-with-feedback
Make Fingerprint Door Lock
Just Do Electronics
April 20, 2020
How to Make Fingerprint Door Lock at Home
Circuit Diagram :-
Code :-
//Prateek //www.prateeks.in #include
#include
int electronic_lock = 10; SoftwareSerial mySerial(2, 3);// Tx, Rx Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial); void setup() { pinMode(7, OUTPUT); Serial.begin(9600); while (!Serial); delay(100); // 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); } } finger.getTemplateCount(); Serial.print("Sensor contains "); Serial.print(finger.templateCount); Serial.println(" template(s)"); Serial.println("Waiting for valid finger..."); } void loop() // run over and over again { getFingerprintIDez(); delay(50); //don't ned to run this at full speed. } int getFingerprintIDez() { uint8_t 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; // found a match! Serial.print("Found ID #"); Serial.print(finger.fingerID); Serial.print(" with confidence of "); Serial.println(finger.confidence); digitalWrite(electronic_lock, HIGH); delay(5000); //Change the door lock delay from here digitalWrite(electronic_lock, LOW); Serial.println("Unlocked"); return finger.fingerID; }
0 Comments
Newer
Older
GSM + GPS Based Vehicle Location Tracking System
Smart Shopping Cart using RFID and NodeMCU
Build Your Own Gps Tracking System using Arduino
Sign Language to Speech Conversion using Arduino With Flex Sensor
IoT Based Fingerprint Biometric Attendance System Using NodeMCU (Esp8266)
RFID Based Automated Toll Collection System Using Arduino
Ultrasonic Sensor as a Counter with Arduino
Car Parking System Using Arduino
ESP32 And Fingerprint Sensor Based Biometric Door Lock Security System
Automatic Fan Controlled Using Temperature Sensor
YouTube
Like on Facebook
Follow on Twitter
Follow on Google+
Follow on Instagram
Subscribe on Youtube
Hi WelCome To My Website If you have a creative mind and want to learn Electronics even without studying it then FRIENDS this Website And Youtube Channel is for you, I am crazy creators who love making Electronics things. I have a bunch of more than 130 Tutorial Videos on My YouTube Channel and I upload a new Tutorial every Sunday.
Tags
Arduino Project
Esp32 Project
Esp8266 Project
0 Comments