Abstract
We all use at least one biometric security method, be it fingerprint, face id, voice recognition, etc. but have you ever thought about how the finger sensors behind these authentication methods actually work? If you are looking for answers now, you are in the right place as the fingerprint is among one of the most used security method nowadays.
Time to read: 5 min
Difficulty: ***/10
Introduction
First of all, for getting us into theme, we need to know what biometric sensors are. A biometric sensor is a type of device that can be used to identify or authenticate a person. It uses various physical attributes such as fingerprints, facial images, and voice recognition to verify or identify a person.
What types of fingerprint sensors exists and how do they work?
- Optical fingerprint sensors
These sensors use a small camera(CMOS sensor) to take a picture of the fingerprint(which consists in different valleys and ridges), which is then analyzed by software. These sensors are often used in smartphones and laptops.
2. Capacitive fingerprint sensors:
This consist in a small array of capacitors to detect the ridges and valleys of a fingerprint. The capacitors measure the tiny electrical charges that are generated by the friction ridges of the fingerprint. These sensors are often used in smartphones and other electronic devices. Once an edge is detected it means that is quite close to the capacitor plate and has a lower capacitance as a result. When there is a valley, the distance through the capacitor plate increases, which causes the capacitance to increase. Every capacitor’s capacitance is transmitted to the op-amp and simply recorded with an ADC. This creates a digital fingerprint scan based on capacitive touch sensing.
Fingerprint sensor что это

Компания Goodix, китайский производитель дактилоскопических датчиков, на выставке MWC 2017 представила сканер отпечатков, встроенный в дисплей. Рассказываем, как это работает, и почему ничего подобного нет у ведущих производителей.
Что такое In-Display Fingerprint Sensor и как это работает?
Какие есть альтернативы In-Display Fingerprint Sensor?
Все имеющиеся в смартфонах сканеры отпечатков так или иначе представляют собой отдельный модуль, который производителям нужно максимально удачно разместить на корпусе. Sony встраивает его в кнопку включения экрана (и не использует, если такой возможности нет), в смартфонах Apple и Samsung 2016 года сканер был в виде сенсорной или механической кнопки под экраном, в большинстве Android-смартфонов — от самых дешевых до дорогих — кнопка или сенсорная поверхность расположены на задней части копуса под камерой.
На MWC 2017 произошли некоторые концептуальные изменения, например,Lenovo и Huawei решили совместить сканер и навигационный текпад под дисплеями смартфонов, отказавшись от классических сенсорных или виртуальных кнопок. Впрочем, сути это не меняет — сканер остается самостоятельной единицей, которая требует место на корпусе и увеличивает габариты смартфона по высоте.
Почему Goodix смогла это сделать, а другие — нет?
На самом деле не все так однозначно. Компания Goodix — это поставщик комплектующих, поэтому ей важно показать доступность своей технологии хотя бы на стадии прототипа — заинтересовать потенциальных покупателей из списка производителей техники и обратить внимание потребителей на возможность появления новой функциональности в смартфонах. В отличие от Apple, Samsung, Sony, LG и прочих компаний, Goodix не требуется в рамках выставки показывать идеально работающий продукт. Они демонстрируют именно технологию, а доведением ее до ума можно будет заняться к моменту отгрузок экранов нового типа, или воообще переложить на производителей техники часть задач по интеграции нового типа комплектующих в устройства.
Если обратить внимание на патентные заявки, крупнейшие компании уже давно интересуются возможностью встраивания сканера отпечатков пальцев в экран и отказом от механических или сенсорных кнопок. Однако, в отличие от поставщиков компонентов, анонсировать свои разработки они могут только в момент готовности устройств с новой технологией к продажам. Кроме того, в некоторых случаях производителям может быть выгодно не изобретать велосипед, а воспользоваться уже готовыми решениями и производственными мощностями сторонних производителей — например, интегрированными в дисплей сканерами компании Goodix.
В настоящий момент технология In-Display Fingerprint Sensor попросту не готова для комммерческого использования в устройствах. Ее создателям нужно время на доработку и минимизацию стоимости производства, а производителям смартфонов — время на интеграцию в продукты. Если даже обратить внимание на вышеупомянутый ультразвуковой сканер от Qualcomm, с момента анонса и демонстрации прошло больше года, а счет устройств с ним не превышает пяти штук и ни одно из них так и не избавилось от интеграции в механическую кнопку или заметной сенсорной площадки для касания.
Какие устройства могут получить сканер In-Display Fingerprint Sensor и когда все-таки это случится?
В настоящий момент нет информации ни о сроках поставки дисплеев нового типа, ни о каких-либо заказах на эти комплектующие. Ранее сканерами от компании Goodix пользовались Huawei, LG, Xiaomi, ZTE, ASUS и некоторые другие компании. Не исключено, что все они продолжат сотрудничество с поставщиком дактилоскопических сенсоров, однако использование встроенного в экран сканера ограничено флагманскими моделями, для которых важен дизайн и использование новейших технологий. Как вариант, может произойти ситуация, что Goodix получит очень большой заказ только от одной компании (масштаба Samsung, Huawei или Apple) и тогда встроенный в экран сканер откажется временным эксклюзивом лишь для определенной модели смартфона.
Что касается появления смартфонов с In-Display Fingerprint Sensor, их анонсов при благоприятном развитии событий стоит ждать осенью 2017 года — первые модели могут быть представлены на выставке IFA в Берлине. Однако более реалистичным мне кажется внедрение нового типа сканера в устройства, которые будут показаны через год на MWC 2018 — к тому моменту проидет достаточно времени для успешной интеграции и тестирования новой технологии, а также решения всевозможных проблем с использованием встроенного в экран сканера отпечатков.
Сканеры отпечатков пальцев. Классификация и способы реализации
Около года назад во время написания курсовой работы мне пришлось вплотную столкнуться со сканерами отпечатков пальцев. Отчетливо помню, как меня неприятно удивило их многообразие – еще бы, ведь для каждого мне надо было искать каналы утечки информации и писать методику их оценки. И все же факт остается фактом – в настоящее время существуют принципиально разные способы получения отпечатков пальцев с разной степенью надежности и эффективности.
О сканировании
Чуть больше года назад на Хабре поднимался вопрос биометрической идентификации, поэтому общую информацию я дам вкратце. Физиологически отпечаток пальца представляет собой так называемый паппилярный узор — конфигурацию выступов (гребней), содержащих индивидуальные поры, разделенные впадинами. Под кожей пальца расположена сеть кровеносных сосудов. Также отпечаток пальца связан с определенными электрическими и тепловыми характеристиками кожи. Это означает, что для получения изображения отпечатка пальца может использоваться свет, тепло или электрическая емкость (а также их комбинация). Отпечаток пальца формируется во время развития плода и не изменяется на протяжении всей жизни человека, кроме того, при повреждении через некоторое время он восстанавливает свою первоначальную структуру. Даже однояйцовые близнецы не имеют идентичных отпечатков пальцев. По показателям надежности сканирование отпечатков уступает только анализу ДНК, а также сканированию радужной оболочки или сетчатки глаза.
Все существующие сканеры отпечатков пальцев можно разделить на три группы: оптические, полупроводниковые и ультразвуковые. К тому же в каждом методе существует несколько способов реализации.
Оптические сканеры
Оптические сканеры — основаны на использовании оптических методов получения изображения. Существует несколько основных способов реализации оптического метода:
Оптический метод на отражение
В данном методе используется эффект нарушенного полного внутреннего отражения (Frusted Total Internal Reflection). Эффект заключается в том, что при падении света на границу раздела двух сред световая энергия делится на две части — одна отражается от границы, другая проникает через границу во вторую среду. Доля отраженной энергии зависит от угла падения светового потока. Начиная с некоторой величины данного угла, вся световая энергия отражается от границы раздела.

Это явление называется полным внутренним отражением. В случае контакта более плотной оптической среды (поверхности пальца) с менее плотной в точке полного внутреннего отражения пучок света проходит через эту границу. Таким образом, от границы отразятся лишь пучки света, попавшие в определенные точки полного внутреннего отражения, к которым не был приложен папиллярный узор пальца. Для захвата полученной световой картинки поверхности пальца используется специальный датчик изображения (КМОП или ПЗС, в зависимости от реализации сканера).
Недостатки метода:
• Неэффективная защита от муляжей
• Чувствительность к загрязнениям
Ведущими производителями подобных сканеров являются компании BioLink, Digital Persona, Identix.
Оптический метод на просвет
Сканеры данного типа представляют собой оптоволоконную матрицу, в которой все волноводы на выходе соединены с фотодатчиками.

Чувствительность каждого датчика позволяет фиксировать остаточный свет, проходящий через палец, в точке соприкосновения пальца с поверхностью матрицы. Изображение всего отпечатка формируется по данным, считываемым с каждого фотодатчика.
У данного метода гораздо больше плюсов:
• Высокая надежность считывания
• Устойчивость к обману
Однако у данного метода имеется также существенный недостаток – сложность его реализации:
Данный тип сканеров выпускается компанией Security First Corp.
Оптические бесконтактные сканеры
В Оптических бесконтактных сканерах (touchless scanners), вы не поверите, не требуется непосредственного контакта пальца с поверхностью сканирующего устройства. Палец прикладывается к отверстию в сканере, несколько источников света подсвечивают его снизу с разных сторон, в центре сканера находится линза, через которую, собранная информация проецируется на КМОП-камеру, преобразующую полученные данные в изображение отпечатка пальца.

Ведущий производитель сканеров данного типа Touchless Sensor Technology.
(Про достоинства/недостатки почему-то ничего нет)
Полупроводниковые сканеры
В основе полупроводниковых сканеров лежит использование для получения изображения поверхности пальца свойств полупроводников, изменяющихся в местах контакта гребней папиллярного узора с поверхностью сканера.
Емкостные сканеры
Емкостные сканеры (Сapacitive Scanners) являются сегодня наиболее распространенными полупроводниковыми устройствами для получения изображения отпечатка пальца. Их работа основана на эффекте изменения емкости p-n-перехода полупроводника при соприкосновении гребня папиллярного узора с элементом полупроводниковой матрицы. Существуют модификации емкостных сканеров, в которых каждый полупроводниковый элемент в матрице выступает в роли одной пластины конденсатора, а палец — в роли другой. При приложении пальца к датчику между каждым чувствительным элементом и выступом-впадиной папиллярного узора образуется емкость, величина которой определяется расстоянием между рельефной поверхностью пальца и элементом. Матрица этих емкостей преобразуется в изображение отпечатка пальца.
Достоинствами вследствие его популярности является:
• Низкая себестоимость
• Надежность
Недостатки:
• Неэффективная защита от муляжей
Ведущими производителями сканеров данного типа являются компании Infineon, STMicroelectronics, Veridicom.
Радиочастотные сканеры
В радиочастотных сканерах (RF-Field Scanners) используется матрица элементов, каждый из которых работает как миниатюрная антенна. Радиочастотный модуль генерирует сигнал низкой интенсивности и направляет его на сканируемую поверхность пальца. Каждый из чувствительных элементов матрицы принимает отраженный от папиллярного узора сигнал. Величина наведенной в каждой миниатюрной антенне ЭДС зависит от наличия или отсутствия вблизи нее гребня папиллярного узора. Полученная таким образом матрица напряжений преобразуется в цифровое изображение отпечатка пальца.
Достоинства:
• Поскольку анализируются физиологические свойства кожи, вероятность обмана данного сканера стремится к нулю
Недостатки:
• Неустойчивая работа при плохом контакте пальца
Известным производителем радиочастотных сканеров является компания Authentec.
Сканеры, использующие метод давления
Чувствительные к давлению сканеры (Pressure Scanners) в своей конструкции используют матрицу пьезоэлектрических элементов, чувствительных к нажатию. При прикладывании пальца к сканирующей поверхности гребешковые выступы папиллярного узора оказывают давление на некоторое подмножество элементов матрицы. Впадины кожного узора никакого давления не оказывают. Таким образом, совокупность полученных с пьезоэлектрических элементов напряжений преобразуется в изображение отпечатка пальца.
Данный метод имеет ряд недостатков:
• низкая чувствительность
• неэффективная защита от муляжей
• подверженность к повреждениям при чрезмерно прилагаемых усилиях
Чувствительные к давлению сканеры выпускает компания BMF.
Термосканеры
Термосканеры (Thermal Scanners) — в таких устройствах используются датчики, которые состоят из пироэлектрических элементов, позволяющих фиксировать разницу температуры и преобразовывать ее в напряжение.
При прикладывании пальца к сканеру по температуре прикасающихся к пироэлектрическим элементам выступов папиллярного узора и температуре воздуха, находящегося во впадинах, строится температурная карта поверхности пальца, которая в дальнейшем преобразуется в цифровое изображение.
Температурный метод имеет множество преимуществ:
• высокая устойчивость к электростатическому разряду
• устойчивая работа в широком температурном диапазоне
• эффективная защита от муляжей.
К недостаткам данного метода можно отнести то, что изображение быстро исчезает. При прикладывании пальца в первый момент разница температур значительна и уровень сигнала, соответственно, высок. По истечении короткого времени (менее одной десятой доли секунды) изображение исчезает, поскольку палец и датчик приходят к температурному равновесию.
Ультразвуковой метод
В данной группе пока существует только один метод, который так и называется. Ультразвуковые сканеры (Ultrasonic Scanners) сканируют поверхность пальца ультразвуковыми волнами. Расстояния между источником волн и гребешковыми выступами и впадинами папиллярного узора измеряются по отраженному от них эху.

Качество получаемого изображения в десятки раз лучше, чем у любого другого представленного на биометрическом рынке метода. Кроме того, данный способ практически полностью защищен от муляжей, поскольку позволяет помимо отпечатка папиллярного узора пальца получать информацию и о некоторых других характеристиках, например, о пульсе.
Недостатки:
• Высокая стоимость
Ведущим производителем сканеров данного типа является компания Ultra-Scan Corporation.
Fingerprint Sensor : Working, Interfacing & Its Applications
Fingerprints of humans are practically unique that’s why these are very successful in recognizing individuals. Fingerprints of individuals are collected & maintained by law enforcement agencies and also other occupations for certification or professional licensing like stockbrokers, financial advisors, teachers, real estate agents, security, doctors or nurses, contractors, and many more. At present, advancements in technologies use these scanners as an additional security feature. So these are becoming one of the latest and ever-growing security systems. This article discusses brief information on a fingerprint sensor – working with applications.
What is a Fingerprint Sensor?
A fingerprint sensor definition is a security system that is used to identify as well as authenticate an individual’s fingerprints to allow or reject access to a physical facility or a computer system. This sensor uses hardware & software combination techniques to recognize an individual’s fingerprint scans. These are safety systems of biometrics, so that used in smartphones, security industries, police stations, etc.
Working Principle of Fingerprint Sensor
The fingerprint sensor works on the principle of processing which includes two elements like enrollment & matching. In enrollment, each individual has to put the finger on the sensor device, so that the device checks the fingerprints to process & generate the finger pattern & it will be stored. In matching, once an individual places the finger then the system will generate a pattern of the finger & compares it with the stored data. So a fingerprint sensor is used to authenticate and recognize the fingerprints of a person. These sensors are very reliable and secure devices used for any security authentication.
In the fingerprint sensor working, first authorized persons’ fingerprint scans are recorded for a specific system and these scans are saved within a database. Whenever an individual needs to access the system then he places a finger on a hardware scanner, then the scanner scans & copies the input from the person & verifies with the previously stored scans for any similarity. If it matches, then the individual gets access. These sensors normally use the thumbprint of an individual as an identification.
Types of Fingerprint Sensor
There are different types of fingerprint sensors optical, capacitive, ultrasonic, and thermal which are discussed below. But these sensors considerably vary in both price & security. These sensors provide several benefits & are simple for companies to execute & use.
Optical Fingerprint Scanners
Optical fingerprint sensors are the first models which are used to simply capture the optical image of individuals’ fingerprints with CMOS or CCD image sensors. These sensors are related to camera sensors, although they are mainly designed to take high-contrast images as compared to any usual camera. This sensor includes a set of LEDs that the CMOS or CCD/ sensors light up the areas of fingers as well as the replicated light waves. The present sensor models are available in 1mm size in dimensions & they can scan wet fingers also.

Optical Fingerprint Scanner
Capacitive Fingerprint Scanner
These scanners use several small capacitors for detecting capacitance in between the ridges & valleys of fingers for capacitor plates. Once there is an edge, its distance by the plate of the capacitor is very small, resulting in somewhat less capacitance. Once there is a valley, then its distance through the capacitor plate is higher so it results in higher capacitance. From every capacitor, the capacitance is passed to the op-amp & is recorded simply with ADC. So this generates a fingerprint’s digital scan based on the sensing of capacitive touch.

Capacitive Fingerprint Scanner
These scanners are not easy to forge and they can even notice a live finger also. The only method to forge a fingerprint by using this scanner is to hack the hardware/software of the controller or else, these types of scanner will be fooled through a print image because a print image will have consequential capacitive effects, and a prosthetic can not exactly mimic a live finger’s touch capacitance.
Ultrasonic Fingerprint Scanner
The latest & most sophisticated scanners are ultrasonic fingerprint scanners which are capable of generating fingerprints 3D scans. Now, this is used only in some high-end smartphones. This scanner includes a set of ultrasonic transmitters & receivers where the transmitters generate ultrasonic signals which are reflected within the ridges, valleys & fingerprint pores and receivers detect the reflected signals.

These scanners need some time to efficiently capture the fingerprint’s 3D map. These scanners are very simple to implement, so frequently used in smartphones for in-display scanners. It is not possible to copy ultrasonic scanners and the scanned fingerprint 3D feature will make the technology extra robust. Similar to capacitive scanners, these scanners are forged simply by hacking the software & hardware. So, by the operation principle, these are approximately impeccable.
Thermal Fingerprint Scanner
These sensors are very helpful in determining the least temperature differences among the finger lines & generate the finger’s thermal image when we are placed on the scanner. Similar to other types of sensors, these are active and passive.

Thermal Fingerprint Scanner
Fingerprint Sensor Interfacing with Microcontroller
Interfacing fingerprint sensors with a microcontroller like Arduino is shown below. Here, the fingerprint sensor used is the R503 capacitive fingerprint sensor module. The main function of this module is to simply capture, match & store the fingerprint of a user.
Pin Configuration
The pin configuration of R503 capacitive fingerprint sensor is shown below. This sensor includes six pins which are discussed below.

R503 Capacitive Fingerprint Sensor
- Pin1 (Power supply): This is a power supply (DC 3.3V) pin.
- Pin2 (GND): This is a GND pin.
- Pin3 (TXD): This is a data output.
- Pin4 (RXD): This is data input.
- Pin5 (WAKEUP): This is a finger detection signal.
- Pin6 (3.3 VT): This is a touch induction power supply.
Features and Specifications
The features and specifications of the R503 capacitive fingerprint sensor include the following.
- The interface used is RS232.
- It has a 508 DPI resolution.
- The voltage used is DC 3.3V.
- The required current supply is 18mA.
- Standby voltage for typical touch is 3.3V
- The average current is 2uA
- The capacity of the fingerprint is 200
- The sensing array is 192 x 192 pixel
- LED color is red or blue.
- The speed of scanning is below 0.2 Sec.
- The speed of verification is below 0.3 Sec.
- The matching method is 1:1; 1:N.
- The false Rejection Ratio or FRR is ≤0.01%.
- False Acceptance Ratio or FAR is ≤0.00001%.
- UART communications baud rate is 9600N bps.
Now let us see how to interface the R503 capacitive fingerprint sensor with Arduino. So, the interfacing diagram is shown below which is very simple. The connections of this fingerprint sensor circuit diagram follow as;

R503 Capacitive Fingerprint Sensor with Arduino
Here, the R503 capacitive fingerprint sensor is a UART Module.
- Connect the VCC and GND pins of the fingerprint sensor to the 3.3V and GND pins of Arduino.
- Likewise, connect the yellow wire (Tx) and green wire (R2) to both D2 and D3 pins of Arduino respectively.
- Here, the blue color wire is an interrupt wire which remains unconnected.
- Connect the white color wire to 3.3V.
- Here, jumper wires are used for connecting the module with Arduino directly.
Source Code
For a capacitive fingerprint sensor, an Arduino library is available from Adafruit. So, you can simply download the Adafruit Library for fingerprint sensors from the Github repository.
For fingerprint data enrolling as well as reading, there are two separate codes are available. The code for enrolling will save the fingerprint data within EEPROM memory whereas the fingerprint read code simply reads the fingerprint data stored within EEPROM memory & match with the examined one.
#include <Adafruit_Fingerprint.h>
#if (defined(__AVR__) || defined(ESP8266)) && !defined(__AVR_ATmega2560__)
// For UNO and others without hardware serial, we must use software serial…
// pin #2 is IN from sensor (GREEN wire)
// pin #3 is OUT from arduino (WHITE wire)
// Set up the serial port to use softwareserial..
SoftwareSerial mySerial(2, 3);
#else
// On Leonardo/M0/etc, others with hardware serial, use hardware serial!
// #0 is green wire, #1 is white
#define mySerial Serial1
#endif
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
uint8_t id;
void setup()
<
Serial.begin(9600);
while (!Serial); // For Yun/Leo/Micro/Zero/…
delay(100);
Serial.println(“\n\nAdafruit Fingerprint sensor enrollment”);
// set the data rate for the sensor serial port
finger.begin(57600);
if (finger.verifyPassword()) <
Serial.println(“Found fingerprint sensor!”);
> else <
Serial.println(“Did not find fingerprint sensor :(“);
while (1) < delay(1); >
>
Serial.println(F(“Reading sensor parameters”));
finger.getParameters();
Serial.print(F(“Status: 0x”)); Serial.println(finger.status_reg, HEX);
Serial.print(F(“Sys ID: 0x”)); Serial.println(finger.system_id, HEX);
Serial.print(F(“Capacity: “)); Serial.println(finger.capacity);
Serial.print(F(“Security level: “)); Serial.println(finger.security_level);
Serial.print(F(“Device address: “)); Serial.println(finger.device_addr, HEX);
Serial.print(F(“Packet len: “)); Serial.println(finger.packet_len);
Serial.print(F(“Baud rate: “)); Serial.println(finger.baud_rate);
>
uint8_t readnumber(void) <
uint8_t num = 0;
while (num == 0) <
while (! Serial.available());
num = Serial.parseInt();
>
return num;
>
void loop() // run over and over again
<
Serial.println(“Ready to enroll a fingerprint!”);
Serial.println(“Please type in the ID # (from 1 to 127) you want to save this finger as…”);
id = readnumber();
if (id == 0)/ ID #0 not allowed, try again!
return;
>
Serial.print(“Enrolling ID #”);
Serial.println(id);
while (! getFingerprintEnroll() );
>
uint8_t getFingerprintEnroll() <
int p = -1;
Serial.print(“Waiting for valid finger to enroll as #”); Serial.println(id);
while (p != FINGERPRINT_OK) <
p = finger.getImage();
switch (p) <
case FINGERPRINT_OK:
Serial.println(“Image taken”);
break;
case FINGERPRINT_NOFINGER:
Serial.println(“.”);
break;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println(“Communication error”);
break;
case FINGERPRINT_IMAGEFAIL:
Serial.println(“Imaging error”);
break;
default:
Serial.println(“Unknown error”);
break;
>
>
// OK success!
p = finger.image2Tz(1);
switch (p) <
case FINGERPRINT_OK:
Serial.println(“Image converted”);
break;
case FINGERPRINT_IMAGEMESS:
Serial.println(“Image too messy”);
return p;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println(“Communication error”);
return p;
case FINGERPRINT_FEATUREFAIL:
Serial.println(“Could not find fingerprint features”);
return p;
case FINGERPRINT_INVALIDIMAGE:
Serial.println(“Could not find fingerprint features”);
return p;
default:
Serial.println(“Unknown error”);
return p;
>
Serial.println(“Remove finger”);
delay(2000);
p = 0;
while (p != FINGERPRINT_NOFINGER) <
p = finger.getImage();
>
Serial.print(“ID “); Serial.println(id);
p = -1;
Serial.println(“Place same finger again”);
while (p != FINGERPRINT_OK) <
p = finger.getImage();
switch (p) <
case FINGERPRINT_OK:
Serial.println(“Image taken”);
break;
case FINGERPRINT_NOFINGER:
Serial.print(“.”);
break;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println(“Communication error”);
break;
case FINGERPRINT_IMAGEFAIL:
Serial.println(“Imaging error”);
break;
default:
Serial.println(“Unknown error”);
break;
>
>
// OK success!
p = finger.image2Tz(2);
switch (p) <
case FINGERPRINT_OK:
Serial.println(“Image converted”);
break;
case FINGERPRINT_IMAGEMESS:
Serial.println(“Image too messy”);
return p;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println(“Communication error”);
return p;
case FINGERPRINT_FEATUREFAIL:
Serial.println(“Could not find fingerprint features”);
return p;
case FINGERPRINT_INVALIDIMAGE:
Serial.println(“Could not find fingerprint features”);
return p;
default:
Serial.println(“Unknown error”);
return p;
>
// OK converted!
Serial.print(“Creating model for #”); Serial.println(id);
p = finger.createModel();
if (p == FINGERPRINT_OK) <
Serial.println(“Prints matched!”);
> else if (p == FINGERPRINT_PACKETRECIEVEERR) <
Serial.println(“Communication error”);
return p;
> else if (p == FINGERPRINT_ENROLLMISMATCH) <
Serial.println(“Fingerprints did not match”);
return p;
> else <
Serial.println(“Unknown error”);
return p;
>
Serial.print(“ID “); Serial.println(id);
p = finger.storeModel(id);
if (p == FINGERPRINT_OK) <
Serial.println(“Stored!”);
> else if (p == FINGERPRINT_PACKETRECIEVEERR) <
Serial.println(“Communication error”);
return p;
> else if (p == FINGERPRINT_BADLOCATION) <
Serial.println(“Could not store in that location”);
return p;
> else if (p == FINGERPRINT_FLASHERR) <
Serial.println(“Error writing to flash”);
return p;
> else <
Serial.println(“Unknown error”);
return p;
>
return true;
>
Advantages and Disadvantages
The advantages of fingerprint sensors include the following.
- Fingerprint sensors are much more secure because they are not easy to forge.
- These are very easy to use.
- No need to remember passwords because fingerprints are with you always.
- These are non-transferable.
- Fingerprint identification provides a higher stage of responsibility at work.
- These are economical.
- These are highly accurate in recognizing fingerprints.
- These are stable for a long time.
- It needs less space and it decreases the memory requirement of the database.
- For every individual finger, these are unique & the arrangement of the ridge stays permanent during everyone’s lifetime.
- Fingerprint patterns are very hard to guess than passwords.
- Fingerprints cannot be misplaced like physical access cards.
- Fake identity cannot be created based on the image.
The disadvantages of fingerprint sensors include the following.
- Some technical failures occur.
- The system has an inability to enroll some users.
- The system’s accuracy & its working can be affected by the skin state of people.
- The gathering of high-quality images requires training & particular skills.
- This is associated with legal applications.
- Health issues may occur because of touching a single scanning sensor device with a number of individuals.
Fingerprint Sensor Applications
The applications of fingerprint sensors include the following.
- Fingerprint scanners are very helpful in authenticating & identifying an individual’s fingerprint.
- These are reliable & safe devices, so they are used for security authentication.
- These are used in security industries, police stations, mobile devices, and many more.
- These are used to provide biometric security
- These sensors are used in current IoT applications to add security and also identify the users easily.
- These are used in smartphones, wearables, smart industry & smart home applications for data security & entry identification.
Thus, this is an overview of a fingerprint sensor – working with applications. This sensor scans and also analyzes the fingerprint of an individual and checks the identity of the person. So this is mainly used for safety purposes and also verifications of employees, ID verification of the government, biometric authentication for approving transactions & grants the access of the user to some private data. Here is a question for you, what is the biometric sensor?
