Has anyone worked with this module on raspberry pi?!
I just tried i2c connection, the raspberry pi is able to detect the device, but still I don't know which library will work. Please can someone help?!
Posts made by shagun_8
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
It says "the tag is not NDEF Formatted"....so should it be NDEF formatted to use it with the module?
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
When I try to write on the mifare classic......the serial monitor shows....block authentication failed for 4..what to do?
CODE:
#include <Wire.h> #include <PN532_I2C.h> #include <PN532.h> // The following files are included in the libraries Installed #include <NfcAdapter.h> PN532_I2C pn532_i2c(Wire); NfcAdapter nfc = NfcAdapter(pn532_i2c); // Indicates the Shield you are using void setup() { Serial.begin(9600); Serial.println("NFC Tag Writer"); // Serial Monitor Message nfc.begin(); } void loop() { Serial.println("\nPlace an NFC Tag that you want to Record these Messages on!"); // Command for the Serial Monitor if (nfc.tagPresent()) { NdefMessage message = NdefMessage(); message.addTextRecord("Abc"); // Text Message you want to Record boolean success = nfc.write(message); if (success) { Serial.println("Good Job, now read it with your phone!"); // if it works you will see this message } else { Serial.println("Write failed"); // If the the rewrite failed you will see this message } } delay(10000); } Yes you can wrap the code with 3 backticks.
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
One more thing...the module is not reading my nfc tags having Topaz 512 chip...can u please tell me the module is compatible with which nfc tags other than mifare?
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
@Lokki Thanks for your help...now its working
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
No change..still no success....same error
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
That's also not working...same error..!!
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
#if 0 #include <SPI.h> #include <PN532_SPI.h> #include <PN532.h> #include <NfcAdapter.h> PN532_SPI pn532spi(SPI, 10); NfcAdapter nfc = NfcAdapter(pn532spi); #else #include <Wire.h> #include <PN532_I2C.h> #include <PN532.h> #include <NfcAdapter.h> PN532_I2C pn532_i2c(Wire); NfcAdapter nfc = NfcAdapter(pn532_i2c); #endif void setup(void) { Serial.begin(9600); 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); }
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
Still can u send me any of your code..!?
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
@Lokki Yeah..i'm using the example of the library provided by elechouse
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
yeah..the power light is on...i connected vcc --> 5v ; gnd --> gnd ; sda --> A4 ; scl --> A5
-
RE: Elechouse PN532 NFC Module V3 for Arduino etc.
I'm using it with arduino uno...its showing "board pn53x not found"...what can i do?