Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Food Living Outside Play Technology Workshop

DIY Fingerprint Biometric Arduino Anti-thief Security System


by pelegren on December 26, 2014

Table of Contents

DIY Fingerprint Biometric Arduino Anti-thief Security System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Intro: DIY Fingerprint Biometric Arduino Anti-thief Security System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 1: Materials! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 2: The Circuit! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Step 3: Program it! Enroll Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Step 4: Program it! Load the Main Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 5: Build it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 6: Build it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 7: Build it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Step 8: Build it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Step 9: Build it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Step 10: Install it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Step 11: It works! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

http://www.instructables.com/id/Biometric-Arduino-Engine-Security-System/
Author:pelegren author's website
robots, electronics,programming and cars

Intro: DIY Fingerprint Biometric Arduino Anti-thief Security System


To create a simple biometric security system to protect your car from unauthorized user, I thought of using fingerprint sensor and Arduino together. This project is based
on Adafruit tutorial and for simplicity, I was using the whole program created by them and just modify a little bit the terms used to make it easy to comprehend for the
purpose of this application. You will be able to see the modified code in the comments.

Basically, we will modify the starting system of the vehicle. The basic connection is IG from ignition switch will supply voltage to the voltage regulator then to Arduino to
turn it on and off, within 10 seconds, scan your finger in the sensor. Finger match will activate the relay that controls the starter relay. Then you can crank the engine.
After 10 seconds, the fingerprint sensor will turn off. You can turn it "on" again by cycling the ignition. No finger detected by the sensor within 10 seconds or finger image
do not matched, the starting system is disabled and no cranking will occur.

Since every car model do not have the same starting system configuration, be sure to consult your vehicle electrician or check your car’s Electrical Wiring Diagram prior
to modifying your vehicle’s starting system. I am very good in vehicle electrical and electronics, so I have no problem modifying my car’s electrical system.

Remember, fingerprint sensor will not crank your engine. It will only activate and deactivate the starter relay to either prevent or allow cranking of the engine.

In this instructable, I am using a 2000 model Mitsubishi Lancer 2-door coupe. It’s my personal car.

Step 1: Materials!
Arduino Uno

http://arduino.cc/en/Main/ArduinoBoardUno

Fingerprint Sensor

http://www.adafruit.com/products/751

Regulated Power Supply

http://www.jaycar.com.au/productView.asp?ID=KC5446...

Relay

http://www.elecrow.com/4channel-relay-module10a-p-...

NPN transistor

http://www.farnell.com/datasheets/410427.pdf

Resistor 1K ohm

http://www.instructables.com/id/Biometric-Arduino-Engine-Security-System/
http://www.instructables.com/id/Biometric-Arduino-Engine-Security-System/
Step 2: The Circuit!
I have modified the wiring diagram so it would be easy to install as much as possible. Take note, this is only applicable for this vehicle model....

Step 3: Program it! Enroll Users


1. Download the Arduino IDE.

http://arduino.cc/en/main/software

2. Install the Arduino IDE.

3. Download the Adafruit Fingerprint Library

http://www.adafruit.com/product/751

4. Add the Adafruit fingerprint to Arduino library.

Open your Arduino IDE. Click Sketch>Import Library>click Add library. Locate the Adafruit fingerprint library folder.

5. Open your Arduino IDE. Click File>Adafruit-Fingerprint-Sensor-Library-Master>click blank.

Load the blank program to your Arduino Uno. This is to make Arduino will not do anything but just act as bridge for PC and Fingerprint sensor.

6. Install the SFGDemo v.20

http://www.adafruit.com/product/751

7. Connect the fingerprint sensor as shown in the diagram.

https://learn.adafruit.com/adafruit-optical-finger...

8. Enroll your fingers using the SFGDemoV2.0.

https://learn.adafruit.com/adafruit-optical-finger...

http://www.instructables.com/id/Biometric-Arduino-Engine-Security-System/
Step 4: Program it! Load the Main Program
Connect the fingerprint sensor as shown in the diagram and load the main program. Add an LED and resistor at pin 12 to confirm proper circuit operation.

The program is based on Adafruit's Fingerprint tutorial however i have modified the program a little bit and add timer on it to turn off the sensor after 10 seconds in order
to avoid distraction from flashing LEDs of the sensor.

File Downloads

fingerprintModifiedwithsleepfunction.ino (5 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'fingerprintModifiedwithsleepfunction.ino']
Step 5: Build it!
loosen the screws of the under dash. loosen the bonnet release lever. remove the under dash. the blank space is a good spot for the sensor.

Step 6: Build it!


lay-out the fingerprint dimension and cut the area to insert the sensor firmly.

http://www.instructables.com/id/Biometric-Arduino-Engine-Security-System/
Step 7: Build it!
I found a good spot for the Arduino Uno to be just below the fingerprint sensor. I cut a little this portion for the Arduino Uno to sit properly.

http://www.instructables.com/id/Biometric-Arduino-Engine-Security-System/
Step 8: Build it!
install firmly the regulated power supply at the back of the driver side under dash.

Step 9: Build it!


Connect all the components as shown in the diagram provided on step no.2.

http://www.instructables.com/id/Biometric-Arduino-Engine-Security-System/
Step 10: Install it!
Connect the necessary wiring and install the under dash back. Be careful not keep wiring away from any possible short circuit.

http://www.instructables.com/id/Biometric-Arduino-Engine-Security-System/
Step 11: It works!

Related Instructables

How To Fool a
Turn your Biometrics Arduino Fingerprint ARDUINO Super Glue
Fingerprint Controlled LED Fingerprint Security System FINGERPRINT Fingerprint
Sensor into Desk Lamp by Lock by As Easy As SCANNER WITH Fuming by DIY
Biometric pelegren jack1986 16X2 LCD by Hacks and How
ABC by
Toggle Switch pelegren Tos
tycoyoken
by pelegren

Advertisements

Comments

http://www.instructables.com/id/Biometric-Arduino-Engine-Security-System/

You might also like