Is there any working MFRC522 library which uses UART?

Hi there. As the title suggests, I am hoping someone could give me a link to a working MFRC522 which implements UART interface instead of SPI.

I found one here https://github.com/zodier/MFRC522-UART-Arduino

But it does not work. And the author seems not to bother about it anymore.

I don't have quite the programming skills to refer to the datasheet and write the library myself. Therefore, if there's anyone willing to implement it, please do so.

Thank you.

cyberjupiter: Hi there. As the title suggests, I am hoping someone could give me a link to a working MFRC522 which implements UART interface instead of SPI.

I found one here https://github.com/zodier/MFRC522-UART-Arduino

But it does not work. And the author seems not to bother about it anymore.

I don't have quite the programming skills to refer to the datasheet and write the library myself. Therefore, if there's anyone willing to implement it, please do so.

Thank you.

Why do you need a "library"? It uses straight RS-232 and you can use the Arduino software serial to read and write to the chip. In any case, you will need to use a TTL to RS232 adapter to get the correct voltages.

Paul

Hi Paul.

There is no RX/TX on the MFRC522 and I believe it doesn't work like that.

cyberjupiter: Hi Paul.

There is no RX/TX on the MFRC522 and I believe it doesn't work like that.

The description of serial UART communication with TX/RX pins begins on page 11 of the data sheet.

Default speed is 9600. UART operation is selected when the chip detects RS232 type voltages on it's interface pins.

Paul

YES you are correct. But then how do I read/write to a RFID tag? The SPI library has the command to do so but not UART.

There isn't any guide for me to follow. How do I write the code?

Pardon me for being direct but that's the real question.