PN532 change default pins (MOSI,SS,etc.)

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

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
guglio
 
Posts: 20
Joined: Wed Sep 24, 2014 3:35 am

PN532 change default pins (MOSI,SS,etc.)

Post by guglio »

Hi,
I'm playing with the nfc shield with arduino mega, and I need to change the default pins. I followed the tutorial, and cut the trace from IRQ to pin 2, and everything is working just fine. Now I'm adding the data-logger shield, and the project is taller, so I want to de-attach the nfc shield and wire directly to the mega (using the pin from 22 to 53), and I need to change the corresponding pin number (MOSI, SS, etc.). It's possible to do something like in the tutorial, with all the other pins?If it's possible, how I could accomplish that?

Thanks in advance. :D

User avatar
guglio
 
Posts: 20
Joined: Wed Sep 24, 2014 3:35 am

Re: PN532 change default pins (MOSI,SS,etc.)

Post by guglio »

Ok, I just figure it out that SDA and SCL can't be changed. But, for the reset pin (4), what trace I have to cut, if I had to?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: PN532 change default pins (MOSI,SS,etc.)

Post by adafruit_support_mike »

This page has Arduino compatibility information and pin mappings: https://learn.adafruit.com/adafruit-shi ... ility/rfid

User avatar
Orcanbull
 
Posts: 8
Joined: Mon Mar 16, 2015 4:28 am

Re: PN532 change default pins (MOSI,SS,etc.)

Post by Orcanbull »

Hey guglio,

The easiest thing for you to do, is just connect wires too the corresponding pins on the shield.
This safes a lot of trouble and you don't accidentally cut a wrong trace.
The other option is to use the breakout board.

Kind regards,
Ralf

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”