
Double Verification Security System
An security system with RFID and password verification
Gallery
Overview
The microprocessor that this project use is STM32F769. It is a very high-performance MCU with Arm Cortex-M7.
Several firmware utilities of the STM32F769 microprocessor were utilized in this project: GPIO, Timer, interrupts, and SPI.
The number pad is a matrix peripheral read by the digital inputs, and the RFID receiver is a SPI slave device which communicates with the STM32 board unidirectionally. Timer generation was used for the timing characteristics of the security system such that the time of
the valid input of the password is limited.
In the development progress, we started with exploring the operation of the keypad, and then the RFID verification, and finally the system integration logics. Intermedium tests were conducted at each of the development steps, and analysis were made to each of these subsystems.
How it works
Keypad Subsystem
-
The keypad we choose is WINGONEER 4x4 Universal 16 Key Switch Keypad
-
Customize our library for the keypad since not usable module for for the STM32F7 series MCU
-
The keypad consist if 8 crossroad of switches: 4 for each rows, and 4 for each columns
-
Connect the 4 rows channels to GPIO input, and the 4 columns channels to GPIO output
-
Fire each rows channels alternatively. During each fire, detect whether there is an event in the columns channels.
-
If a key is pressed, this method can tell which row and which column is the key located.
RFID Subsystem
-
The RFID reader we choose is RC522
-
Configure the RFID reader as an SPI slave device
-
Porting the existing RC522 library for STM32 series
System Integration
-
Implement the system with the RFID reader and the keypad
-
Using the MCU's built-in timer for timing function
-
Porting the existing RC522 library for STM32 series