Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:rc522 [2015/02/10 18:17] – [Pinout] darron | interfaces:rc522 [2015/03/22 21:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== RFID RC522 ==== | ==== RFID RC522 ==== | ||
<wrap right> | <wrap right> | ||
- | {{: | + | {{: |
</ | </ | ||
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 17: | Line 20: | ||
+ *SDA SCK MOSI MISO IRQ GND RST 3V3 + | + *SDA SCK MOSI MISO IRQ GND RST 3V3 + | ||
- | *Although labelled I2C SDA, the function is SPI NSS. | + | *SDA is the SPI NSS (slave select) input. |
- | + | ||
- | I2C mode is not enabled on this module. | + | |
</ | </ | ||
+ | |||
+ | === RPi === | ||
+ | |||
+ | ^Pin | ||
+ | |GPIO8 |CE0 | SDA | | ||
+ | |GPIO11|SCLK | SCK | | ||
+ | |GPIO10|MOSI | MOSI | | ||
+ | |GPIO9 |MISO | MISO | | ||
+ | | | | IRQ | | ||
+ | |GND | ||
+ | |GPIO25| | ||
+ | |3V3 | ||
+ | |||
=== Resources === | === Resources === | ||
[[http:// | [[http:// |