Hi friends.
I am a newbie to Arduino . But I had worked with logic circuit hardware a lot . I Have got the Arduino uno board and the Arduino shield board from ebay.I want to learn it as it is new to me.
I first tested the Arduino uno board and every examples worked perfectly.Now that I tried to stack the Arduino shield on top to try it I found the output of all the pins are not working.I tried it a very simple way that is I used the example Blink to test the board , all that I do is to change the led number to 02 instead of led 13 and I put a resistor (220ohm) series with a led plug it into the ground and the output 02 and make sure the positive and negative is correctly but it just didn't blink at all.
I did tested this method only with the Arduino board and it worked without any problem.But not when it with the shield on top. I tried to removed the little capacitor close to the reset button of the shield board but no help and I even tried to bent the reset leg of the shield board to make no contact with the Arduino uno board it also didn't help.
My shield is working with all the Ethernet example like Dhcp address printerand Webserver so it is kind of normal the only problem is it wont make any output to the output pins. Did I missed anything can someone help me with that I've been trying these for days just didn't get a clue.Thanks in advance for any help.
Can someone give me some hints please ?
Pins 10, 11, 12, and 13 are used for SPI communication with the Ethernet shield so you should not use those for any other purpose while you're using the shield. Other than that all the other IO pins just pass straight through the shield and are not connected to anything on the shield. Please try the blink sketch on a pin other than 10-13 and post your result.
Thanks for the reply.
No I didn't use the pin 13 as output .The original blinks is using it on the board and I thought it is the one on the board with the L marked beside it . All I did was changed the number 13 to 02 .As what I said I tried it with the Arduino uno board alone it worked ( my led blink in that location ) But when I tested it with the Arduino shield stacked on the board then it wouldn't work. Did I mention it clear sorry for my English might not be that good.
You English is great, my reading comprehension not so much. Sorry about that I should have read your post more carefully. Try this:
- Upload the following sketch:
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("hello");
delay(1000);
}
- Tools > Serial Monitor
- Select 9600 baud from the menu on the bottom right corner of the Serial Monitor window.
You should see the word "hello" repeated every second. If this isn't happening please test with the shield removed to make sure it works with the Uno alone. This would give more evidence that the shield may be causing the Arduino to not run at all, rather than there being a problem with the connections to the headers on the shield.
pert:
You English is great, my reading comprehension not so much. Sorry about that I should have read your post more carefully. Try this:
- Upload the following sketch:
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("hello");
delay(1000);
}
- Tools > Serial Monitor - Select 9600 baud from the menu on the bottom right corner of the Serial Monitor window. You should see the word "hello" repeated every second. If this isn't happening please test with the shield removed to make sure it works with the Uno alone. This would give more evidence that the shield may be causing the Arduino to not run at all, rather than there being a problem with the connections to the headers on the shield.
It worked good with your code withe the Uno board alone and worked even with the Ethernet board stacked on it . What my problem is my digital output is not working when I assigned to led 02 it won't work. Why ?
dongvihuynh:
It worked good with your code withe the Uno board alone and worked even with the Ethernet board stacked on it . What my problem is my digital output is not working when I assigned to led 02 it won't work. Why ?
To add a little detail ,I found my Arduino board when it worked alone the led marked L is lite up as soon as I stacked my ethernet shield board on top of it then I don't see it lit up any more is that going to tell you something ?
dongvihuynh:
To add a little detail ,I found my Arduino board when it worked alone the led marked L is lite up as soon as I stacked my ethernet shield board on top of it then I don't see it lit up any more is that going to tell you something ?
Can anyone get some more help for me please ?
Is there anymore solutions for me ? Please help.