Sparkfun Electronics GT-521F Series Hook-Up Manual Download Page 4

No Finger Touching

LOW => LOW

Finger Touching the Frame

HIGH => HIGH

Removing a Finger From the Frame

HIGH => LOW

Note: If the fingerprint scanner is powered from the UART side, you will need to still provide 3.3V to power the touch interface. The GND is connected to GND plane.

Hardware Hookup

The fingerprint scanner requires a serial UART connection and power. There are a few options to connect to the sensor depending on what UART device you are using. The
easiest would be to use an FTDI but you can also use any microcontroller that has a UART.

1.) Connecting w/ a 3.3V FTDI

Option 1: Qwiic Cable

To connect the fingerprint scanner to your computer, it is recommended to connect the JST SH cable to a USB-to-serial converter. Here are the minimum required parts you
would need to get started:

Fingerprint Scanner (GT-521F32 or GT-521F52)
Qwiic Cable - Breadboard Compatible
3.3V FTDI Basic Breakout
Mini-B USB Cable

Below are the following connections you would need to make with the JST-SH connector labeled as J2:

Fingerprint Scanner [Pin #]

FTDI 3.3V

UART_TX (3.3V TTL) [Pin 1]

RX

UART_RX (3.3V TTL) [Pin 2]

TX

GND [Pin 3]

GND

Vin (3.3V~6V) [Pin 4]

3.3V

After connecting, the setup should look like the image below.

Note: The colors of the Qwiic Cable are standard for I C connections, not UART, so the colors will not match typical standards for colored cables. For example, the red
wire in this circuit connects Rx to Tx. Double check your connections before powering the scanner.

Option 2: Making a Custom Adapter

If you are using the JST SH Jumper 4 Wire Assembly instead of the Qwiic cable, it is highly recommended that you make a custom adapter by soldering to the ends of the
wire for a secure connection. This will ensure that the connection is not loose when inserting it into female header sockets of an FTDI or the RedBoard/Arduino Uno. The
cable wire is small compared to the female header socket. A small bump can mess with the serial UART or power between the fingerprint scanner and converter. This may
require you to reconnect the scanner to your computer or device. Making an adapter will also provide quick access to the small 4-pin JST-SH connector that is on the scanner.

For more information on how to make a custom adapter, please refer to the older tutorial. Remember, the pin locations are the same so the adapter can work with the current
fingerprint scanner.

MAKING A CUSTOM FPS ADAPTER

2.) Connecting w/ a 5V Arduino

Before using the Arduino’s example code, make sure that the logic levels match. If you are using a 5V Arduino, you could use a dedicated logic level converter or resistors for
voltage division. Here are the minimum parts you would need to get started:

Fingerprint Scanner (GT-521F32 or GT-521F52)
Qwiic Cable
Redboard or Arduino Uno
Mini-Breadboard
Bi-Directional Logic Level Converter or 3x 10kOhm Resistors

2

Summary of Contents for GT-521F Series

Page 1: ...erprint identification to your project SparkFun offers a fingerprint scanner from ADH Tech designed to do just that The GT 521F32 and GT 521F52 includes an optical sensor for reading fingerprints and...

Page 2: ...ep in mind when integrating the fingerprint scanner in a project is the number of fingerprints that the device can hold The GT 521F32 costs less but it can hold only 200 fingerprints The GT 521F52 is...

Page 3: ...here is a marking next to the JST SH connector that indicates polarity The JST SH connector breaks out the pins for serial UART and power While the input voltage is between 3 3V and 6V the UART s logi...

Page 4: ...andards for colored cables For example the red wire in this circuit connects Rx to Tx Double check your connections before powering the scanner Option 2 Making a Custom Adapter If you are using the JS...

Page 5: ...he LV side to power the low side of the logic level converters After wiring the circuit it should look like this Option 2 Voltage Division w 3x 10kOhm Resistors Otherwise you could use 3x 10kOhm resis...

Page 6: ...other models To use the demo SDK on a computer 1 Download the SDK_DEMO exe from the product page under the Documents tab 2 Unzip the folder 3 Go to the directory that it was unzipped which should look...

Page 7: ...nd that the finger is placed in the same position during enrollment The template will have a number associated with the fingerprint scanner and it will be saved in its local database Identifying After...

Page 8: ...onnections are correct and the scanner is able to send receive commands The code sets up a the Arduino s hardware serial UART for debugging and tells the scanner to send serial debug messages The code...

Page 9: ...z FioV3 etc you would need to re configure the software serial pin definitions and adjust the connections Not all the pins can support change interrupts for a serial Rx pin depending on what Arduino m...

Page 10: ...perly since it did not have a lot of details I continued to test the drawing in test 1 to see when the scanner would accept the drawing Test 2 was successful in enrolling and identifying by adding a l...

Page 11: ...ner not recognizing your fingers when enrolling There can be issues trying to enroll when using the SDK_Demo exe or Arduino example code This is usually due to fingers being dry and not having good co...

Page 12: ...irectly to the USB port of your computer The image and table below shows the pinout Fingerprint Scanner USB Port Shield right most pin USB Shield not necessary if using a USB breakout board Tied to GN...

Page 13: ...management of a database on multiple fingerprint scanners from one server Node js There s an example in Node js with an API I have not tested this feature before but try looking at this GitHub reposi...

Reviews: