I'm trying to read Mifare Classic 1K cards using Seeeduino Lotus. It works with the original https://github.com/miguelbalboa/rfid library, detecting the card and showing its UID.
However, when I try MFRC522v2 version 2.0.4 and use the sample code from the documentation, it shows:
= (unknown)
WARNING: Communication failure, is the MFRC522 properly connected?
Scan PICC to see UID, SAK, type, and data blocks...
Note that the wiring is exactly the same in both cases, with the default pins being used, as specified in the documentation. If I upload back the original sketch, it works.
I noticed that the example from the original MFRC522 library specifies both the SPI SS pin and the reset pin like this:
#define RST_PIN 9
#define SS_PIN 10
however the example from has only the SS pin specified:
MFRC522DriverPinSimple ss_pin(10);
Is this the issue? How do I tell what's the reset pin?