hello friends .... I'm trying to set these three Arduino and I could not make it work ...... I found examples that are similar to what I need .... the truth is not what else to do .... .
I need help ...
nfc is the Seeedstudio v2, and Arduino Ethernet Shield
The ICSP pins are the secret. You must feed the ICSP pins through to the upper shield. You must also change the slave select on the NFC shield to D9.
hello SurferTim, change in the NFC shield the D9, and weld ss, but I can not make work the NFC and Ethernet.
also realize wiring and does not work ....
check a forum where aid to solve the problem ..... but I can not apply it to what I intend to do
I do not know what to do ....
in the forum using Arduino Uno .... and comparing it with the pins for isp leonardo they are different for both plates ...
if not why it will not work
I presume you have the ethernet shield connected to the Leonardo and the NFC shield on top of it. If so, did you change the ICSP socket on the ethernet shield shield so the ICSP pins insert into the ICSP socket on the NFC shield? The ICSP pins are the SPI data pins on the Leonardo. If not, the upper shield will not work.
I hope I've understood ...
SurferTim're right, so I have it configured, but then what are the isp pins on the leonardo .....
reviewing the feature of leonardo, I found that no isp pins connected to digital I / O pins ....
as I can configure the NFC if the Ethernet is occupying the pin ICSP
SurferTim thanks for responding
Unfortunately, the ethernet shield, and most other shields, have the ICSP pins cut off too short to connect to a shield above it. I think that is bad design.
If you want to connect a shield above the ethernet shield that uses SPI on a Leonardo, you must replace the ICSP socket on the ethernet shield with one that extends far enough to connect to the shield above it.
I don't know where to get it by itself, but it is part of a header kit from Adafruit.
Male header pins, or a socket?
CrossRoads:
Male header pins, or a socket?
A socket. Like the pic on the Adafruit page. Do you know where to get them? I'm not even sure what they are called.
With long pins? Samtec. SSQ-103-03-L-D, or SSQ-103-04-L-D for longer pins.
Thanks, CrossRoads! It would be SSQ-103-04-L-D. .584" pins. I'm sure I'll need something like that someday.
They are quite long, for sure. Can trim them down if needed.
thanks for the comments CrossRoads and SurferTim
not if it is possible to weld a wire to atmega32u4 output pin to pin I / O to connect the NFC
or is it better to change the leonardo for Arduino Uno, which already has these pins
@CrossRoads: I think the long pins are the correct size.
@john77: It isn't the ICSP pins on the Leonardo you need to extend. It is the pins on the ethernet shield.
SurferTim, I'm trying another configuration, connect leonardo, NFC and over Ethernet.
It does not work ... can not understand
In that configuration, the NFC may work, but the ethernet shield won't. You would need to insure the ICSP pins from the lower shield connect to the ICSP socket on the upper shield.
SurferTim ok, I understand. configure it so that the NFC have long ISCP pin ... use this shield NFC NFC Shield V2.0 | Seeed Studio Wiki
with that configuration should work.
thanks SurferTim
That shield does not appear to have long pins. They do not stick up far enough.
Take a look at this proto shield. Note how the ICSP pins stick up from the top of the board. One of your shields needs that.
SurferTim, sorry to dwell on the subject ... no way to send a picture of stacked shields .... to give you an idea of how I connected ....