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!
SoftwareThe 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 โ
โฐโโโโโโโโโฏ โฐโโโโโโโโฏ โฐโโโโโโโโโฏ โฐโโโโโโโโโฏ
Comments