How to connect Pi to PN532 NFC/RFID shield controller

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
akcsachsen
 
Posts: 5
Joined: Sat Jan 11, 2014 1:04 pm

How to connect Pi to PN532 NFC/RFID shield controller

Post by akcsachsen »

hello,
please, can you tell me how exactly can i connect (wire) an adafruit nfc shield (not the breaking board) to a raspberry pi (or macbook) to use nfclib ??
i have an raspberry and the adafruit nfc shield.
till now i can use it with an arduino uno r3. but i want to use it with the nfclib!

what else i need to connect and solder the wire ?

thanks a lot !!

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: How to connect Pi to PN532 NFC/RFID shield controller

Post by adafruit_support_rick »

This is not really recommended, as the RX and TX lines have pullups to 5V on them You would have to step those back down to 3.3V before connecting to the Pi.

However, if you want to do it, you want to close SEL0 and open SEL1 to enable UART mode. MOSI is TX, and SS is RX.

akcsachsen
 
Posts: 5
Joined: Sat Jan 11, 2014 1:04 pm

Re: How to connect Pi to PN532 NFC/RFID shield controller

Post by akcsachsen »

thanks for answer.
so i dont need any adapter?? i just can take some wire to connect from the nfc to the pi ?

i found some infos at www :
here is a howto with the same situation like me (well, they use v.1.0 and i have v.1.3)
http://www.mobilefish.com/developer/lib ... fruit.html
they use the Crius FTDI Basic Breakout 5V USB to TTL 6-Pin Module for MWC MultiWii Lite / SE
http://dx.com/p/crius-ftdi-basic-breako ... -se-228307

and they dont cange 5v to 3.3v !? what is right ?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: How to connect Pi to PN532 NFC/RFID shield controller

Post by adafruit_support_rick »

I've never done it, and I don't know anybody who has. I think I'd follow the MoblieFish tutorial if I were you.

akcsachsen
 
Posts: 5
Joined: Sat Jan 11, 2014 1:04 pm

Re: How to connect Pi to PN532 NFC/RFID shield controller

Post by akcsachsen »

ok, so i will order the crius and use the tutorial.

if you want, i can public some photos when i finished it ;-)

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: How to connect Pi to PN532 NFC/RFID shield controller

Post by adafruit_support_rick »

That would be great! Thanks!

User avatar
jorgetonfat
 
Posts: 1
Joined: Mon Feb 24, 2014 12:45 pm

Re: How to connect Pi to PN532 NFC/RFID shield controller

Post by jorgetonfat »

Hello,
I would like also to connect my R-pi to the NFC shield PN532. But as you mention, the NFC shield is 5v compatible. So I'm planning to use a 74HC4050 for the Tx pin of the shield, so my R-pi receives 3.3V signal.
But for the Rx pin of the NFC shield, i´m planning to connect directly the Tx pin of my R-pi. Is this correct?
Thank you

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: How to connect Pi to PN532 NFC/RFID shield controller

Post by adafruit_support_rick »

Yes, that will work

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”