NFC PN532 grove v1.1 - M5PAPER
-
hello
i want to connect a NFC PN532 grove to my M5paper on the UART PORT C
i installed the library : https://wiki.seeedstudio.com/Grove_NFC/
but i have this error : Didn’t find PN53x boardthis is my code :
#include <NfcAdapter.h>
#include <PN532/PN532/PN532.h>
#include <M5EPD.h>#include <PN532/PN532_SWHSU/PN532_SWHSU.h>
#include "SoftwareSerial.h"
//HardwareSerial Serial1(1);#define RX_PIN 18
#define TX_PIN 19
#define BAUD_RATE 57600
SoftwareSerial SWSerial(RX_PIN, TX_PIN);
PN532_SWHSU pn532swhsu(SWSerial);
NfcAdapter nfc(pn532swhsu);void setup(void) {
M5.begin();
Serial1.println("NDEF begin");
//delay(5000);
Serial1.begin(9600, SERIAL_8N1,RX_PIN, TX_PIN);
// Serial1.begin(BAUD_RATE, RX_PIN, TX_PIN, SWSERIAL_8N1, false, 95, 11);
Serial1.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);
M5.update();
delay(100);
} -
Hello,
the NFC PN532 is a grove sensor and not an M5Stck sensor thus we don't support it and not familiar with the way their product works, I suggest you to contact seed studio regarding this issue.Where did you get the software? I can see it's m5 combined with the seeedstudio sensor, did you made it yourself?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login