RFID with Arduino

RFID with Arduino

Introduction (How it Works)

Mifare RC522 is the highly integrated RFID card reader which works on non-contact 13.56mhz communication, is a low power consumption, low cost, and compact size read and write chip, is the best choice in the development of smart meters and portable hand-held devices.



Required Hardware

For this module you will need:

 Wiring

Connect the sensor as described below.

Pin Wiring to Arduino Uno
SDA Digital 10
SCK Digital 13
MOSI Digital 11
MISO Digital 12
IRQ unconnected
GND GND
RST Digital 9
3.3V 3.3V

Code

On your PC, Download and install the Arduino IDE from here.

  1. Download the RFID library here created by Miguel Balboa
  2. Unzip the RFID library
  3. Install the RFID library in your Arduino IDE
  4. Restart your Arduino IDE

Now, in the Arduino IDE, Go to File —> Examples –> MFRC522 —> dumpinfo

Connect your Arduino with a USB cable to your PC and upload the code to your Arduino UNO. Open up the serial monitor from tools —> serial monitor and now as soon an RFID it would show up on the serial monitor. Voila! The project is now complete.


Images and Screenshots

 



Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright ©️ 2018 Naman Tech Labs. All Rights Reserved. Logo by Suyash Mittal