In this article, we will consider one of the capabilities of the Smart Home technology. Fingerprint command execution. The device is easy to assemble. At a price all this is about 5 thousand rubles. But if instead of a power source to use not an external battery, then 3, 5 thousand rubles. All necessary materials will be marked with an active link.
Tools and materials:
-A computer;
Step One: Display + Arduino
The liquid crystal display that the wizard uses works on the ILI9163C driver. Display resolution 128 * 128, displays up to 260,000 colors. For communication with Arduino uses the SPI protocol. First you need to connect the LCD display to the Arduino Nano board.
Connects according to the scheme below. Left column display, right Arduino.
Vcc ▶ 5V
GND ▶ GND
CS ▶ 10
RST ▶ 9
A0 ▶ 8
SDA ▶ 11
SCK ▶ 13
▶ 3.3V LED
Step Two: Fingerprint Sensor Module
The module is the most expensive part of the project. The module runs on DSP (Digital Signal Processing) chips. The sensor is optical. Analyzes a photo of a finger. Compares with the database and, depending on the result, prohibits or allows further actions. Analysis takes place at a speed of less than 1 second. False positives are less than 0.001%. The module database stores up to 1000 prints.
The sensor is connected according to the scheme below, you can see in the photo. The left column is the fingerprint module, the right column is Arduino.
Black wire ▶ GND
Red wire ▶ 5V
Green wire ▶ 2
White wire ▶ 3
Step Three: Code
Then the wizard proceeds to the configuration. Downloads libraries to a computer.
Next opens Adafruit-Fingerprint-Sensor-Library> Enroll. Using this program, fingerprints are saved in the FLASH-memory of the module. Then opens Serial Monitor. Enters a registration code. Holds a finger for 2 seconds and the fingerprint is stored in memory. At the end of the article there will be a video where you can see the steps to configure the equipment.
Next, the wizard downloads the code. You can download it or, with the latest changes,.
All is ready. This scheme can be used to organize ACS (access control system), with locking devices, etc.