Home
About Us
Achievement
Feedback Form
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 | Arduino Project
Just Do Electronics
January 04, 2020
How to Make Fingerprint Door Lock | Arduino Project
CirCuit Diagram :-
Finger Reader Sensor
Code :-
//Prateek Singh //www.prateeks.in #include
#include
#include
#include
SoftwareSerial mySerial(2, 3); //Serial Communications //Created instances LiquidCrystal_I2C lcd(0x27, 16, 2); Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial); int relayPin = 9; void setup() { pinMode(relayPin, OUTPUT); digitalWrite(relayPin, LOW); Serial.begin(9600); while (!Serial); delay(100); lcd.begin(); lcd.setCursor(0, 0); lcd.print("Fingerprint Door"); lcd.setCursor(0, 1); lcd.print("lock by prateek"); delay(3000); lcd.clear(); // set the data rate for the sensor serial port finger.begin(57600); if (finger.verifyPassword()) { lcd.setCursor(0, 0); lcd.print(" FingerPrint "); lcd.setCursor(0, 1); lcd.print("Sensor Connected"); } else { lcd.setCursor(0, 0); lcd.print("Unable to found"); lcd.setCursor(0, 1); lcd.print("Sensor"); delay(3000); lcd.clear(); lcd.setCursor(0, 0); lcd.print("Check Connections"); while (1) { delay(1); } } lcd.clear(); } void loop() // run over and over again { getFingerprintIDez(); delay(50); //don't need to run this at full speed. } // returns -1 if failed, otherwise returns ID # int getFingerprintIDez() { uint8_t p = finger.getImage(); if (p != FINGERPRINT_OK) { lcd.setCursor(0, 0); lcd.print(" Waiting For"); lcd.setCursor(0, 1); lcd.print(" Valid Finger"); return -1; } p = finger.image2Tz(); if (p != FINGERPRINT_OK) { lcd.clear(); lcd.setCursor(0, 0); lcd.print(" Messy Image"); lcd.setCursor(0, 1); lcd.print(" Try Again"); delay(3000); lcd.clear(); return -1; } p = finger.fingerFastSearch(); if (p != FINGERPRINT_OK) { lcd.clear(); lcd.setCursor(0, 0); lcd.print("Not Valid Finger"); delay(3000); lcd.clear(); return -1; } // found a match! lcd.clear(); lcd.setCursor(0, 0); lcd.print(" Door Unlocked"); lcd.setCursor(0, 1); lcd.print(" Welcome"); digitalWrite(relayPin, HIGH); delay(3000); digitalWrite(relayPin, LOW); lcd.clear(); return finger.fingerID; }
3 Comments
Unknown
19 July 2020 at 13:37
thank you a lot :)))
Reply
Delete
Replies
Reply
Unknown
27 August 2020 at 22:28
Haloo plzz give your phone number
Reply
Delete
Replies
Reply
Anonymous
22 April 2022 at 14:36
Hello i have queries related to code
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer
Older
Arduino Gps And Gsm Based location Tracking System
Smart Trolley Using RFID And Arduino Nano
Ultrasonic Sensor as a Counter with Arduino
Smart Shopping Cart using RFID and NodeMCU
Build Your Own Gps Tracking System using Arduino
IoT Based Fingerprint Biometric Attendance System Using NodeMCU (Esp8266)
OTP Based Door Lock Using Arduino And SIM800L
GSM + GPS Based Vehicle Location Tracking System
Car Parking System Using Arduino
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
3 Comments
thank you a lot :)))
ReplyDeleteHaloo plzz give your phone number
ReplyDeleteHello i have queries related to code
ReplyDelete