Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
interfaces:rc522 [2015/02/10 18:14]
darron [Pinout]
interfaces:rc522 [2015/03/22 21:55] (current)
Line 1: Line 1:
 ==== RFID RC522 ==== ==== RFID RC522 ====
 +<wrap right>
 +{{:interfaces:rc522-2.jpg?200}}
 +</wrap>
  
 This is a very inexpensive RFID module with an MFRC522 integrated circuit This is a very inexpensive RFID module with an MFRC522 integrated circuit
 and a PCB antenna. and a PCB antenna.
 +
 +Although the MFRC522 has I2C, serial and SPI interfaces, only SPI is
 +available on this module.
  
 === Pinout === === Pinout ===
Line 14: Line 20:
 + *SDA SCK MOSI MISO IRQ GND RST 3V3  + + *SDA SCK MOSI MISO IRQ GND RST 3V3  +
  
-*Although labelled I2C SDAthe function is SPI NSS. I2C mode is not enabled on the module.+*SDA is the SPI NSS (slave select) input.
 </code> </code>
 +
 +=== RPi ===
 +
 +^Pin   ^ALT  ^RFID RC522 |
 +|GPIO8 |CE0  | SDA  |
 +|GPIO11|SCLK | SCK |
 +|GPIO10|MOSI | MOSI |
 +|GPIO9 |MISO | MISO |
 +|      |     | IRQ  |
 +|GND       | GND  |
 +|GPIO25|     | RST  |
 +|3V3       | 3V3  |
  
 === Resources === === Resources ===
 [[http://www.nxp.com/documents/data_sheet/MFRC522.pdf|Data-sheet]] [[http://www.nxp.com/documents/data_sheet/MFRC522.pdf|Data-sheet]]