Go Down

Topic: Ethernet shield on UNO. (Read 41 times) previous topic - next topic


Please I need some assistance. I am new to Arduino and just cant make the Ethernet Shield to give me an IP address within my Gateway range.

Subtnet =
Gateway =

This PC has = assign by the router via DHCP.

I am using the Webserver, created 18 Dec 2009 by David A. Mellis, modified 9 Apr 2012, by Tom Igoe.

The modifications that I have made trying to assign an IP address are as follows:

  byte mac[] = { 0x00, 0x20, 0x4A, 0x93, 0x8D, 0x2D };
  IPAddress ip(192,168,1,99);

 pinMode(4, OUTPUT);
 digitalWrite(4, HIGH);

No change:
  // start the Ethernet connection and the server:
  Ethernet.begin(mac , ip);
  Serial.print("server is at ");


It returns an IP address outside of my range: server is at , which I cant even PING.

I know that my router provides DHCP and it works because I can see it assigning new IP to other devices at home.

I have read many other posts and have tried the advices, but to no avail.

I am using UNO R3, and the Ethernet Shield is from Seeds.. Both purchased at RadioShack.

Any suggestion are welcomed please.


fixed by using #include <EthernetV2_0.h>

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131