Introduction: RFID Door Lock With Arduino

Picture of RFID Door Lock With Arduino

Basically this project is all about how to make your house,office place and even your personal lockers.This projects makes you understand arduino with RFID and how are the connected together .

So lets get started

Step 1: Things Required

Picture of Things Required
  1. Arduino uno R3
  2. RFID reader RC522
  3. RFID cards
  4. Plunger
  5. relay
  6. Jumper wires
  7. Battery 9 Volts

Step 2: Connecting RFID

Picture of Connecting RFID

ARDUINO to RFID reader

pin 11 to MISO

pin 12 to MOSI

pin 13 to SCK

pin 10 to NSS

pin 9 to RST

These were the connection from Arduino to RFID reader

Step 3: Relay

Picture of Relay

As we are using a plunger it requires 9 volts to work and as we all know an Arduino uno only has max 5 volts . In this case we will then use a relay so we can make it work too.We are using the plunger as a lock .So here is the connections for it :

Arduino to Relay

pin 4 to pin S

5 Volts to pin +

Ground to pin -

Now comes the power in and power out switch

Power in switch should be connected with the battery and power out one with the plunger and connect one of the plunger wire direct with the battery.

Step 4: Code

Picture of Code

This is the link for the code

uplode the code to arduino and enjoy having an rfid code thanks


abhijot55 (author)2017-03-26

Or can we use adriuno mini

abhijot55 (author)2017-03-26

Bro can i use 12 volt door lock relay to lock the door with replacement of plunger or can i use 12 volt charger to connect with relay

Stesty (author)2017-03-13


Is it possible to use more than one RFID reader on the same Arduino ?
I want to control the access of my portal from the street, from my garden and from my house.

sk_076 (author)2016-03-02

I am not able to find plungers...can you help me with that !

saimmurtaza1234 (author)sk_076 2016-05-21

dude it is a simple car plunger which helps open the door

jmigoliva (author)2016-03-06

Thanks for the instructions. But is this the correct code? Thanks

musthy (author)2015-08-20

Hello ,where you get the plunger ? Ebay ?

saimmurtaza1234 (author)musthy2015-08-22

it is car electronic door lock

TC AtakanÖ (author)2015-08-14

ıt ıs really helpfull

amberrayh (author)2015-08-03

This is very helpful. Thank you for sharing!

if you want any help ask me

saimmurtaza1234 (author)2015-08-03

please leve your comments

saimmurtaza1234 (author)2015-08-03

Is my tutorial helpful

About This Instructable



Bio: i am a student in pakistan and have a good knowladge about arduuino
More by saimmurtaza1234:Arduino joysticker  RFID door lock with ArduinoA great tour
Add instructable to: