Hi,
I have a problem with the Grove NFC (v1.1). I am just not able to find any NFC tag with it. I have just copied the example code
[code]#include “PN532_HSU.h”
#include “PN532.h”
#include “NfcAdapter.h”
PN532_HSU interface(Serial1);
NfcAdapter nfc = NfcAdapter(interface);
void setup(void) {
Serial.begin(115200);
Serial.println(“NDEF Reader”);
nfc.begin();
}
void loop(void) {
Serial.println("\nScan a NFC tag\n");
if (nfc.tagPresent())
{
NfcTag tag = nfc.read();
tag.print();
}
delay(5000);
}[/code]
but it doesn’t work. I have a Arduino Mega with the Mega Grove Shield. The Grove NFC is connected to UART1. I have tried many different NFC Tags, right now I have Mifare Classic Tags with a 4 byte UID. I also have multiple NFC Grove chips and it works with none of them. The connection to the chip works, I can communicate with the chip e.g. get the firmware version, but I am not able to find any tag.
Can you give me any hint what else could be wrong?