Hello all,
I read that the status LED on the Duemilanove Arduino Board is connected to the DigitalPIN 13. If I connect a LED to it, it blinks with a simple program like this:
void setup(){
pinMode(13, OUTPUT)
}
void loop(){
digitalWrite(13, HIGH);
delay(500);
digitalWrite (13, LOW);
delay(500);
}
However, if I connect the NFC Shield to the Arduino board, and connect the LED on the same pins (13 and GND), the Shield does not work anymore.
Using the code on this page (seeedstudio.com/wiki/NFC_Shield ), I get “Didn’t find PN53x board”.
Why does the board fail to work when a LED is connected to PIN 13? The Shield is detected when the LED is disconnected.
schmron
February 25, 2012, 12:55pm
#2
NFC Shield uses SPI (Pin 10-13).
If you use pin 13 for a LED, SPI cant work…
If the Arduino Shield uses SPI (Pins 10-13), then there is not much I can do with the board.
Of the simple things I want to do is display some Welcome information on an LCD screen with an RFID tag is brought to the Shield.
Most LCD 16*2 displays use 6 or more pins from Arduino (including pins 10 - 13).
A Google search led to this (arduino.cc/playground/Code/LCD3wires ) where I can use three PINS.
However, the PINs used in this minimalistic configuration use PINs 10-13.
Does SPI will make a lot of simple task difficult.
What work-around exists?
Thank you.
schmron
February 25, 2012, 3:54pm
#4
If you use a normal LCD you can use all Arduino pins for communication. Just change the pins in the source code.
For example use a Serial LCD
seeedstudio.com/depot/grove- … th=163_164
or
I2C Oled Display
seeedstudio.com/depot/grove- … th=163_167
Jonas
March 26, 2012, 4:11pm
#5
Hi shailensobhee,
do you have the same problem, when you only connect your Arduino Board with the NFC Shield ? (I’am having such a problem )