Nfc

hello
is there any project around NFC architecture (writing and reading)

thanks

You might want to check out out PN532 and MifareClassic Tag interface for the PN532 NFC Module libraries. Links to examples there.

is it working with ntag203 tags ?
I do not think so

You might want to check out out PN532 and MifareClassic Tag interface for the PN532 NFC Module libraries. Links to examples there.
it means that the library is not valid for ntag203 tags ?

A quick google shows that the PN532 can definitely talk to ntag203 tags. You may need to do some software work though:

https://forums.adafruit.com/viewtopic.php?f=31&t=41852

I am trying to connect an RFID reader to EI but no success so far and I do not know how to proceed …
I found examples but inconclusive

can you help me ?
i use this PN532 breakout http://wiki.iteadstudio.com/ITEAD_PN532_NFC_MODULE
thanks

I’m afraid you likely have to do some groundwork yourself, here. The PN532 library smittytone referred to above uses SPI and your breakout would appear to support a SPI connection, so I’d suggest you wire it up appropriately and try it?

I did not really understand (i’m french )

the breakout pn532 support spi connection ,like electric imp ?

Oui!

The PN532 module supports SPI and UART. The imp also supports SPI and UART. If you wish to use the PN532 library, you will need to connect imp to module with SPI.

Here is an I2C/UART version. http://www.seeedstudio.com/depot/Grove-NFC-p-1804.html I really like their antenna design. More versatile.

I used this code but it does not function

the spi pin ? pin1 & pin2 ?

That code uses spi257, ie. pins 2 (MISO), 5 (SCLK) and 7 (MOSI). You have to check the ITHEAD documentation for the location of the correct pins on the ITHEAD NFC board.

PS. Don’t forget you need to set the ITHEAD board’s slider switch correctly to get SPI.

yes ,
yes I plugged the pin

ei pin2 --> pn532 MI
ei pin5 --> pn532 SCK
ei pin7 --> pn532 MO

like this

in this picture pin1 --> SCL

switch is good

and it does not work

is there another example ?

ok it’s good …but i have another problems…

i used this code :https://github.com/electricimp/PN532MifareClassic/tree/v1.0.0
but it doesn’t detect nfc tag ntag106

mifare tag is not a ntag106 tag
the code is not good for ntag 106

…and i don’t understand the code …

I have not found solution to my problem…

It doesn’t look like anyone has experience of the NFC tag you want to use. I think what you’re going to have to do is look at the manufacturers’ datasheet, look at the Mifare datasheet and compare how they work. With that knowledge you can try and adapt the Mifare code. This is what most people do when they want to use hardware for which there is no sample code.

Is there an Arduino library that supports your NFC tag? That might be straightforward to convert to Imp (see ‘Porting Arduino Code’ in the Dev Center).

Your only other choice is to use a different NFC tag, such as the Mifare since you know there is code you can use for that.