I am trying to send over my code to my Arduino Ethernet board via the Adafruit FTDI friend. I am using the 1.0.4 version of the IDE and have the following settings:
Tools -> Board -> Arduino Ethernet Tools -> Serial Port -> COM 3
The sketch is sent over to the board without problems or errors... however I am unable to see the IP of the board when i check my "attached devices" in my routers settings menu.
Here is a snip of the code I used:
byte ip[] = { 192, 168, 9, 199 }; //Manual setup only
byte gateway[] = { 192, 168, 9, 1 }; //Manual setup only
byte subnet[] = { 255, 255, 255, 0 }; //Manual setup only
// if need to change the MAC address (Very Rare)
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
EthernetServer server = EthernetServer(199); //port 199
void setup(){
Serial.begin(9600);
//Pins 10,11,12 & 13 are used by the ethernet shield
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
//Ethernet.begin(mac);
Ethernet.begin(mac, ip, gateway, subnet); //for manual setup
server.begin();
Serial.println(Ethernet.localIP());
}
Here is a screen shot of the router settings:
And this is my Arduino ethernet hookup:
What could I be missing?
ping <ip here>
. For example:ping 192.168.9.199
. \$\endgroup\$