Use MFRC522 RFID Reader With Arduino

Hello! I am going to teach you how to make a cool, easy to make key card or key fob scanner! If you have a RFID MFRC522 module, leds, resistors, wires, a arduino uno, a breadboard, and a 9v battery(optional), then you are good to go to make a cool, easy to make key card or key fob scanner!

Step 1: What You Need

To make this project you will need: A RFID MFRC522 module, leds, resistors, wires, a arduino uno, a breadboard, and a 9v battery(optional).

You can find the RFID MFRC522 here. The other stuff is pretty basic so you should have it. If you don't, then I'm sure you can find it on amazon.

Step 2: Connect the RFID MFRC522 to the Arduino

Connect the RFID to the arduino:

Pin connections:

RFID:Arduino

VCC:3.3v

RST:D9

GND:GND

MISO:D12

MOSI:D11

SCK:D13

NSS(or SDA):D10

Step 3: Connect the Leds to the Arduino

Connect a red led to pin 8 and a green led to pin 7 with 1MOhm resistor in front of it. Then ground the leds.

Step 4: Connect the 9v Battery

Connect the 9v battery by connecting the battery to the battery holder and then the positive to VIN on the arduino and the GND to the GND on the arduino.

Step 5: The Code

You will find the libraries and code that you need in the zip file. After uploading the code, the red led should be on. If you tap a 13.56 Mhz ID card to the scanner, the green led will turn on.

Share

    Recommendations

    • Make it Glow Contest 2018

      Make it Glow Contest 2018
    • Big and Small Contest

      Big and Small Contest
    • PCB Contest

      PCB Contest

    Discussions