user6405: I have tried to use Arduino Uno with RFID-RC522 module. It is good work[1] and read rfid cards. But Arduino Yun doesn't work with RFID-RC522 module.
What is diffrent Uno and Yun?
1- http://www.grantgibson.co.uk/2012/04/how-to-get-started-with-the-mifare-mf522-an-and-arduino/

user84: According to the link you provided, we can see that the RFID-RC522 uses SPI to communicate with Arduino.
On Arduino UNO, the SPI pins are located as follows:

pin 11: MOSI,
pin 12: MISO, 
pin 13: SCK

On the Arduino YUN, this is different though; as stated there (bold highlight is mine):

SPI: on the ICSP header. These pins support SPI communication using
  the SPI library. Note that the SPI pins are not connected to any of
the digital I/O pins as they are on the Uno, They are only available
  on the ICSP connector. This means that if you have a shield that uses
  SPI, but does NOT have a 6-pin ICSP connector that connects to the
  Yún's 6-pin ICSP header, the shield will not work.

Hence you can not wire the RFID-RC522 module the same on UNO and Yun.
For the Yun, you'll have to follow this wiring picture:

Pin 1 in image above is the pin that is marked with a dot on the Yun PCB.
Also see the ISP-header layout, at the lower-right corner of the yun_by_pighi Yun pinout diagram.

6405: <p>I have tried to use Arduino Uno with RFID-RC522 module. It is good work[1] and read rfid cards. But Arduino Yun doesn't work with RFID-RC522 module.</p>

<p>What is diffrent Uno and Yun?</p>

<p>1- <a href="http://www.grantgibson.co.uk/2012/04/how-to-get-started-with-the-mifare-mf522-an-and-arduino/" rel="nofollow">http://www.grantgibson.co.uk/2012/04/how-to-get-started-with-the-mifare-mf522-an-and-arduino/</a></p>
 84: <p>According to the link you provided, we can see that the RFID-RC522 uses SPI to communicate with Arduino.</p>

<p>On Arduino UNO, the SPI pins are located as follows:</p>

<ul>
<li>pin 11: MOSI,</li>
<li>pin 12: MISO, </li>
<li>pin 13: SCK</li>
</ul>

<p>On the Arduino YUN, this is different though; as stated <a href="http://arduino.cc/en/Main/ArduinoBoardYun" rel="nofollow noreferrer">there</a> (bold highlight is mine):</p>

<blockquote>
  <p>SPI: on the ICSP header. These pins support SPI communication using
  the SPI library. <strong>Note that the SPI pins are not connected to any of</strong>
  <strong>the digital I/O pins as they are on the Uno</strong>, They are only available
  on the ICSP connector. This means that if you have a shield that uses
  SPI, but does NOT have a 6-pin ICSP connector that connects to the
  Yún's 6-pin ICSP header, the shield will not work.</p>
</blockquote>

<p>Hence you can not wire the RFID-RC522 module the same on UNO and Yun.
For the Yun, you'll have to follow this wiring picture:</p>

<p><img src="https://i.stack.imgur.com/1WZQo.png" alt="enter image description here"></p>

<p>Pin 1 in image above is the pin that is marked with a dot on the Yun PCB.</p>

<p>Also see the ISP-header layout, at the lower-right corner of the <a href="http://www.element14.com/community/servlet/JiveServlet/showImage/38-18269-212515/yun_by_pighixxx-d6qvbq4.png" rel="nofollow noreferrer">yun_by_pighi</a> Yun pinout diagram.</p>
