Verified Commit 6382ea2d authored by Jakob Moser's avatar Jakob Moser
Browse files

Describe wiring in README

parent c9e93649
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -25,6 +25,31 @@ Maintainer: Jakob Moser <moser@cl.uni-heidelberg.de>

### NFC Reader

#### Wiring

Connect female-female cables to the RC522 module:

| Pin  | Color    |
| ---- | -------- |
| VCC  | 🩶 Gray   |
| RST  | 💜 Purple |
| GND  | 💙 Blue   |
| MISO | 💚 Green  |
| MOSI | 💛 Yellow |
| SCK  | 🧡 Orange |
| NSS  | ❤️ Red    |
| IRQ  | 🤎 Brown  |

<small>(interestingly enough, there is a gray heart, but no gray square emoji — all other colors would have squares)</small>

Then, connect the cables to the Pi as described in this chart:

![Connections between Pi and NFC Reader](./docs/nfc_wiring_static.png)

<small>Image based on [Pinout.xyz](https://pinout.xyz) created by [@gadgetoid](https://fosstodon.org/@gadgetoid)</small>

#### Configuration

1. Open `sudo raspi-config`
2. Go to “Interface Options”
3. Go to “SPI”