Arduino Forum

Using Arduino => Networking, Protocols, and Devices => Topic started by: oldnick on Nov 13, 2012, 12:31 am

Title: ethernet shield w5100 problem
Post by: oldnick on Nov 13, 2012, 12:31 am
Hello to all crazy-fans of arduino world

That is my first post...
I am playing with arduino 2 weeks so please forgive me for any stupid questions.
I have the arduino uno R3 and I have a strange problem with the Ethernet shield w5100

I using the example code of webserver from IDE.
When I power the arduino up for the first time(power via USB) everything works perfect.But if I disconnect the USB and connect it again the Ethernet stop working.
The leb link is always on and all the other LEDs off.If I leave it for 10 minutes with out power and then power it up it ok.
I connect it to my Ethernet port of my laptop.

Please advice.
Do you think it is a hardware problem or something else.

Thanks
Oldnick
Title: Re: ethernet shield w5100 problem
Post by: pylon on Nov 13, 2012, 01:49 am
Do you use the original Arduino Ethernet Shield? If yes, which revision (you'll find the revision number on the back side of the board "Ethernet Rx" where x is the number).
If not, provide a link to the shield you're using, there lots of them out in the wild.
Title: Re: ethernet shield w5100 problem
Post by: zoomkat on Nov 13, 2012, 04:33 am
Some info from the past:

http://arduino.cc/forum/index.php/topic,40198.msg294284.html#msg294284
http://marco.guardigli.it/2010/11/arduino-wiznet-ethernet-shield-proper.html
Title: Re: ethernet shield w5100 problem
Post by: oldnick on Nov 13, 2012, 01:56 pm
My ethernet shield is not the original.I bought from ebay and it is the
http://www.ebay.com/itm/Ethernet-Shield-W5100-For-Arduino-UNO-mega-2560-EKitsZone-UNO-/170892514760?ssPageName=ADME:L:OC:GB:3160
Title: Re: ethernet shield w5100 problem
Post by: pylon on Nov 13, 2012, 03:08 pm
We had a similar thread with these cheap Chinese copies. There the problem was in the ICSP connector that was too short to reach the underlying Arduino. Resoldering it a bit lower solved the problem for the guys there. Can you check that?
Title: Re: ethernet shield w5100 problem
Post by: oldnick on Nov 17, 2012, 09:34 pm
My friend pylon the ICSP connector did not solve my problem.


The ethernet shield does not start network operations after power-up. It does not work if the reset button is pressed.

Please any useful help
Thanks
Oldnick
Title: Re: ethernet shield w5100 problem
Post by: zoomkat on Nov 17, 2012, 09:43 pm
Quote
I using the example code of webserver from IDE. When I power the arduino up for the first time(power via USB) everything works perfect


That pretty much eliminates cheap clone issues.

Quote
I connect it to my Ethernet port of my laptop.


Have you tried connecting the arduino to a router instead to see if there are the same issues? The laptop connection is a wild card, and may be where your problem is.
Title: Re: ethernet shield w5100 problem
Post by: oldnick on Nov 17, 2012, 10:19 pm
Zoomkat
I have already connect to a router with the same results.

You think that it is a hardware problem?
Thank
Oldnick
Title: Re: ethernet shield w5100 problem
Post by: SurferTim on Nov 17, 2012, 10:40 pm
Do you have a memory card in the shield's SD slot?
Title: Re: ethernet shield w5100 problem
Post by: oldnick on Nov 17, 2012, 10:53 pm
No I do not use the microsd slot of the ethernet shield.
Title: Re: ethernet shield w5100 problem
Post by: SurferTim on Nov 17, 2012, 11:00 pm
OK, then try this server code.
http://www.arduino.cc/playground/Code/WebServerST
If that does the same, then it may be a hardware related problem. Mine does fine after being unplugged for a few seconds. I've noticed really short power interruptions (< 1second) can cause glitches.

edit: Does the ethernet shield reset ok when you open the serial monitor?
Title: Re: ethernet shield w5100 problem
Post by: oldnick on Nov 17, 2012, 11:31 pm
Dear SurferTim,

The server code in the link does not solve my problem.....

After reseting the shield the serial port works great BUT not the ethernet

Oldnick
Title: Re: ethernet shield w5100 problem
Post by: zoomkat on Nov 18, 2012, 12:44 am
Perhaps it is time for you to post the code you are using. The fact that you said the ethernet card will work as expected under a certain condition should eliminate a hardware issue with the ethernet card itself. The hardware part you control (wiring, type of connection, etc), what you are connecting the card to, and your code would be the suspect areas for issues.