You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,14 @@ Connecting RC522 module to SPI is pretty easy. You can use [this neat website](h
30
30
| SCK | 2 | 23 | GPIO11, SCKL |
31
31
| MOSI | 3 | 19 | GPIO10, MOSI |
32
32
| MISO | 4 | 21 | GPIO9, MISO |
33
+
| IRQ | 5 | 18 | GPIO24 |
33
34
| GND | 6 | 6, 9, 20, 25 | Ground |
34
35
| RST | 7 | 22 | GPIO25 |
35
-
| 3.3V | 8 | 1| 3V3 |
36
+
| 3.3V | 8 | 1,17| 3V3 |
36
37
37
38
You can also connect the SDA pin to CE1 (GPIO7, pin #26) and call the RFID constructor with *bus=0, device=1*
38
39
and you can connect RST pin to any other free GPIO pin and call the constructor with *pin_rst=__BOARD numbering pin__*.
40
+
Furthermore, the IRQ pin is configurable by passing *pin_irq=__BOARD numbering pin__*.
39
41
40
42
__NOTE:__ For RPi A+/B+/2/3 with 40 pin connector, SPI1/2 is available on top of SPI0. Kernel 4.4.x or higher and *dtoverlay* configuration is required. For SPI1/2, *pin_ce=__BOARD numbering pin__* is required.
0 commit comments