SCE - RFID Door Lock

Status Espressif Arduino NXP

Table of Contents

  • General Description
  • Project Setup
  • Component Selection
    • ESP32C3
    • PN532
    • OLED Display
  • Firmware

General Description

  • Using RFID Enabled cards or phone emulators, we can manage access to the SCE office using the reader installed in the window. Based on Bradley's Prototype, this project takes that concept and makes it a flexible wifi enabled tool for club use.

Project Setup


Component Selection

ESP32

  • SoC with wifi capability for HTTP requests

PN532

  • RFID/NFC Module for phone and card reading

OLED

  • Genaric 0x3C 128x32 OLED display for user feedback

Firmware

2 Primary functions

Reading NFC Card
When an NFC Card is present, take the UID of the card that has been read and attach it to an HTTP Post request to the API. Handle the response accordingly in the access feedback section. 
Access Feedback
Based on the response from the HTTP request when a card is present, have the OLED display read one of two values. Either "Granted" or "Denied"

- In the access granted case, send power to the relevant pin to trigger the MOSFET that will open the door, and display "Granted" onto the OLED display

- In the access denied, display the "Denied" onto the OLED Display.