Skip to content

C library for interfacing ESP32 with MFRC522 RFID card reader, packaged as ESP-IDF component

License

Notifications You must be signed in to change notification settings

dennisyolkin/esp-idf-rc522

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General info

This ESP32 (esp-idf) library provides an integration with RC522 module. It's forked from here. Some inspiration was taken from Arduino rfid library.

What works?

  • get UID (4, 7, or 10 bytes) from the tag
  • determine type of tag - only for some MIFARE and NTAG tags
  • dump MIFARE classic (1K / 4K) content alongside with access bits
  • dump NTAG213/NTAG215/NTAG216 content
  • writing to Mifare Classic tag

What does not work / not implemented?

  • detect card using IRQ ping (instead of active polling) - all my attempts to make it work failed
  • operations with Value blocks (decrement / increment / restore / transfer / ...)
  • no proper collision handling (it treated as any other error)

Other notes

  • for NTAG / Mifare it uses "default" password only - but it's easy to change it

References

ESP32 connection

ESP32 RC522 Comment
IO22 SDA
IO19 SCK
IO23 MOSI
IO25 MISO
IO33 IRQ (not used / does not work)
GND GND
3v3 3v3

Author

Denis Elkin linkedin

Forked from abobija

License

MIT

About

C library for interfacing ESP32 with MFRC522 RFID card reader, packaged as ESP-IDF component

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.9%
  • Other 1.1%