Introduction: RFID Door Lock Using Arduino
Hi guys in this instructables we will learn how to create a door lock with arduino using RFID card & RFID reader.
Since RFID card is used in most of the offices and other secure buildings for door access so i thought we should also build our secure door lock using RFID reader & RFID Card to access the door lock.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Things You Need
Step 2: Connections
Please follow the shown schmatics and connect everything together.
Step 3: Code
Please copy the following code & upload the code to your arduino Board :
char tag ="180088F889E1";
int count = 0;
boolean flag = 0;
count = 0;
while(Serial.available() && count < 12)
input[count] = Serial.read();
if(count == 12)
flag = 1;
while(count<12 && flag !=0)
flag = 1;
if(flag == 1)
if(flag == 0)
for(int k =0; k<= 10; k++)
Step 4: Project in Action
So after connecting everything together and uploading the code to your arduino. Its finally ready for action so connect the power and when you put your RFID card to your card reader it will give access to the door and if it is another card it will not give access. So have fun making your own door lock with Arduino.