Troubleshooting
Wiring the PN532 module
The badge reader connects in one of two ways depending on the interface board: a PN532 module connected over I2C by four wires (MM Workshop boards and Ch'ti Raspy Card), or a reader connected over USB by its cable (other boards). Find your board below.
Important: switch off the cabinet's power before connecting or disconnecting the module.
MM Workshop boards
Tip: this cable is made to simplify the wiring, without removing the board.
- AUX connector The board's 4-pin connector.
- Module pins GND, VCC, SDA and SCL, in that order, each connected to the AUX connector.
- Switches S1 on ON, S2 on OFF: the module talks I2C. In any other position, no badge is read.
| AUX connector (top to bottom on the diagram) | PN532 module | |
|---|---|---|
| Pin 1 | GND | GND |
| Pin 2 | VCC | VCC |
| Pin 3 | SDA | SDA |
| Pin 4 | SCL | SCL |
Good to know
- Checking that the reader responds
- Once the cabinet is back on, “NFC module” must be running in Settings, Services section. Then tap a badge: see The profile.
The Ch'ti Raspy Card V4
- Board connector The 5-pin connector at the top right of the board, marked SC, SD, GND, 5v and 3.3v.
- Module pins GND, VCC, SDA and SCL. They aren't in the same order as on the connector: follow the table below.
- Switches S1 on ON, S2 on OFF: the module talks I2C. In any other position, no badge is read.
| Board connector (top to bottom on the diagram) | PN532 module | Colour | |
|---|---|---|---|
| Pin 1 (SC) | SCL | SCL | Blue |
| Pin 2 (SD) | SDA | SDA | Green |
| Pin 3 (GND) | GND | GND | Black |
| Pin 4 (5v) | 5 V | Not connected | — |
| Pin 5 (3.3v) | 3.3 V | VCC | Red |
The module runs on 3.3 V: the connector's 5v pin stays free.
Other boards
The reader connects directly to the Raspberry Pi. No soldering, but it takes up a USB port.
- Raspberry Pi USB port Any of them.
- Reader's USB-C socket On the left side of the reader.
- Supplied USB cable USB-A at the Raspberry Pi end, USB-C at the reader end. It carries both the data and the reader's power.
Good to know
- Checking that the reader responds
- Once the cabinet is back on, “NFC module” must be running in Settings, Services section. Then tap a badge: see The profile.
