Project showcase
Sesame

Sesame © MIT

Access control using Arduino, RFID and electric strike.

  • 9,605 views
  • 9 comments
  • 23 respects

Components and supplies

A000057 featured
Arduino Leonardo
×1
NXP MFRC522 based RFID module
×1
Solid-state relay module
×1
Electric strike
https://en.wikipedia.org/wiki/Electric_strike
×1
RGB LED module
×1

About this project

This is my first Arduino project, I had this idea for some time and finally took the time to make it real. I am a web developer that is used to interpreted languages, it was really nice to try something different and learn C / C++.

Coding was really straight forward, thanks to this amazing RFID library: https://github.com/miguelbalboa/rfid

The outcome is what you can see here:

I had to modify the frame of the door to house the electric strike, which was one of the biggest challenges, since I don't really have much experience with woodworking. But everything went well!

Software

The system was based on this great example: AccessControl.ino. It uses the microcontroller's EEPROM to store RFID IDs.

The first time it runs, the user has to scan a master card / tag that it's going to later be used to add or remove cards / tags. Resulting in the following flow:

                          ╔═══════════╗
                          ║ CARD READ ║
                          ╚═════╤═════╝
                         ╭──────┴──────╮
                   ✕ ╭───┤ MASTER CARD ├───╮ ✓
                     │   ╰─────────────╯   │
                 ╭───┴───╮             ╭───┴───╮
                 │ KNOWN │             │ FLIP  │
        ✕ ╭──────┤ CARD? ├──────╮ ✓    │ ADMIN │
          │      ╰───────╯      │      │ MODE  │
      ╭───┴───╮             ╭───┴───╮  ╰───────╯
      │ ADMIN │             │ ADMIN │
  ✕ ╭─┤ MODE? ├─╮ ✓     ✕ ╭─┤ MODE? ├─╮ ✓
    │ ╰───────╯ │         │ ╰───────╯ │
╭───┴────╮ ╭────┴──╮  ╭───┴────╮ ╭────┴───╮
│   DENY │ │ STORE │  │  ALLOW │ │ REMOVE │
│ ACCESS │ │ CARD  │  │ ACCESS │ │ CARD   │
╰────────╯ ╰───────╯  ╰────────╯ ╰────────╯

Code

Schematics

Fritzing project
sesame_7NGR6c7ZKT.fzz
Breadboard image
Sesame breadboard ojb88obk1q

Comments

Similar projects you might like

Iono access control

Project tutorial by Team sferalabs

  • 6,207 views
  • 3 comments
  • 14 respects

Arduino Fingerprint Sensor Tutorial

Project tutorial by Nick Koumaris

  • 56,607 views
  • 3 comments
  • 76 respects

Homotica - a simple, cost-effective home control system

Project showcase by Davide Vertuani

  • 43,471 views
  • 16 comments
  • 137 respects

IOT2020 Access Control

Project tutorial by Allan Gallop

  • 4,697 views
  • 0 comments
  • 8 respects

Alexa, Turn On THIS Lamp: Smart 3D Sensor for Amazon Echo

Project tutorial by 3 developers

  • 4,157 views
  • 6 comments
  • 26 respects

Get notified via Mobile, when your room light turned ON!

Project showcase by Nabeeh Talaat

  • 2,700 views
  • 1 comment
  • 9 respects
Add projectSign up / Login