Introduction
In this article I will explain how to create a Fingerprint Lock using
Arduino Mega 2560. It will be used to identify the same user in the same way that a fingerprint scanner works.
Parts
- Fingerprint sensor
- Arduino Mega 2560
- Servo motor
- Jumper wires
Fingerprint Sensor
Figure 1: Fingerprint Sensor
- It is an electronic device and capture the digital images.
- The captured image is called live scan.
- It simply identifies the fingerprint and give the result.
- It can easily match the fingerprint.
Connection:
Step 1: Connection From Servo Motor To Arduino Mega 2560,
- The servo first pin can be connected to the Gnd.
- The second pin can be connected to the VCC.
- The third pin can be connected to the digital pin 06 of the Arduino Mega 2560.
Step 2: Connection From Fingerprint Sensor To Arduino Mega 2560,
- The Gnd pin of fingerprint sensor to the Gnd of the Arduino Mega 2560
- The Vcc pin of fingerprint sensor to the 5v of the Arduino Mega 2560
- The Rx pin can be connected to the A4 of the Arduino Mega 2560.
- The Tx pin can be connected to the A5 of the Arduino Mega 2560.
Programming
- When the fingerprint isthe same, the sensor identifies it and prints the message as matched.
- The servo motor also gets rotate to 60 degree direction.
- When fingerprints do not match, a message is sent as "Not Matched."
Output:
Figure 2: Output.
Read more articles on Arduino: