Fingerprint Smart Door Lock With OLED | Arduino

by Aced Inventor in Circuits > Arduino

2754 Views, 26 Favorites, 0 Comments

Fingerprint Smart Door Lock With OLED | Arduino

Fingerprint Smart Door Lock with OLED | Arduino

In this project, we will be building a Fingerprint Smart Door Lock with an OLED screen. After you plug your Arduino into a power source, the OLED screen will display a message asking you to scan a finger to set it as a master finger. Once you have scanned the finger, it will be saved on the fingerprint scanner's memory as a master user. You can add up to 8 fingerprints, and you can also remove them. There are 4 buttons used in this project. 2 of the buttons are for toggling the settings on the OLED screen, and the other two buttons are for unlocking and locking the door, which would be placed inside the house. You can not unlock the door unless you have a fingerprint that has been added to the system.

This project can still be improved.

Supplies

Suplies.png

The components needed to make the project are:

Fingerprint Sensor Wiring

Fingerprint Sensor Wiring.png

Connect the Fingerprint Sensor as following:

Arduino >> Fingerprint Sensor

GND >> GND

RX >> D18

TX >> D19

VIN >> 3.3V

IRQ >> D6

3.3V >> 3.3V

OLED Wiring

OLED Wiring.png

Connect the OLED as following:

Arduino >> OLED

GND >> GND

5V >> VCC

A4 >> SDA

A5 >> SCL

Servo Wiring

Servo Wiring.png

Connect the Servo as following:

Arduino >> Servo

GND >> GND

5V >> VCC

D8 >>Signal

Button Wiring

Button Wiring.png

Connect the Buttons as following:

First, pin from all the Buttons >> GND

Second pin from all the Buttons>> A0, A1, D3, D4

Door Open >> A0

Door Close >> A1

Toggle >> D3

Select >> D4

Uploading the Program

Libraries.png

Open the program on Arduino IDE. Once it is open, compile the sketch to see if it is clear of error and upload it. Make sure you have all the libraries download before you upload the program. These are the link to the libraries that are not on the libraries manager. (DFRobot_ID809, OLED_I2C) After uploading the program, the OLED screen should turn on and display "Fingerprint Smart Door Lock." After that, the screen should display a message asking you to scan a finger to set it as a master user.

For more information about this, please visit my Patreon:
https://www.patreon.com/acedinventor

Testing the Project

Testing the Project.png

To test if the project is working properly, plug the Arduino Mega into a power source. The OLED screen should turn on and display "Fingerprint Smart Door Lock" After that, the screen will display a message asking you to scan a finger to set it as a master finger. Once you have scanned your finger, it will be saved into the fingerprint sensor's memory, and the OLED display will turn off. You can not use the master finger to unlock the door. You can only use it to add or remove other fingerprints. You can also use it to update the master finger. If you scan the master finger again, the OLED screen will turn on, and you will have three options. You can either change the master finger or add a finger or remove a finger. You can add up to 8 other fingers. You can use the buttons to toggle the settings. You can use the buttons to lock or unlock the door. To remove a fingerprint, you do not need to scan the finger. You can scan the master finger and then, in the setting choose, "Remove Finger" and then choose the ID you want to remove. The Arduino will automatically remove that ID.

If there is still something you don't understand, you can comment down below.