PN532 NFC to Galaxy Nexus

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

PN532 NFC to Galaxy Nexus

Postby Gsenpod » Fri May 11, 2012 6:10 am

How can i send something from the Adafruit PN532 NFC/RFID Controller Shield directly to the Galaxy Nexus?
Sort of a P2P Connecection. I want to push a URL directly from the shield onto the phone like in this example:
http://www.youtube.com/watch?v=DUwl0m4g89M

Any ideas?

Merci
Gsenpod
 
Posts: 3
Joined: Fri May 11, 2012 6:01 am

Re: PN532 NFC to Galaxy Nexus

Postby ktownsend » Sat May 12, 2012 4:11 am

If you want to do this using P2P and a beaglebone you'll be better off looking at libnfc as a starting point since you can use their existing work and get some of the other libraries that sit on top of libnfc working on the BB. Have a look at libnfc.org for more information.

Kevin
ktownsend
 
Posts: 201
Joined: Thu Nov 05, 2009 1:18 am

Re: PN532 NFC to Galaxy Nexus

Postby Gsenpod » Sat May 12, 2012 6:19 am

Thx for the quick reply, i´m using an arduino uno at the moment, so i´m not able to access other libs. Is there any way to do it with an arduino?
Gsenpod
 
Posts: 3
Joined: Fri May 11, 2012 6:01 am

Re: PN532 NFC to Galaxy Nexus

Postby Gsenpod » Sat May 12, 2012 6:20 am

Great would be to know how to set the pn532 to target / passive mode so that it can be read as a tag by the Nexus.
Gsenpod
 
Posts: 3
Joined: Fri May 11, 2012 6:01 am

Re: PN532 NFC to Galaxy Nexus

Postby ktownsend » Sat May 12, 2012 5:15 pm

There's currently no example for this, since the SW stack required to support peer to peer communication is non-trivial.

If you require this, the best bet is simply to dig into the datasheet, and start to understand how the data frames work, what the different modes are for the chip, and really familiarize yourself with NFC. Libnfc is still a good starting point for this since their code is reasonably well structured, and they have an example (I believe) of emulating a tag with the PN532 that you may be able to translate over the the Arduino.

The Adafruit library may (and probably will) get extended in the future, but we really can't promise any specific functionality or dates, simply because the amount of SW effort that goes into boards like this can be substantial. P2P and tag emulation has always been on the todo list, the difficulty is always just finding the time to real bite into that since it requires a fair amount of concentration and effort to do properly.
ktownsend
 
Posts: 201
Joined: Thu Nov 05, 2009 1:18 am


Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: No registered users and 8 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]