SOFTWARE REQUIRED
Arduino IDE 1.8.5 (programmable platform for Arduino)
Click To Download :https://www.arduino.cc/en/Main/Software
INSTALL LIBRARY
For servo Motor: inbuilt library of Arduino or Download from https://drive.google.com/drive/folders/1XEyFZik_ENYtE4LOf3mOP3kqfqH3FNh2
16*2 LCD Display (Liquid Display):Â inbuilt library of Arduino
GT511C fingerprint Scanner:Â Click on this link to download this library:Â https://drive.google.com/open?id=1g3E45sI85X5k6p8wPOYKOTOs_ST3xxJg
CIRCUIT CONNECTION
- Connect the GT511 Fingerprint scanner to arduino with fingerprint scanner’s red wire to 3.3v of Arduino uno
- Black wire of fingerprint scanner to arduino uno’s ground pin
- Green wire of fingerprint scanner toarduino uno’s digital pin D7
- White wire of Fingerprint scanner to Arduino’s digital pin D8
Download the code given in the link below:
CODE-1
Click to see the code or copy the link
#include <SoftwareSerial.h>
 //need a serial port to communicate with the GT-511C1
Â
SoftwareSerial gtSerial(8,7);Â // Arduino RX (GT TX), Arduino TX (GT RX)
Â
 void setup (){
 Serial.begin(9600);   //serial connection to processing app.
 gtSerial.begin(9600);  //for communicating with the GT-551C1
 }
Â
 byte rx_byte=0;      //stores recieved byte
Â
 void loop(){
  if(Serial.available()){
 Â
   //get byte from processing app. and send to FPS
  rx_byte=Serial.read();
  gtSerial.write(rx_byte);
 Â
  }
Â
  //chech for a byte from the GT-511C1
Â
  if(gtSerial.available()){
 Â
   //get a byte from thw FPS and send it to the processing app.
  rx_byte=gtSerial.read();
  Serial.write(rx_byte);
 Â
  }
 }
Now upload code 1
set the fingerprints using sdk software
Download the SDK Software:
The image will be shown as given below:
when open as administrator then set com port and baud rate then enroll fingerprint upto 200 fingerprints as required.
- Now connect the lcd to the breadboard
- Connect pin 1 of LCD to ground
- Connect pin 2 of LCD to positive rail on breadboard
- Connect pin 3 of LCD to negative rail on breadboard
- Connect pin 4 of LCD to digital pin 12 of arduino uno
- Connect pin 5 of LCD to negative rail on breadboard
- Connect pin 6 of LCD to pin 11 of arduino uno
- Connect pin 11 of LCD to pin 5 of arduino uno
- Connect pin 12 of LCD to pin 4 of arduino uno
- Connect pin 13 of LCD to pin 3 of arduino uno
- Connect pin 14 of LCD to pin 2 of arduino uno
- Connect pin 15 of LCD to positive rail on breadboard
- Connect pin 16 of LCD to negative rail on breadboard
- Connect to breadboard with positive and negative rail
- Connect a 100uf capacitor to the breadboard between Positive and negative rail
- Now connect a servo motor
- Connect orange wire of fingerprint scanner goes to pin 10 of arduino uno
- Connect red wire to positive rail on breadboard and brown wire to negative rail on breadboard.
Now upload code 2
Click to download the code
CODE-2
Click to download the code or copy the link
#include <Servo.h>Â // install from arduino’s library
Â
#include <LiquidCrystal.h>Â // install from arduino’s library
Â
#include “FPS_GT511C3.h”
#include “SoftwareSerial.h”
Â
// Hardware setup – FPS connected to:
// Â Â digital pin 4(arduino rx, fps tx)
// Â Â digital pin 5(arduino tx – 560ohm resistor – fps tx – 1000ohm resistor – ground)
// Â Â Â this voltage divider brings the 5v tx line down to about 3.2v so we dont fry our fps
Â
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
FPS_GT511C3 fps(8, 7);
Servo myServo;
Â
void setup()
{
 lcd.begin(16, 2);
 lcd.clear();
 Serial.begin(9600);
 delay(1000);
 fps.Open();
 fps.SetLED(true);
 myServo.attach(10);
}
Â
void loop()
{
Â
 lcd.clear();
  // Identify fingerprint test
  if (fps.IsPressFinger())
  {
  fps.CaptureFinger(false);
   int id = fps.Identify1_N();
   if (id < 200)
   {
   lcd.print(“Welcome ID:”);
   lcd.print(id);
   delay(1000);
   Serial.print(“Verified ID:”);
   Serial.println(id);
   myServo.attach(10);
Â
   myServo.write(0);
   delay(2000);
   myServo.detach();
   delay(2000);
Â
   myServo.attach(10);
Â
   myServo.write(179);
   delay(2000);
   myServo.detach();
   delay(2000);
Â
   }
   else
   {
   lcd.clear();
   lcd.print(“Finger not”);
   lcd.setCursor(2, 1);
   lcd.print(“found”);
   delay(1000);
   Serial.println(“Finger not found”);
   }
  }
  else
  {
  lcd.clear();
  lcd.print(“Please press”);
  lcd.setCursor(2, 1);
  lcd.print(“Finger”);
  delay(1000);
  Serial.println(“Please press finger”);
  }
 delay(100);
}
WORKING
In this security system using fingerprint sensor we used GT511C finger print sensor , in this we have to enroll the fingerprint using SDK software in this we can enroll up to 200 fingerprints. When we apply fingerprint
The gate will for the delay we provided and then it will close. The capacitor is used to reduce the spike voltage.
Reviews
There are no reviews yet.