RC522 RFID modules are a simple add-on you can connect to a Raspberry Pi to read MIFARE tags and cards. This is potentially a great feature to include in a security system or any application where you need to identify an object or person without them pressing buttons, operating switches or other sensors.
You can refer to the photo and table below for hardware connection. By default, RST pin is defined as pin 22 or GPIO 25 by library provided. However you can connect to any GPIO pins and later edit the pin connection in the library (MFRC552.py).
|Mifare RC522 RFID Reader||Raspberry Pi|
|RST||Pin 22 / GPIO 25 (can use any GPIO pins)|
|MISO||Pin 21 / GPIO 9 (MISO)|
|MOSI||Pin 19 / GPIO 10 (MOSI)|
|SCK||Pin 23 / GPIO 11 (SCK)|
|SDA||Pin 24 / GPIO 8 (CE0)|
You can consider to buy the product from the list below.