I'm working on a project that includes reading from an rfid. I'm currently using the arduino mega 2560 along with the YHY502 rfid reader and mifare 4K tags.
I'm not able to read the card serial number. Even when the card is there, all that appears on my serial monitor is -1 which means tag is not available.
Note that in the datasheet of the rfid module (http://www.webtronico.com/documentos/DS_YHY502CTG.pdf), the header byte should be AA. But again, all I'm getting is FF even when a card is not available.
Please, I need help with this issue.