Hi!
I have been having problems with my Ethernet shield which I got from RS Components here:
http://au.rs-online.com/web/p/processor-microcontroller-development-kits/8732285/+
The problem is that when I upload the Web Server sketch to my shield, which is stacked on top of my Arduino Uno, all that comes up on the Serial Monitor is:
server is at 10.0.0.139
and when I go to that ip address, my browser says it can't reach the page.
I have only made two modifications to the program, the MAC address which I have changed to the one on the sticker on the bottom of the shield, and the ip address to 10.0.0.139 as my computer's ip is 10.0.0.101
I have used this code in another post and it turned out fine:
SurferTim:
Then try this code. It checks the SPI side of the w5200. If the serial monitor shows 192.168.0.2, then the SPI side is working. If it shows anything else, the SPI side has failed.#include <SPI.h>
#include <EthernetV2_0.h>
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192,168,0,2);
void setup() {
Serial.begin(9600);
// disable SD card if one in the slot
pinMode(4,OUTPUT);
digitalWrite(4,HIGH);
Serial.println("Starting w5200");
Ethernet.begin(mac,ip);
Serial.println(Ethernet.localIP());
}
void loop() {
}
I hope someone can help me so if you need extra information about the problem, please let me know!
Thanks!