
Tutorial Seguridad Biometrica Huella Digital
En este tutorial usamos un modulo biometrico de huella digital para brindar seguridad a nuestros proyectos.

Requisitos:
- Computadora (mac)
- Arduino UNO
- FPS GT511-c1R FPS
- Resistores
- Breadboard
- Arduino IDE (https://www.arduino.cc/en/Main/Software)
El setup continua igual. Ahora cambiamos el codigo para comparar las huellas digitales en el modulo.

El código:
[code]</pre>
<pre>#include “FPS_GT511C3.h”
#include “SoftwareSerial.h”
//FPS connected to pin 4 and 5 – see previous schemas
FPS_GT511C3 fps(4, 5);
void setup(){
Serial.begin(9600);
delay(100);
fps.Open();
fps.SetLED(true);
}
void loop(){
// if a finger is on the sensor
if (fps.IsPressFinger()){
//capture the finger print
fps.CaptureFinger(false);
//get the id
int id = fps.Identify1_N();
//maximun finger print stored in 200.
//Id > 200 is a not recognized one
if (id <200){
//finger print recognized: display the id
Serial.print(“Verified ID:”);
Serial.println(id);
// …
// add you code here for the condition access allowed
// …
}else{
//finger print not recognized
Serial.println(“Finger not found”);
// …
// add you code here for the condition access disallowed
// …
}
}else{
// wait for finger
Serial.println(“Please press finger”);
}
delay(100);
}[/code]
Al conectar la UNO podemos comparar nuestra huella digital. Si quisiéramos borrar las huellas digitales solo tenemos que usar el comando:
[code]fps.<span class=”pl-c1″>DeleteAll</span>();[/code]