Electrical – Connecting the MFRC522 RFID Reader/Writer to PC

rfid

Referring to the MFRC522 RFID Reader/Writer rfid reader writer module.
How do I configure its UART so it can talk to an rs232 port of a PC?

The answer is probably similar to this question

https://arduino.stackexchange.com/questions/30719/how-to-program-an-nrfl01-rf-module-that-is-connected-to-a-pc-via-a-usb-to-uart-t

which point out that it not easy to write PC software (not suprisingly) for a arduino module with same interface. So the question is then -is there an existing PC software for this?

Best Answer

There's an existing Arduino library that uses the module's UART interface, rather than the more common SPI. It provides basic methods for reading the UID of a card and R/W operations on blocks. You could easily port that library to your favourite PC programming language, connect the module to your PC probably through some USB-UART adapter and get to work.

If your PC has an actual TIA-232 serial port and you want to use that to talk to the module, you'll need a driver like the MAX232 to sit between the module's TTL UART and the PC serial port.

Use this as a guide:

enter image description here

All GNDs must be connected together.