Wednesday, March 22, 2023

PN532 nfc reader on Arduino

  https://how2electronics.com/interfacing-pn532-nfc-rfid-module-with-arduino/

Tested both versions of connection - SPI & IIC which both worked.  Needed to pay attention to comment and uncomment the definition for the nfc:

// Or use this line for a breakout or shield with an I2C connection:

Adafruit_PN532 nfc(PN532_IRQ, PN532_RESET); // seem these IRQ and reset pin assignments doesn't matter of IIC setup