fish001

[ART-Pi] Fingerprint door lock expansion board 965040A based on ART-Pi

 
Overview

Project Description:

The smart door lock based on the ART-Pi main control board mainly consists of the ART-Pi main control board , relay, fingerprint module, RFID module, electromagnetic door lock, wireless communication module, LCD touch screen, etc. It can realize functions such as card unlocking, fingerprint unlocking, password unlocking, lock body damage alarm, and remote unlocking.

This system is developed based on the RT-Thread embedded real-time operating system. The system comes with a watchdog that can automatically reset in the event of a downtime to ensure stable operation of the system. In addition, you can connect to the cloud platform to upload unlocking records and achieve remote monitoring and control.

Function Description:

1. Fingerprint unlocking, multiple fingerprints can be entered;

2. Password unlock;

3. RFID unlocking;

4. Remote unlocking;

5. Unlock mobile phone via Bluetooth;

6. The screen displays operating information in real time;

7. Query various unlocking operations on the mobile phone (for example: Zhang San unlocked the mobile phone at 2021.01.15 22:13; Li Si unlocked the phone at 2021.01.15 21:01 with password);

8. Prompt whether the operation is successful or not;

9. Set password on mobile phone;

10. Automatically locks without operation;

11. The screen displays advertising information;

12. Door lock breakage monitoring and alarm;

13. Weather information display


Introduction to main modules

1. AS608 fingerprint module AS608 module uses an 8-pin control interface, the power supply voltage is 3.3V (5V power supply cannot be used), and there are two communication buses, namely serial communication (TX, RX) and USB communication (D+, D-); Using serial communication, programming is relatively simple and is a commonly used one, but the compatibility is not good; using USB communication, programming is relatively difficult, but USB, as the most commonly used bus interface, has good compatibility. The pin definition is as follows: 20191103145651771.png20191103145858162.png There are three types of control instructions, instruction packets, data packets, and end packets; generally the instruction packet is sent to the module by the microcontroller. After the module receives the instruction packet, it returns the corresponding data packet;

指令包主要包括:包头、芯片地址、包标识、包长度、控制参数和校验和;
数据包主要包括:包头、芯片地址、包标识、包长度、数据和校验和 ;
数据包与结束包的区别在于包标识,02H: 数据包,且有后续包。 08H: 最后一个数据包,即结束包。

(For specific API, please see the program in the attachment)

2. RC522 module 1. Pin introduction 20190318135927450.png RC522 supports three communication methods: SPI, I2C and serial port. In this project, the SPI interface is used to communicate with the MCU. 2. Principle block diagram of the communication between RC522 and the microcontroller. 20160713161150807.png Note: An anti-collision card must be added in actual use. function

function display

Note: Due to the first time I used TouchGFX, I encountered many problems during use. Currently, I can only use RGB-LCD to complete simple operations and the UI is not very beautiful. For the sake of time, I temporarily use the OLED display solution (will continue to improve in the next few days). project, add functions that have not been added one after another). 001.jpgMain interface 002.jpglock screen interface

( The formal presentation will follow )

  1. Basic information is displayed at startup, such as lock switch status, date, etc.

1618557714519.jpg

2. Serial port printing fingerprint storage quantity and fingerprint module related setting information Serial port_initialization.png


3. Steps to set the password lock: First, enter the administrator password (used to add and delete magnetic cards, fingerprints, etc.) and then add the user password, user card and fingerprint. After successfully adding the user's magnetic card and fingerprint, you need to set the corresponding number for it.

Note: Up to 300 fingerprints can be added to this project, and 16 can be added to the magnetic card by default. This can also be modified by changing the relevant macro definitions in the program.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-20 01:39:04

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号