New user and WizNet

I just got my first Arduino Duemilanove and I want to try using an Ethernet shield. I built the Ethernet shield for the WizNet WIZ811MJ and am using the Ethernet sketch I found on in the Playground:
http://www.arduino.cc/playground/Code/WebServer

I changed the IP in the sketch to an unused IP on the same subnet as I use in my house. I have a laptop (Win XP) connected to a wireless router. I uploaded the sketch to arduini via USB; I saw the TX and RX lights flash, so I think it uploaded okay. I plugged the Wiznet into my ethernet port on my laptop and in Firefox went to the IP I setup in the sketch. I got a connection timed out error. Next I plugged the WizNet into my wireless router, and again tried to go to the IP, but I got the same error. I tried to ping the WizNet from the dos prompt, that timed out also. Any suggestions on how to debug this?

--Scott

Hi, Scott.
I tried myself that sketch too, and works well.

About debugging:

  • on my Ethernet shield FULLD, LINK, 100M LEDs are on
  • at least LINK LED must be on in order to have link :wink: If not, check cable

Otherwise no errors during compiling?

Regards,
thenoble66

I am using Wiznet and the only LEDs I see are the green and amber ones next to the Ethernet jack. When I plug in my Ethernet cable the green LED blinks a little and the amber LED is off.

Are you plugging the Ethernet shield into your computer or a router? Are you able to ping the Ethernet shield? I don't know if WizNet supports ping.

--Scott

When I plug in my Ethernet cable the green LED blinks a little and the amber LED is off.

It tries to connect, but it means NO LINK. Check your UTP cable.

Are you plugging the Ethernet shield into your computer or a router?

I tried the shield with a router.

Are you able to ping the Ethernet shield? I don't know if WizNet supports ping.

Yes, it supports ping and responds well, under 1ms.

BTW: my home network is configured with IP addresses 192.168.0.XXX/24, so it was a good reason for Ethernet shield to have IP address 192.168.0.177. Check your code accordingly.

Regards,
thenoble66

Try resetting the board with the reset button on the ethernet shield. I have to do this sometimes to get the shield to light the link and other led's on the board.

If the link LED isn't lit - nothing will work, so start there.

I got it working. I had missed the step to solder a jumper between the Reset pin of the module to the Reset line of the Arduino. Any idea what this jumper is doing? I would have expected that when I first power up I don't need any reset, but apparently I do.

--Scott

On my Ethernet shield's schematic the RESET line is floating, if not connected to Arduino's RESET. That floating state is something uncertain, that was indeed a strong reason to not let it run.

Good job.

Regards,
thenoble66