--- tags: Arduino --- # NFC PN532 Modules ![](https://i.imgur.com/Qg286tw.png) ![](https://i.imgur.com/hqS3rNO.png =150x) ## 接線 | NFC Module | UNO board | Mega2560 board | | -------- | -------- | -------- | | NFC_5V | UNO_5V | | | NFC_GND | UNO_GND | | | NFC_NSS | UND_D10 (SS) | Pin53 | | NFC_MO | UNO_D11 (MOSI) | Pin51 | | NFC_MI | UNO_D12 (MISO) | Pin50 | | NFC_SCK | UNO_D13 (SCK) | Pin52 | ![](https://i.imgur.com/6J6agl9.png) ## FW [PN532 NFC RFIDmodule](http://wiki.sunfounder.cc/index.php?title=PN532_NFC_RFID_Module) 參照安裝library後,將pin腳修改如下即可執行: #define PN532_SCK (52) #define PN532_MOSI (51) #define PN532_SS (53) #define PN532_MISO (50) ![](https://i.imgur.com/QWEMsHA.png)