Skip to content

VobiLock is a door lock project working with a fingerprint sensor. It uses Arduino.

Notifications You must be signed in to change notification settings

furkansimsekli/VobiLock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

About Project

When you forget your keys or don't want to enter the pin to unlock your place like house or room..

Just scan your finger and unlock it.

You can manage your fingerprints with advanced Admin Interface.

Installation

First of all download the codes from here

And then you should install libraries as .zip in Arduino IDE. To do that, go to Arduino IDE Sketch > Include Library > Add .ZIP Library > (then browse your library)

Needed Equipments:

1x Arduino Uno (but you can use Mega or Leonardo, you should change your Adafruit Fingerprint Sensor pins)

1x Breadboard (We will not use it when the project is over)

1x FPM10A Fingerprint Sensor

1x 1x4 Keypad

1x I2C LCD (You can use normal lcd too.. but it would complicated.

And lots of male-male & female-male jumper wires.

Libraries

Adafruit Fingerprint Sensor

I2C LCD

Other libraries is already installed with Arduino IDE

//Libraries
#include <EEPROM.h>
#include "Theme.h"
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>

Building

  1. The wires which came with fingerprint sensor is not compatible with our Arduino. So you should cut the wires in the middle. And attach your jumper wires there..

  2. Connect GND from Arduino to Breadboard's "-" side. We'll use there for Ground pins. After that 5V from Arduino to Breadboard's "+" side. We'll use there for VCC pins.

  3. Now time to connect power supply with FPM10A.

    VCC --> VCC --- && --- GND --> GND

  4. And then you should connect FPM10A to directly Arduino pins. RX --> 3 --- && --- TX --> 2

  5. Now, you can try your sensor with Arduino. In Arduino IDE go to Examples > Adafruit Fingerprint Sensor > enroll (You can enroll your fingerprints here)

  6. Let's add LCD to our project.. Again GND to GND and VCC to VCC. After that SDA --> A4 --- and --- SCL --> A5

  7. We should add our Keypad for control menu. Just leftmost wire goes to GND on Breadboard. Other ones goes to 9,10,11,12 in Arduino in order. I edited codes for it.

//1x4 Keypad Definitions
#define key1 10 //num1
#define key2 9  //num2
#define key3 12 //num3
#define key4 11 //num4
  1. I defined door pin as '6' but if you need that you can change it.
const int door = 6;
  1. Now you should attach your locksystem to Arduino. Connect pin 6 to + side of locksystem. And GND --> GND

Make sure you are safe. You should add a relay between locksystem and your project If locksystem pull too much electrical current from Arduino. It could damage your Arduino and make it sick.

If you don't know how to connect relay, here is a basic schematic

Relay Schematic

Note: If you are using Arduino MEGA or Leonardo change these codes. It actually runs UNO too :)

// RXPIN is IN from sensor 
// TXPIN is OUT from arduino

#define RXPIN 2// change this to whatever
#define TXPIN 3// change this to whatever

SoftwareSerial mySerial(RXPIN, TXPIN);
  1. Final step is uploading your code to your Arduino. Don't forget to choose port from tool in Arduino IDE

Usage

In the first time of using you will scan your finger for ADMIN. Never mind you are going to see what you are going to in LCD. I explained step by step there!

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Builder

VobiLock Telegram Channel

@furkansimsekli @iamvobi

  • Aksaray Science High School Student

About

VobiLock is a door lock project working with a fingerprint sensor. It uses Arduino.

Topics

Resources

Stars

Watchers

Forks