/STM32F103_RFID_Access_Control

Simple and easy to use Access Control with RFID Tags and Keypad based on STM32F103 uController

Primary LanguageCGNU General Public License v3.0GPL-3.0

RFID MFRC522 Access Control

Project

Project and Goals

Made a simple and easy to use solution for door entry systems (or maybe other purposes) with rfid tag combined with keypad. First i think i can complete this project in the already existing repository Arduino RC522 RFID Access Control but than i decided to make a new project with a STM32 F103RB microprocessor cause i got with all pins used only 1 pin open if a use a simple Arduino UNO Board and i only got some Nucleo Boards which will support the count of pins i had to use. I build all hardware in a Hammond enclosure with the ability to position it next to a door or something.

What Hardware is used?

  • STM32F103RB as Microcontroller on Nucleo F103 Board as CPU

  • MFRC522 RFID Reader Module

  • 4x5 Keypad Matix (optionally you can use TTP229 based touch keys)

  • A beeper for simple sound feedback

  • Two LEDs for visual feedback (green and red)

  • Hammond Enclosure 1594E (lil' big, but it looks good)

Libraries used

  • SPI Library for MFRC522 RFID Reader
  • Modified KeyPad Matrix Library from Tilen Majerle
  • Modified MFRC522 Library also from Tilen Majerle
  • Feedback Library for the audiovisual feedbacks
  • UART Library for Debug output to RS232 (only in debug releases)
  • TTP229 Touch Controller Library (optional instead of keypad matrix)

Pictures from assembling

Enclosure Enclosure

Photo1 The KeyPad Matrix i used

Photo2 The cheap china MFRC522 RFID Reader

Photo3 TTP229 Touchpad Controller Test Board

Photo4 The Nucleo Board with STM32F103RB as Central Unit

Photo6 Photo14 Groundplate for the Nucleo Board to attach inside of enclosure with double faced adhesive tape

Photo8 I cutted some plastic screws and glued it in small drilled holes in the front of the enclosure, these pins will hold the RFID Reader

Photo7 Here you see the hole for the keypad matrix and the board for the two front leds

Photo9 The RFID Reader fully mounted on front

Photo10 The sensitive area from the RFID Reader is just under the keypad matrix

Photo12 The buzzer was simply glued to an hole in the enclosure (down faced), so it uses the enclosure as additional resonating body

Photo13 These small plastic servo i use for testing purposes in this project

rfid_reader_signal Sample Signal from RFID Reader SPI communication

License

This procject is released under the GNU General Public License, you find a copy of the whole license in the LICENSE file in the root of this project.