TrueSecureTM GT Series Fingerprint Sensor

TrueSecureTM
GT Series
Fingerprint Sensor
Revision: V1.00
Date: �������������
July 10, 2014
GT Series
Fingerprint Sensor
Table of Contents
1 Features.................................................................................................................... 3
2 Applications............................................................................................................. 3
4 Block Diagram.......................................................................................................... 4
5 General Description................................................................................................. 4
6 Pin Description........................................................................................................ 5
7 Electrical Specifications......................................................................................... 7
8 Other Specifications................................................................................................ 7
9 Functional Description............................................................................................ 7
Power On Sequence............................................................................................................... 8
Internal EEPROM .................................................................................................................. 8
Internal Registers.................................................................................................................... 9
PAGE 0x00........................................................................................................................................ 9
CMOS Sensor Initialisation.............................................................................................................. 10
Sample code to Obtain an Image.................................................................................................... 12
Image Output Quality....................................................................................................................... 13
10 Mechanical Specifications.................................................................................. 14
GT-5110E1....................................................................................................................................... 14
GT-5120E2...................................................................................................................................... 15
Rev. 1.00
2 of 16
July 10, 2014
Table of Contents
3 Selection Table......................................................................................................... 3
GT Series
Fingerprint Sensor
1
Features
▆▆
▆▆
▆▆
▆▆
▆▆
▆▆
▆▆
▆▆
▆▆
2
Applications
▆▆
▆▆
▆▆
▆▆
3
Features
▆▆
Single chip fingerprint recognition sensors
Advanced optical technology
High accuracy and high recognition speed
Ultra-thin profile
Internal I2C interface for parameter setting
High C/P Ratio
CCIR601 Interface
Special surface design can accommodate dry fingers
Static electricity resistant durable design
Resists 2D non-genuine fingerprints for higher safety coefficients
Notebook computer login
Household security products
Vehicle entry systems
Biometric identification products
Selection Table
The range of devices shown in the selection table are similar in function, but differ mainly in their
connector types, resolution and dimensions etc.
Part No.
Rev. 1.00
Effective Resolution
Area (mm2)
(DPI)
Image
Pixels
Interface Connector
Dimension (mm3)
(W × D × H)
GT-5110E1 14 × 12.5
450
320 × 240 CCIR601
24-pin FPC
GT-5120E2 14 × 12.5
450
320 × 240 CCIR601
Stamp Hole 27 × 20.7 × 7.74
3 of 16
17 × 33 × 7.74
July 10, 2014
GT Series
Fingerprint Sensor
4
Block Diagram
The following shows a simplified version of the internal functions of the fingerprint module.
VDD
Block Diagram
PWDN – Sensor Enab�e
LED Contro�
RSTB Reset
GT Fingerprint
Sensor
EEPROM and
interna� registers
MCLK Inp�t C�ock
VSYN/HSYN/PCLK
O�tp�t C�ocks
D0~D7 Image Data
�
I C B�s
VSS
5
General Description
Fingerprint recognition technology is proving to be an increasingly popular means of secure
and accurate means of biometric identification. By eliminating the need to remember multiple
passwords this biometric recognition technology will continue to see more prevalent use in
everyday products where security features are required. This range of Holtek fingerprint sensors
with their advanced optical technology, ultra thin profile, durable structure, high ESD immunity
and other features combine to provide designers with a reliable and highly functional sensor for
products requiring fingerprint recognition functions.
Rev. 1.00
4 of 16
July 10, 2014
GT Series
Fingerprint Sensor
6
Pin Description
The fingerprint sensors have an 8-bit parallel image data output structure along with several control
lines. Note that the pin out description depends upon the part number suffix either E1 or E2.
Pin No.
I/O
Pin Name
Function
—
—
Reserved – leave floating
2
I
LED_CON
LED Control – Active high
3
I
RSTB
Reset – Active low
4
O
D0
Data output
5
O
D1
Data output
6
O
D2
Data output
7
O
D3
Data output
8
O
D4
Data output
9
O
D5
Data output
10
O
D6
Data output
11
O
D7
Data output
12
—
3.3V
Power
13
—
3.3V
Power
14
I/O
SCL
I2C Clock
15
I/O
SDA
I2C Data
16
—
GND
Ground
17
—
GND
Ground
18
O
VSYNC
Horizontal Synch
19
O
HSYNC
Vertical Synch
20
—
GND
Ground
21
I
MCLK
Input Clock
22
—
GND
Ground
23
O
PCLK
Output Clock
24
I
PWDN
Sensor Enable Pin – active low
Pin Description
1
GT-5110E1
Rev. 1.00
5 of 16
July 10, 2014
GT Series
Fingerprint Sensor
Pin No.
1
I/O
—
Pin Name
Function
—
Reserved
O
D5
Data output
3
O
D6
Data output
4
O
D7
Data output
5
I/O
SCL
I2C Clock
6
I/O
SDA
I2C Data
7
O
VSYN
Horizontal Synch
8
O
HSYN
Vertical Synch
9
I
RSTB
Reset – Active low
10
I
PWDN
Sensor Enable Pin – active low
11
—
3.3V
Power
12
—
GND
Ground
13
I
MCLK
Input Clock
14
I
LED_CON
LED Control – Active high
15
O
D0
Data output
16
O
D1
Data output
17
O
D2
Data output
18
O
D3
Data output
19
O
PCLK
Output Clock
20
O
D4
Data output
Pin Description
2
GT-5120E2
Rev. 1.00
6 of 16
July 10, 2014
GT Series
Fingerprint Sensor
7
Electrical Specifications
Symbol
Test Conditions
Min
Typ
Max
—
3.3
5.0
6.0
V
—
—
52
mA
VDD
Operating Voltage
IDD
Operating Current
VOL
D0-D7 input low voltage
—
—
—
TBD
V
VOH
D0-D7 input high voltage
—
TBD
—
—
V
No output pin load
Other Specifications
Item
9
Units
Value
Sensor Interface
CCIR601
Image Gray Scale
8-bit/pixel – max 256 gray levels
TV Distortion
< 4%
Operating Environment Temp
-20°C ~ +60°C
Operating Environment Humidity
-0% ~ 80%
Functional Description
These fingerprint recognition modules include a CMOS image sensor which can capture a
fingerprint image for processing. The image is transmitted out on an 8-bit CCIR601 interface
controlled by the usual CMOS image sensor signals. An internal EEPROM stores certain sensor
parameters and can be accessed using an internal I2C interface. Note that pin 1 on these sensors is
a reserved pin and must be left floating.
Rev. 1.00
7 of 16
July 10, 2014
Electrical Specifications
8
Parameter
GT Series
Fingerprint Sensor
Power On Sequence
The sensors must be powered on in a certain manner to ensure their correct operation. The
following timing diagram shows how this is implemented.
VDD
Functional Description
PWDN
RSTB
MCLK
Internal EEPROM
An internal EEPROM in each of the sensors provides the devices with 16 locations for default
setups. These setting are used to provide a unified image quality. These settings can be read out by
external hardware via the device’s I2C interface.
The following table provides a description of the 16 EEPROM data contents.
Address
EEPROM[0]
Black circle centre X-coordinate
X+120 = Center X on the side of 320
EEPROM[1]
Black circle centre Y-coordinate
Y+108 = Center Y on the side of 240
EEPROM[2]
Reserved
EEPROM[3]
Reserved
EEPROM[4]
Reserved
EEPROM[5]
Reserved
EEPROM[6]
Reserved
EEPROM[7]
Exposure Time High Byte
EEPROM[8]
Exposure Time Low Byte
EEPROM[9]
Reserved
EEPROM[10]
Reserved
EEPROM[11]
Reserved
EEPROM[12]
Reserved
EEPROM[13]
Reserved
EEPROM[14]
EEPROM[15]
Rev. 1.00
Description
Must both be "G" for valid EEPROM data
8 of 16
July 10, 2014
GT Series
Fingerprint Sensor
Internal Registers
All EEPROM registers are setup via the I 2C interface. Ensure that the correct page is selected
before setting the value of each register. To select an EEPROM page the following instruction
should be used:
i2c_send_data(0xfe, Page)
Address
Rev. 1.00
Default
Description
0x03
EEPROM[7]
Exposure Time High Byte
0x04
EEPROM[8]
Exposure Time Low Byte
0x09
0x00
0x0A
0x04
0x0B
0x00
0x0C
0x00
0x0D
0x01
Windows mode 640×480
0x0E
0xE8
0x0F
0x02
0x10
0x88
0x11
0x2A
Sh_Delay
0x44
0xA2
Output format (YCbCr)
0x50
0x01
Crop out window mode
0x51
0x00
0x52
0x00
0x53
0x00
Functional Description
PAGE 0x00
0x54
0x00
0x55
0x00
0x56
0xF0
0x57
0x10
0x58
0x40
0x70
0x75
Global Gain
0xD3
0x80
Contrast
Subsample output 320×240
9 of 16
July 10, 2014
GT Series
Fingerprint Sensor
CMOS Sensor Initialisation
The following instructions use the I2C interface to read and write to the internal ram registers. If
the following initialisation is used and the input MCLK clock is 24MHz then PCLK output clock
will be 12MHz. To initialise the fingerprint module sensor the following sequence should be used.
Rev. 1.00
10 of 16
Functional Description
void Sensor_Init(void)
{
u8 rtn;
I2C_WriteSensorRegister(0xfc , 0x16);
rtn = I2C_ReadSensorRegister(0x00);
I2C_WriteSensorRegister(0xfe , 0x80);
I2C_WriteSensorRegister(0xfe , 0x00);
I2C_WriteSensorRegister(0xfc , 0x16);
I2C_WriteSensorRegister(0xf1 , 0x01);
I2C_WriteSensorRegister(0xf0 , 0x07);
I2C_WriteSensorRegister(0xfa , 0x00);
I2C_WriteSensorRegister(0x24 , 0x3f);
I2C_WriteSensorRegister(0x46 , 0x02);
I2C_WriteSensorRegister(0x09 , 0x00);
I2C_WriteSensorRegister(0x0a , 0x04);
I2C_WriteSensorRegister(0x0b , 0x00);
I2C_WriteSensorRegister(0x0c , 0x00);
I2C_WriteSensorRegister(0x0d , 0x01);
I2C_WriteSensorRegister(0x0e , 0xe8);
I2C_WriteSensorRegister(0x0f , 0x02);
I2C_WriteSensorRegister(0x10 , 0x88);
I2C_WriteSensorRegister(0x17 , 0x14);
I2C_WriteSensorRegister(0x19 , 0x05);
I2C_WriteSensorRegister(0x1F , 0xC0);
I2C_WriteSensorRegister(0x1E , 0x15);
I2C_WriteSensorRegister(0x20 , 0x00);
I2C_WriteSensorRegister(0x21 , 0x48);
I2C_WriteSensorRegister(0x22 , 0xDA);
I2C_WriteSensorRegister(0x23 , 0x41);
I2C_WriteSensorRegister(0x24 , 0x16);
I2C_WriteSensorRegister(0x33 , 0x20);
I2C_WriteSensorRegister(0x34 , 0x20);
I2C_WriteSensorRegister(0x35 , 0xFF);
I2C_WriteSensorRegister(0x36 , 0xFF);
I2C_WriteSensorRegister(0x41 , 0x00);
I2C_WriteSensorRegister(0x42 , 0xFE);
I2C_WriteSensorRegister(0x4F , 0x00);
I2C_WriteSensorRegister(0x70 , 0x40);
I2C_WriteSensorRegister(0x76 , 0x8A);
I2C_WriteSensorRegister(0xB0 , 0x00);
I2C_WriteSensorRegister(0xBC , 0x00);
I2C_WriteSensorRegister(0xBD , 0x00);
I2C_WriteSensorRegister(0xBE , 0x00);
July 10, 2014
GT Series
Fingerprint Sensor
Rev. 1.00
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
0x03);
0x00);
0xCA);
0x01);
0x00);
0x00);
0x00);
0x00);
0x00);
0xf0);
0x01);
0x40);
0x22);
0x03);
0x00);
0x00);
0x00);
0x00);
0x00);
0x00);
0x00);
0x00);
EEPROM[7]);
EEPROM[8]);
0x02);
0x2A);
0xBf);
0x02);
0x75);
0xFF);
0x70);
0xFF);
0x80);
0x00);
0x0B);
0x19);
0x2B);
0x37);
0x48);
0x51);
0x5E);
0x97);
0xB2);
0xC9);
0xDF);
0xFF);
11 of 16
Functional Description
}
I2C_WriteSensorRegister(0x4D
I2C_WriteSensorRegister(0xfe
I2C_WriteSensorRegister(0x4b
I2C_WriteSensorRegister(0x50
I2C_WriteSensorRegister(0x51
I2C_WriteSensorRegister(0x52
I2C_WriteSensorRegister(0x53
I2C_WriteSensorRegister(0x54
I2C_WriteSensorRegister(0x55
I2C_WriteSensorRegister(0x56
I2C_WriteSensorRegister(0x57
I2C_WriteSensorRegister(0x58
I2C_WriteSensorRegister(0x59
I2C_WriteSensorRegister(0x5a
I2C_WriteSensorRegister(0x5b
I2C_WriteSensorRegister(0x5c
I2C_WriteSensorRegister(0x5d
I2C_WriteSensorRegister(0x5e
I2C_WriteSensorRegister(0x5f
I2C_WriteSensorRegister(0x60
I2C_WriteSensorRegister(0x61
I2C_WriteSensorRegister(0x62
I2C_WriteSensorRegister(0x03
I2C_WriteSensorRegister(0x04
I2C_WriteSensorRegister(0x44
I2C_WriteSensorRegister(0x11
I2C_WriteSensorRegister(0x40
I2C_WriteSensorRegister(0x41
I2C_WriteSensorRegister(0x70
I2C_WriteSensorRegister(0x7A
I2C_WriteSensorRegister(0x7B
I2C_WriteSensorRegister(0x7C
I2C_WriteSensorRegister(0xD3
I2C_WriteSensorRegister(0x63
I2C_WriteSensorRegister(0x64
I2C_WriteSensorRegister(0x65
I2C_WriteSensorRegister(0x66
I2C_WriteSensorRegister(0x67
I2C_WriteSensorRegister(0x68
I2C_WriteSensorRegister(0x69
I2C_WriteSensorRegister(0x6A
I2C_WriteSensorRegister(0x6B
I2C_WriteSensorRegister(0x6C
I2C_WriteSensorRegister(0x6D
I2C_WriteSensorRegister(0x6E
I2C_WriteSensorRegister(0x6F
July 10, 2014
GT Series
Fingerprint Sensor
Sample code to Obtain an Image
The following is the sample code to place a 320×240 image into the buffer. To clip an effective
area, EEPROM[0,1] gives the coordinates of the black centre relative to the top left corner.
Rev. 1.00
12 of 16
July 10, 2014
Functional Description
void get_image(u8* ptr_img)
{
u32 i,j;
u8*tmp_ptr;
cmos_led_on(true);//Set pin.2 to Hight Level
while(ROM_GPIOPinRead(GPIO_PORTA_BASE,CMOS_VSYNC)==0) //pin.18==0
{
}
while(ROM_GPIOPinRead(GPIO_PORTA_BASE,CMOS_VSYNC)!=0) //pin.18==1
{
}
while(ROM_GPIOPinRead(GPIO_PORTA_BASE,CMOS_VSYNC)!=0) //pin.18==1
{
}
for(j=0;j<240;j++)
{
while(GPIOPinRead(GPIO_PORTA_BASE,CMOS_HSYNC)==0) //pin.19==0
{
}
tmp_ptr=ptr _img+j;
for (i=0;i<320;i++)
{
*(tmp_ptr+i*240)=*(u8*)(0x400073FC); //Store image data (1 byte)
while(GPIOPinRead(GPIO_PORTA_BASE,CMOS_PCLK)!=RESET); //pin.23==1
while(GPIOPinRead(GPIO_PORTA_BASE,CMOS_PCLK)==RESET); //pin.23==0
while(GPIOPinRead(GPIO_PORTA_BASE,CMOS_PCLK)!=RESET); //pin.23==1
}
while(GPIOPinRead(GPIO_PORTA_BASE,CMOS_HSYNC)!=RESET);// pin.18==1
}
cmos_led_on(false); //Set pin.2 to Low Level
}
GT Series
Fingerprint Sensor
Image Output Quality
For the above the default values are based on an MCLK frequency of 24 MHz and a PCLK
frequency of 12 MHz. If slower clocks are used, then the image will become brighter with the same
default values. Therefore the default exposure time setup in EEPROM[7~8] will have to be reduced
to obtain the same image quality.
The following equation provides approximately the same brightness for a different PCLK:
In the above equation X is the new PCLK and Y is the new exposure time
Set Y to the corresponding registers as shown by the following and then fine tune the value to get
the final desired image:
i2c_send_data(0xfe, 0x00); // Select PAGE 0x00
i2c_send_data(0x03, Y/256); // High byte
i2c_send_data(0x04, Y%256); // Low byte
If the final fine-tuned exposure time is Y, save Y to the EERPOM to be used by future sensor
initialisation processes.
EEPROM[7] = Y/256
EEPROM[8] = Y%256
Rev. 1.00
13 of 16
July 10, 2014
Functional Description
Y = (EEPROM[7] * 256 + EEPROM[8]) / ( 12 / X )
GT Series
Fingerprint Sensor
10
Mechanical Specifications
GT-5110E1
17
16.78
12.90
Mechanical Specifications
6.82
0.11
33
20.78
16.90
Pin1
2.80
Rev. 1.00
14 of 16
July 10, 2014
GT Series
Fingerprint Sensor
GT-5120E2
6.87
Pin 1
7.04
5.15
27
Mechanical Specifications
21.80
19.94
2.27
19.17 20.70
Pin 11
7.67
July 10, 2014
15 of 16
Rev. 1.00
GT Series
Fingerprint Sensor
Mechanical Specifications
Copyright© 2014 by HOLTEK SEMICONDUCTOR INC.
The information appearing in this Data Sheet is believed to be accurate at the time
of publication. However, Holtek assumes no responsibility arising from the use of
the specifications described. The applications mentioned herein are used solely for
the purpose of illustration and Holtek makes no warranty or representation that such
applications will be suitable without further modification, nor recommends the use of
its products for application that may present a risk to human life due to malfunction or
otherwise. Holtek's products are not authorized for use as critical components in life
support devices or systems. Holtek reserves the right to alter its products without prior
notification. For the most up-to-date information, please visit our web site at http://www.
holtek.com.tw.
Note that Holtek’s fingerprint recognition products have been designed in conjunction with
Gingy Technology.
Rev. 1.00
16 of 16
July 10, 2014