Introduction: Improve Hard Drives Security by Arduino & Fingerprint Sensor

About: Passionate about electronics parts and tutorials. We're your go-to source for high-quality components and expert guidance. Join us on our journey of exploration and innovation in the world of electronics.

In this article we want to show you how to improve the security of your digital data stored in a hard drive by a finger print sensor and Arduino. At the end of this article you :

Will learn how to use finger print sensor.

Will make a security add on for your hard drive.

Can give access to specific users to use your data bank.

Step 1: Improve Hard Drives Security by Arduino & Fingerprint Sensor

Data Banks Security

A hard disk drive (HDD), hard disk, hard drive, or fixed disk, is an electromechanical data storage device that uses magnetic storage to store and retrieve digital information using one or more rigid rapidly rotating disks (platters) coated with magnetic material. The platters are paired with magnetic heads, usually arranged on a moving actuator arm, which read and write data to the platter surfaces. Data is accessed in a random-access manner, meaning that individual blocks of data can be stored or retrieved in any order and not only sequentially. HDDs are a type of non-volatile storage, retaining stored data even when powered off.
Flash memory is an electronic (solid-state) non-volatile computer storage medium that can be electrically erased and reprogrammed. Toshiba developed flash memory from EEPROM (electrically erasable programmable read-only memory) in the early 1980s and introduced it to the market in 1984. The two main types of flash memory are named after the NAND and NOR logic gates. The individual flash memory cells exhibit internal characteristics similar to those of the corresponding gates. While EPROMs had to be completely erased before being rewritten, NAND-type flash memory may be written and read in blocks (or pages) which are generally much smaller than the entire device. NOR-type flash allows a single machine word (byte) to be written – to an erased location – or read independently. If you use hard drives or flash memories to store your data and they do not have any security on their hardware or software, this project is very useful for you.

R301T Fingerprint Module

A fingerprint in its narrow sense is an impression left by the friction ridges of a human finger. The recovery of fingerprints from a crime scene is an important method of forensic science. Fingerprints are easily deposited on suitable surfaces (such as glass or metal or polished stone) by the natural secretions of sweat from the eccrine glands that are present in epidermal ridges. These are sometimes referred to as “Chanced Impressions”.
In a wider use of the term, fingerprints are the traces of an impression from the friction ridges of any part of a human or other primate hand. A print from the sole of the foot can also leave an impression of friction ridges. In this project We use R301T sensor module that make an Serial communication with a controller like Arduino to exchange data. Lets do it.

Step 2: Required Materials

Step 3: Circuit

Step 4: Code

You must add the fingerprint sensor’s library and then upload the code. If it is the first time you are using an Arduino board, don’t worry. Just follow these steps:

1. Go to and download the Arduino software compatible with your OS. Install the IDE software as instructed.

2. Run the Arduino IDE and clear the text editor and copy the following code in the text editor.

3. Choose the board in tools and boards, select your Arduino Board.

4. Connect the Arduino to your PC and set the COM port in tools and port.

5. Press the Upload (Arrow sign) button.

6. You are all set!

Necessary Files and Downloads:

Step 5: Assembling

First, Make a small cable connector by micro USB 3 socket. To find out the pin map of socket, use board of Hard Drive.

Make a box with Acrylic sheet (plexiglass) and put the circuit in it .
Separate relay from the board and connect it to Arduino directly.

Step 6: What’s Next?

You can improve this project as you wish. Here are a few suggestions:

Try to store time of connection by each user in Arduino.

Try to calculate the amount of data transferred by each user.