RFID Based Door Operating System

Example Description
This project demonstrates how to interface an RFID sensor with a Quarky to control the door of an IoT-enabled house using an authorized RFID tag.

This project demonstrates how to interface an RFID sensor with a Quarky to control the door of an IoT-enabled house using an authorized RFID tag.

RFID to Quarky Circuit

Note: We are connecting the RFID sensor directly to Quakry Board.

RFID is short for “radio-frequency identification” and points to a technology whereby a reader catches digital information encoded in RFID tags. RFID sensors have a lot of pins. You have to connect it according to the following:

  1. The GND of the RFID sensor is connected to the GND of Quakry.
  2. The 3.3V of the RFID sensor is connected to the V of Quakry.
  3. The SDA Pin of the RFID sensor is connected to the A2 Pin of Quakry.
  4. The SCK Pin of the RFID sensor is connected to the D1 Pin of Quakry.
  5. The MOSI Pin of the RFID sensor is connected to the D2 Pin of Quakry.
  6. The MISO Pin of the RFID sensor is connected to the D3 Pin of Quakry.

The servo motor is connected to the S1 of Quarky.

Making RFID Master Tag

The following code makes any RFID Tag a master card that can be authorized for security.

This is how it looks:

Code

The following code checks the RFID tag and opens the door.

Output

Table of Contents