当前位置:网站首页>SMS based on stm32f103+as608 fingerprint module +4x4 matrix key +sim900a - intelligent access control card system
SMS based on stm32f103+as608 fingerprint module +4x4 matrix key +sim900a - intelligent access control card system
2022-06-13 11:52:00 【Pica Churchill】
STM32F103- Intelligent access control card system
1. Basic introduction
1. Use hardware
| Serial number | name | remarks |
|---|---|---|
| 1 | STM32F103 Single chip microcomputer | I use it STM32F103C8T6 |
| 2 | AS608 Fingerprint module | Fingerprint lock |
| 3 | SIM900A modular | Send verification code to use |
| 4 | 4X4 Matrix key | Password input using |
| 5 | OLED display | The interface display uses ( My is OLED IIC Interface ) |
| 6 | EEPROM | Save password to use ( My is AT24C02) |
| 7 | Relay | Simulate unlocking |
| 8 | Buzzer | Press the key to sound |
2. Function is introduced
----------------------------------------------------------------------------------------------------------
1: You can unlock with a password
2: You can change the password
3: You can unlock with your fingerprint
4: You can add fingerprints
5: You can delete fingerprints
6: The password will not be lost after power failure
7. Support to view the input content
explain :
Input password 3 Time error Lock up , Need to unlock by verification code
To change the password, you need to enter the original password , If the original password is entered incorrectly , The verification code needs to be modified .
Add and remove fingerprints You also need to enter the original password to enter the interface to add or delete .
----------------------------------------------------------------------------------------------------------
2. Code
Because there's too much code , Not all of them are posted here . Need to be able to read the code under .
void init()
{
printf("+Q:844797079");
}
But I also have some notes
Fingerprint module
I also take notes , You can go to the link below to read
Fingerprint related introduction and code
SIM900A modular
I also take notes , You can go to the link below to read
SIM900A Related introduction and code
Matrix key
I also take notes , You can go to the link below to read
Matrix key related introduction and code
The main program
#include "stm32f10x.h"
#include "OLED_I2C.h"
#include "delay.h"
#include "timer.h"
#include "key.h"
#include "stdio.h"
#include "string.h"
#include "led.h"
#include "relay.h"
#include "beep.h"
#include "sim900a.h"
#include "usart.h"
#include "as608.h"
#include "at24cxx.h"
#include "myiic.h"
int main()
{
uint8_t result;
OLED_Init(); //OLED Screen initialization
usart1_init(57600); // A serial port 1 initialization Used to communicate with fingerprint module
usart3_init(115200); // A serial port 3 initialization Used for and SIM900A Module communication
matrix_keys_init(); // Key initialization
timer3_init(); // Timer 3 initialization
timer4_init(); // Timer 4 initialization
led_init(); //LED initialization
relay_init(); // Relay initialization
beep_init(); // Buzzer initialization
while(sim900a_init()); //SIM900A initialization
oled_show_title(); //OLED Show title " Intelligent access control "
as60x_wak_init(); // Fingerprint module initialization
IIC_Init(); //IIC initialization
at24c02_read_data(0,password_source,6); // Read AT24C02 Stored password
while(1)
{
// Verify fingerprint operation Here is the setting that must be in Only the main interface can be used
if(finger_status == FINGER_EXIST && curr_inteface == 0)
{
as608_process(); // Verify fingerprints and related operations
}
if(cls_inteface) cls_process(); // Display and parameter reset
if(key_flag >= 10) key_process(); // Press the key to handle related operations
if(oled_flag >= 85) oled_process(); // Display processing related operations
}
}
Project presentation
Here I will simply select a few functions for dynamic diagram demonstration
Verify password unlock Demo

Fingerprint verification unlock demonstration

Add fingerprint demo

Delete fingerprint Demo

design sketch

summary
design sketch .... It's too messy , DuPont line ..... unreliable . If you have time to learn to draw a board ....
If you think this article is useful to you . Welcome to like 、 Comment ha ha
If people think something is bad , Or if you have any questions, please correct them .
Continue refueling !
边栏推荐
- 树莓派开发笔记(十六):树莓派4B+安装mariadb数据库(mysql开源分支)并测试基本操作
- Kubernetes problem sorting
- 14、wpf之Border装饰器使用小记
- It's the first time that the programmer interview pays so much attention to the concept of investigation
- [tcapulusdb knowledge base] Introduction to tcapulusdb analytical text export
- 【管理知多少】“风险登记册”本身的风险
- web开发者,web开发后台开发
- Auto.js 悬浮窗居中
- 基于STM32F103+AS608指纹模块+4X4矩阵按键+SIM900A发短信——智能门禁卡系统
- 2022.2:EyeshotPro EyeshotUltimate EyeshotFem
猜你喜欢

Camunda定时器事件示例Demo(Timer Events)

2022.2:EyeshotPro EyeshotUltimate EyeshotFem
![[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (I)](/img/c7/18f3fe9626d2bac32fab7ca0c6463d.png)
[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (I)

Wallys/Network_ Card/DR-NAS26/AR9223/2x2 MIMO

(幼升小信息-03)批量模板制作 幼儿基本信息收集文件夹(包含PDF、Word、证件文件夹)

2022年二建《市政》科目答案已出,请收好

基于STM32F103+AS608指纹模块+4X4矩阵按键+SIM900A发短信——智能门禁卡系统
![[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (II)](/img/1b/92cbe7050580a0124a82f70dd3ca21.png)
[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (II)

Camunda timer events example demo (timer events)

Wallys/Network_Card/DR-NAS26/AR9223/2x2 MIMO
随机推荐
CPU的分支预测
(幼升小信息-03)批量模板制作 幼儿基本信息收集文件夹(包含PDF、Word、证件文件夹)
论文翻译 | PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation
[tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction
Mac MySQL installation tutorial
【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(二)
[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (I)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - Introduction to creating game area
break algorithm---dynamic planning(dp-func)
Performance monster on arm64: installation and performance test of API gateway Apache APIs IX on AWS graviton3
MCDF Experiment 2
复习指南,学生党必看
基於STM32F103+AS608指紋模塊+4X4矩陣按鍵+SIM900A發短信——智能門禁卡系統
14、wpf之Border装饰器使用小记
Tamidog knowledge | a comprehensive analysis of the meaning and role of mergers and acquisitions of state-owned enterprises
Discord机器人开发
Fuel scheme and product business modeling
2022年二建《建筑》参考答案汇总
Query the current number of computer CPU cores
[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (II)