Introduction: Create a Simple Electronic Lock With RFID Using a RC522

This is a simple walkthrough on how to make a lock controlled with RFID tags. I show a few simple locking mechanisms, and also how to download and setup the RC522 RFID reader module. All the information is in the video.

The sketch/code and more project information can be found here:

The library can be downloaded from here:


trekprint (author)2016-01-20


Brilliant project, works perfect with a servo.

I was wondering if you knew of a way to add say a push button to this for opening a door from the inside and what extra code would be needed.



sacchetta (author)2015-11-18

Do you have the schematic or a Fritzing layout? I'm not sure where to plug in the servo. I probably just missed it somewhere in the video. Thanks!

seamster (author)2015-05-25

Nicely done. Thanks for sharing this!