Go Down

Topic: Arduino + Arduino Ethernet Shield + NFC Shield (Read 1 time) previous topic - next topic

I'm new in this field, please make replies to me as a beginner :),
I have a problem in connecting these three items together at the same time (Arduino UNO R3 + Arduino Ethernet Shield v.5 + NFC Shield v.1)

When i put the in the following order Arduino >> Ethernet >> NFC , the Ethernet works fine, but the NFC is not working
When i put the in the following order Arduino >> NFC >> Ethernet , the NFC works fine, but the Ethernet is not working

which means that the shield with the direct connection to the arduino board works fine, and the other one doesn't work
Please I need advice on how to connect them, and a sample code will be highly appreciated

I know The Ethernet Shield needs to be connected directly to the UNO because it uses the 2x3 ICSP header for its SPI connection, but i don't know the difference between SPI and I2C, will it make difference in the coding?
please tell me what to do, and if there is a step by step guide will be perfect,

Till now, i connected the Arduino then i put on it the ethernet shield and finally i put on the top the NFC shield,
what next should be done??? I tried an example in the Adafruit_NFCShield_I2C Libirary, but it didn't recognize the NFC shield. please tell me where is the mistake or what is missing with me?

Regards

PaulS

Does the NFC shield have an ICSP connector, too? Post links to both of your shields.

What pin does the NFC shield claim as the slave select pin? Or is it not an SPI shield? If it is, why are you asking about I2C?

What code are you trying to use? What serial output are you getting?

below is the NFC Shield:
http://www.seeedstudio.com/depot/nfc-shield-p-916.html?cPath=132_134

below is the Arduino Ethernet Shield
http://arduino.cc/en/uploads/Main/ArduinoEthernetShieldV3.jpg

I don't know What pin does the NFC shield claim as the slave select pin, from where can i get the answer of this Question?

Code: readMifare Example in the following link
https://github.com/adafruit/Adafruit_NFCShield_I2C

Serial Output:
"Hello!"
"Didn't find PN53x board"

is this answers for all your Questions?

PaulS

Quote
I don't know What pin does the NFC shield claim as the slave select pin, from where can i get the answer of this Question?

From:
http://www.seeedstudio.com/wiki/NFC_Shield_V2.0
Quote
Pins usage on Arduino:

D10 : SPI chip select
D11 : SPI MOSI pin
D12: SPI MISO pin
D13: SPI serial clock pin

The Ethernet shield is also using pin 10 as the chip select pin. This makes the two shields incompatible.

However, the seeedstudio wiki links to a library, and in the library there is a note that V2.0 of the shield supports using pin 9 as the chip select pin. The pin to use as the chip select pin is an argument to the constructor.

Go Up