Things used in this project
  • PHPoC Black
  • PHPoC Bread Board
  • RFID-RC522
  • 13.56MHz RFID/NFC Card
  • Jumper wires (generic)
Click image for larger version  Name:	cover_img.jpg Views:	1 Size:	80.6 KB ID:	1158


Library for PN532 NFC/RFID controller are available here

In this post, I provides library and examples for another NFC/RFID controller - MFRC522

Demonstration

All of examples in MFRC522 library are the same as examples of PN532 library. Therefore, demonstration are the same.





Schematic
Click image for larger version  Name:	schematic.JPG Views:	1 Size:	64.4 KB ID:	1156

Source code



Source code includes:
  • MFRC522 library
  • Mifare Classic Tag library
  • Examples:
  • read UID
  • read data
  • write data
  • change secret key.
  • Combine three first examples (as shown on demonstration video)

This library are compatible with PN532 library. Therefore, projects that work with PN532 will works with MFRC522 using this library

Some projects work with PN532:
Attached Files