Use MFRC522 RFID Reader With Arduino

by cobbsaladlove in Circuits > Arduino

4113 Views, 12 Favorites, 0 Comments

Use MFRC522 RFID Reader With Arduino

20181012_175550[1].jpg
20181012_175611[1].jpg
20181012_175654[1].jpg

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!

What You Need

20181012_180741[1].jpg

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.

Connect the RFID MFRC522 to the Arduino

20181012_181632[1].jpg

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

Connect the Leds to the Arduino

20181012_182317[1].jpg

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.

Connect the 9v Battery

20181012_183553[1].jpg

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.

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.